[Cialug] Port Forwarding

L. V. Lammert lvl at omnitec.net
Fri Oct 25 14:12:02 CDT 2013


Ran into an interesting problem today, .. on BSD and CentOS 5.4, when a
reverse SSH tunnel is setup it binds to all IPs on the host:

tcp          0      0  *.2210         *.*   LISTEN
tcp6         0      0  *.2210         *.*   LISTEN

With a more modern Linux, the *SAME* command binds to 127.0.0.1 ONLY:

tcp        0      0 127.0.0.1:2205          0.0.0.0:*               LISTEN
tcp        0      0 ::1:2205                :::*                    LISTEN

What must be done on a modern Linux kernel so that incoming connections
can also use the port? Can't figure out how to Duck for the problem, ..

	Thanks!

	Lee


More information about the Cialug mailing list