Port forwarding is a process consisting in the translation of a host:port couple into another host2:port2 couple, both submitted to the same network mask.

learn more… | top users | synonyms

0
votes
0answers
22 views

External port forwarding stop working when VPN is activated

I've a problem with my local Debian server. I use a port forward to allow access from outside my lan to my server. It's works very well but when I activate my VPN (OpenVPN) on my server, the port ...
7
votes
2answers
15k views

Port forward to VPN Client?

I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to ...
2
votes
1answer
745 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
58
votes
15answers
89k views

SSH tunneling error: “channel 1: open failed: administratively prohibited: open failed”

When I open this ssh tunnel: ssh -nXNT -p 22 localhost -L 0.0.0.0:8984:remote:8983 I get this error when trying to access the HTTP server running on localhost:8984: channel 1: open failed: ...
1
vote
1answer
1k views

Double port forwarding - SSH

NOTE: I'm not explaining why I want to do this. But here is the requirement. There are 4 hosts. Host A, Host B, Host C, Host D Host A is running some application which can be accessed at port 8001 ...
4
votes
3answers
1k views

Port fowarding and load balancer in ubuntu server 12.04

I am looking to create a load balancing server. Essentially here is what I want to do: I have a public IP address, lets say 1.1.1.1 I have a second public IP address, lets say 2.2.2.2. I have a ...
0
votes
1answer
56 views

ssh login with a tunnel through intermediate server in a single command?

Is there a way in a single SSH command to login via SSH to a remote server passing through an intermediate server? In essence, I need to create a tunnel to my "bridge server" and via the tunnel to ...
0
votes
1answer
54 views

Possibility to use app in LAN and via Internet

I use web based (https encapsulated) app in my home network and via Internet. The app has dedicated Linux desktop client (I use Mageia ver4 Linux for laptop). Of course server address I have connected ...
1
vote
1answer
45 views

Difference between “local port forwarding” and “dynamic port forwarding”?

I am trying to understand the difference between "local port forwarding" and "dynamic port forwarding". In the ssh command for "local port forwarding", is it always required to specify the ...
1
vote
2answers
104 views

Error when redirecting ports with iptables: No chain/target/match by that name

I am trying to redirect all incoming TCP connections, originally to port 80, to port 8090, because I am running Confluence in 8090 and I want to avoid it running as root, which is a requirement to ...
1
vote
1answer
39 views

How check a port forwarded from localhost to localhost on.. localhost?

I'm learning about iptables, firewalling, routing and so on. I'm on Linux, Centos7, and I've set up a local port forwarding to localhost with: firewall-cmd ...
0
votes
1answer
32 views

Routing server requests using Apache Vhosts?

I have a multiple server setup that I am having difficulty figuring out the best way to solve a problem. I have several domain names that are accessed via a single IP address and served from one ...
5
votes
3answers
2k views

SSH access from inside and outside a LAN using the same terminal command

I have a Raspberry Pi (RPi) and I am making remote connections to it using ssh. I have managed to set up ssh correctly such that I can access the RPi both from a local area network and from the ...
0
votes
1answer
59 views

Forward all traffic from Android to Ubuntu server running privoxy (iptables)

My university has installed a non-transparent restrictive proxy which allows only traffic through 80 and 443 ports. Currently, I have my android phone (Nexus running CM12.1) pointing to my Ubuntu ...
2
votes
1answer
507 views

iptables Port Forwarding — no service with the port

I have setup a network as in the image below: Firewall (FW) running CentOS 6 has two physical interfaces with subinterfaces: eth0:2 — 10.100.1.78/25 eth0:3 — 10.100.1.79/25 eth3 — 192.168.0.21/24 ...
5
votes
1answer
194 views

How can I redirect all UDP traffic from one port to another on BSD / OS X?

On Mac OS X 10.9.5 I am running boot2docker and would like to temporarily forward a non-privileged UDP port 69 to port 69 of the boot2docker virtual machine. Virtualbox only supports forwarding ...
1
vote
0answers
46 views

