[Cialug] Port Forwarding

Paul Gray gray at cs.uni.edu
Fri Oct 25 14:27:27 CDT 2013


On 10/25/2013 02:12 PM, L. V. Lammert wrote:
> 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, ..

Knowing the command would be helpful, but it looks like you omitted the
bind interface parameter, so Linux defaults to loopback binding only.


-- 
Paul Gray                                         -o)
314 East Gym, Dept. of Computer Science           /\\
University of Northern Iowa                      _\_V
 Message void if penguin violated ...  Don't mess with the penguin
 No one says, "Hey, I can't read that ASCII attachment ya sent me."


More information about the Cialug mailing list