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
1 view

How can I publish the IP addresses of Docker containers as local hosts?

I have a CoreOS server with a few Docker containers. (Right now I'm using local systemd unit files to run the containers, I have yet to approach fleetd.) What is the best way to connect to the (non ...
0
votes
0answers
25 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
40 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 ...
0
votes
1answer
42 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
42 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
19 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
1answer
35 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
2answers
61 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
0answers
39 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
48 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
38 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
142 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 ...
2
votes
1answer
73 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 ...
0
votes
1answer
86 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
220 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
89 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
70 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
46 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
29 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
1
vote
0answers
37 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. ...
1
vote
0answers
124 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 ...
0
votes
0answers
10 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
135 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 ...
1
vote
1answer
51 views

Remotely connect to computer when connection partly fails

I have a Debian computer acting as a server at home. It has a dovecot+postfix mail server, an SSH server, an apache server, and everything you would expect from a do-everything server. At home, it is ...
0
votes
0answers
56 views

Unable to connect the Ubuntu EC2 instance to VPC LAN on AWS using secondary NIC adapter?

Infrastructure setup: VPC is created with 192.168.254.0/24 netwok Private subnet within VPC (Virtual Private Cloud) is created with 192.168.254.0/25 network Public subnet within the VPC is created ...
1
vote
2answers
299 views

Have SSH on port 80 or 443 while webserver (nginx) is running on these ports

I have a remote Linux (Debian) machine which I'd like to access from a very restricted network. In fact the only two open ports are port 80 (for HTTP) and 443 (HTTPS). On this machine I have nginx ...
0
votes
1answer
112 views

Lightwight MTA which could listen on localhost port

I have multiple Ubuntu servers with Java applications running on it. One of the application's functions is to sent an email. Now we using exim4 as the MTA. I would like to replace exim with something ...
0
votes
0answers
155 views

How to troubleshoot: “X11 connection uses different authentication protocol.”

I start an ssh session with localbox % ssh -vvv -Y remotebox 2>debug_ssh_log ...which succeeds. Then I try to run xlogo on remotebox, but the command fails immediately, and the following lines ...
1
vote
0answers
288 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
1
vote
1answer
49 views

Forward every port depending on domain

A friend and I are doing some little webhosting for us. Currently all the pages are running on one Server via Apache2's virtual hosts. Know we wanna make single servers for each site with ssh-access, ...
1
vote
1answer
97 views

Can I forward all traffic on a port to a complete different IP address?

Here's my situation. I own a VPS that provides 3 public IPs / public interfaces. let's call these IP address V1 (on eth1), V2(on eth2) and V3 (on eth3) At home, I have a router. The home WAN IP is H. ...
0
votes
0answers
63 views

Port forwarding Configuration for Webcam

I have a webcam which is streaming via mjpg-streamer on http://localhoste:8121/?action=stream. Now, I'm wishing to access the camera from outside. I'm using an DDNS system and now I have a domain name ...
0
votes
1answer
66 views

SSH Port Forwarding [duplicate]

I'm trying to set up an ssh port forwarding from my router to my linux host. I'm using the dynamic dns service from http://www.dnsexit.com. I'm using their subdomain and I have already installed the ...
0
votes
1answer
167 views

Specifying a random monitoring port with autossh

I have many reverse ssh tunnels and because monitoring ports can't be reused, I am trying to find a free random port for monitoring. Meanwhile I specified -M 0 and the forwards work great and in ...
0
votes
1answer
317 views

How does a cisco device know if I'm connecting via telnet or ssh?

I'm experiencing strange behavior with a Cisco UC520 router. When I am directly connected to the router and telnet to it using this: telnet 192.168.1.1 23 Then I get a successful login prompt: ...
2
votes
1answer
95 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
10 views

Bind address forwarding in Lighty

I have a question not sure is it possible or not, if possible then how ? I have a Lighty running on a Linux system and is bind to localhost only on port 80. I have another web site written in Node ...
1
vote
0answers
65 views

What is the point of the second route lookup after OUTPUT?

According to the packet path diagram, and its description: Table 6-2. Source local host (our own machine) [...] Routing decision, since the previous mangle and nat changes may have ...
2
votes
1answer
559 views

Forwarding packets from loopback interface with policy-based routing

I have the following iptables rule: iptables -t mangle -A PREROUTING -p udp -m udp --dport 10000 -j MARK --set-xmark 0x4/0xffffffff which sets fwmark 4 on all udp packets with destination port ...
1
vote
0answers
296 views

How to forward Remote-Desktop Port across interfaces using ufw?

Machine A has two network interfaces: Network eth0: 10.10.20.0/24 Network wlan0: 192.168.1.145/24 Machine A has 192.168.1.145 as Default Gateway, and also a route to pass 172.16.0.0/16 to ...
6
votes
4answers
1k views

List ports a process PID is listening on (preferably using iproute2 tools)?

I'm looking to list all ports a PID is currently listening on. How would you recommend I get this kind of data about a process? NOTE: I was surprised I could not easily find an answer to this!
1
vote
1answer
214 views

ssh settings `permitopen=“localhost:4000”` does not limit remote port forwarding [duplicate]

I have a special user on my server, let's call it foo. I use it only for port forwarding. The user's .ssh/authorized_keys2 is set up to prevent login and to open only a specific port: ...
1
vote
0answers
42 views

Forcing broswers to use a different host and port when viewing websites over ssh-tunnels

I've setup an ssh tunnel to a network that has a website I need to view. However, when requesting the page my browsers sends the host localhost and url http://localhost:1234 in the HTTP headers. Is ...
0
votes
0answers
107 views

Cannot connect to Solaris Server when Oracle GoldenGate process uses the port

I'm trying to test the Oracle goldengate to replicate data between two databases on the same server. So I installed two databases and two goldengate homes in the same machine. The goldengate ...
0
votes
3answers
1k views

Redirect domains to different ports on same machine

I used the following command to redirect 80 to 3000. All the requests that come, from any domain, are redirected to 3000: sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port ...
2
votes
0answers
189 views

SSH Failing to fork with sshpass

I've a problem with port forwarding command using sshpass. Problem is that it's working on one server and does not work on another. Both are Debian 7 x64 boxes. sshpass -p password ssh -f -D ...
1
vote
1answer
60 views

Unable to access an http sevice forwarded using ssh

I forwarded a port from a remote server (which has Tomcat running on it) to a local port on my machine. Say, if the remote server address is http://myremoteserver.com:8080, I forwarded the port to ...
2
votes
1answer
409 views

In iptables, what is the difference between targets DNAT and REDIRECT?

More specifically, is -A PREROUTING -i $INT -p $PROTO --dport $PORT -j REDIRECT --to-ports $NEWPORT equivalent to one or both of these? -A PREROUTING -i $INT -p $PROTO --dport $PORT -j DNAT ...
2
votes
2answers
277 views

Allow multiple remote connections to an ssh Dynamic forwarded port

Let us assume I have three machines A - Server to which I am sshing to B - Client from which I am sshing C - Another Client in B's subnet Now, I set up dynamic port forwarding for port 1235 by ...
1
vote
1answer
208 views

forwarding not working in iptables from 8006 to 443

My dedicated server was bridged to vmbr0 and it has 2 Ethernet cards eth0 and eth1 its bridged. I have enabled forwarding with net.ipv4.ip_forward=1. I want to redirect the Port 8006 to 443. Now ...