Remote SSH into raspberry pi [closed]

I wanna setup Open VPN on my Pi, but first I wanted to check whether I can setup my modem and router (DD-WRT ; linux-based firmware) to port forward to my Pi and test SSH to it in the first place. So ...
0
votes
0answers
35 views

Accessing forwarded port via SSL/TLS

I have a Raspberry Pi that sets up an SSH tunnel with my VPS so that I can access several things remotely. My Pi forwards its local port 80 to my VPS's port 3180, so I can access it via ...
2
votes
1answer
34 views

ssh port forwarding without logging in

I am forwarding a port of a remote server to my local mac as follows: ssh -L 15672:localhost:15672 me@example.com When I do this in a shell, I am also logged into example.com. Yet I would like the ...
1
vote
1answer
294 views

How to create reverse dynamic ssh port forwarding

I'm trying to set up an ssh tunnel layout where: client A (not ssh-server enabled) initiates ssh connection to server S socks server is opened on server S:yyyy that tunnels all data via client A ...
1
vote
0answers
228 views

Port forwarding with iptables and PIA VPN for single user

I've gotten a Private Internet Access VPN setup on a Mythbuntu 14.04 machine and I am at wits end trying to get port forwarding working with rTorrent (and ruTorrent). My setup is rTorrent running ...
1
vote
1answer
100 views

Why port forwarding does not work in QEMU? [closed]

How to redirect port 5555 of Host OS to port 80 of Guest OS? Host OS: Debian Jessie 64-bit Guest OS: Windows XP SP3 32-bit I'm using the following commands: qemu-system-i386 -enable-kvm \ -name ...
0
votes
0answers
687 views

Fedora 21 Port Forwarding with firewalld (firewall-cmd); how does it REALLY work? Or, does it?

Fedora's ability to forward ports using the apparently "native" networking software, firewalld, appears to continue to be broken beyond credulity. Please note that it hasn't really worked since at ...
1
vote
0answers
103 views

How to create a rule on IPCop firewall for bittorrent trafic to work properly?

I've been trying to use my favourite torrent client (µTorrent) after setting up my IPCop (last update 2.1.9) and it warned me that my router/firewall was blocking the traffic and that I had to open a ...
0
votes
1answer
82 views

Local system doesn't forward to intended port defined in OpenShift proxy app

I've set up a proxy server via OpenShift based on this tutorial and used a few days by forwarding my local system's ports to remote app's ports: $ rhc port-forward AppName The result in the proper ...
0
votes
0answers
66 views

How to forward range ports in my linux server?

Is there any tools to do range port forwarding in my CentOS system? Just like any ports from 8000 to 9000 shoud be forwarded another IP's 8000~9000 respectively. I know it's easy to be done in Router ...
0
votes
0answers
222 views

CentOS as home network router: IPTables Port Forwarding failure

I have currently set up a home server with a CentOS 6.6 installation on it. The server has two NIC interfaces which I'm using it as my router and DHCP server. Here's a diagram showing the network ...
7
votes
3answers
14k views

iptables redirect outside requests to 127.0.0.1

I have a service running on 127.0.0.1 with port 2222. I need to forward all requests to 192.168.2.2:2222 (outside IP) only from subnet 192.168.1.0/24 to 127.0.0.1:2222. I'm trying to use this, but ...
0
votes
1answer
90 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
0
votes
0answers
167 views

Opening a TCP port in Linux

I am trying to establish a TCP socket between my linux server and my client running on my laptop. The TCP server code I am running is, from socket import * HOST = '' PORT = 1999 ...
0
votes
1answer
41 views

SSH Tunneling does it multiplex?

I'm writing an application which will be doing something similar to SSH tunnelling (port forwarding and reverse port forwarding). However, SSH will not be involved at all, hence why I'm not using any ...
0
votes
2answers
221 views

Accessing port 8080 on a server without using port 8080 for my SSH connection

I'm running a program that lets you interact with it in the browser. To do this you run the program and open "localhost:8080" in your browser (if 8080 is the right port). However, I'm running the ...
2
votes
1answer
160 views

Port forwarding for VPN connection

I'm using a public wifi hotspot. Usually when I connect to these, I immediately connect to my college VPN. On this hotspot, only browsing works (no program other than a browser seems to be able to ...
1
vote
1answer
954 views

OpenVPN port forwarding without router forwarding?

I would like to setup an OpenVPN server with port forwarding on my VPS, because I can not forward ports in my home router. The general question is, if it is even possible to bypass router port ...
2
votes
0answers
69 views

How to monitor UPnP communication?

My Computer is connected to router that supports UPnP, however it's not the last router on the way to the WAN. So, mapping there has no effect. I've got VPS and I've made a VPN network (computer ...
2
votes
1answer
172 views

assigning two ports to one service in firewalld

Is there a way to assign two ports to the same service in firewalld? For example, I would like for the SMTP service to listen on both port 25 and port 465. My first instinct is to change ...
0
votes
1answer
118 views

ssh-copy-id different port

i am trying execute ssh-copy-id in one port different than 22 (default). I researched and found the command below $ssh-copy-id -i ~/.ssh/id_rsa.pub "user@192.168.0.1 -p 22001" but, when execute the ...
1
vote
1answer
343 views

forward packets from one interface to another interface using iptables

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
3
votes
4answers
3k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
0
votes
1answer
527 views

Port Forward :80 and :8080 to Two Different Servers

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to ...
0
votes
1answer
438 views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
1
vote
0answers
216 views

Miniupnp thinks my router doesn't support UPnP

I have a IP camera on my network that is truly plug n play. As soon as I plugged the Ethernet cable in, it was accessible from 'the outside', without me having to touch my router's configuration. So I ...
0
votes
1answer
87 views

Ubuntu Server 12.04 vsftpd timeout using external IP

I am having a problem connecting to my Ubuntu 12.04 server with vsftpd using my external IP. Connecting with local IP is successful. I am using FileZilla for the ftp client. I know there is a bunch of ...
1
vote
1answer
76 views

killing tunnels for a user connected with ssh -N

I created a forward only ssh connection with the following: ssh -i id_rsa -o TCPKeepAlive=yes -o ServerAliveInterval=10 \ -N -n -R 127.0.0.12:8888:127.0.0.12:8888 fwduser@192.168.1.201 Mow, ...
0
votes
0answers
30 views

Need help with openvpn with making clients on the Vpn can use ports and people can connect too them with the vpn ip

How do I let clients on my Vpn setup maybe a mine craft server on there computer using the Vpn's IP address
5
votes
2answers
631 views

Why does ssh -g say that address is already in use?

I setup an SSH connection with port forwarding that allows remote hosts to connect to the local forwarded ports like this: ssh -g -L 5115:localhost:5115 <server> The connection works fine ...
1
vote
0answers
62 views

How to access Transmission runing behind a NAT from external PC

I have two PCs at two different places. Ons is behind a firewall I cannot (place X) control and the other is at my home. Transmission has a way of adding/ removing torrents using a web interface. ...
2
votes
1answer
163 views

SSH fork kills connection

I am using a linux script which has the task of forwarding control of the system to remote support. In this script one of the commands is a ssh port forward command that will forward the port of the ...
0
votes
0answers
11 views

SSH tunneling error: “channel 1016:: open failed: administratively prohibited: open failed” [duplicate]

when I use config file in the /home/username/.ssh/config to connect to localhost with ssh, I get the following results: channel 1016: open failed: administratively prohibited: open failed channel ...
1
vote
0answers
230 views

PPTP port forwarding

I have a Debian server (with public IP) and Raspberry-PI at home with ADSL connection. I am running a web server on RP which I want to be accessible from the outside. I have set up PPTP and my RP ...