[Cialug] CentOS IP Weirdness
L. V. Lammert
lvl at omnitec.net
Wed Mar 13 13:01:55 CDT 2013
On Wed, 13 Mar 2013, Barry Von Ahsen wrote:
> is the tunnel port bound to localhost:2205 or to <local ip>:2205?
>
The tunnel was created with:
ssh -f -n -N -R 2205:127.0.0.1:2206 lvl at 192.168.253.52
> but the same setup works on a non-Centos box? does the working box
> have multiple interfaces? does the non-working (this Centos box) have
> multiple?
>
Actually, I just tested on another machine - same problem:
# ssh localhost -p 2205
The authenticity of host '[localhost]:2205 ([::1]:2205)' can't be
established.
ECDSA key fingerprint is 99:ff:ea:83:b4:5f:bf:79:13:6f:75:83:0e:16:fe:d2.
Are you sure you want to continue connecting (yes/no)? ^C
# ssh 192.168.253.52 -p 2205
ssh: connect to host 192.168.253.52 port 2205: Connection refused
It looks like the tunnel binds only to localhost, which could be the
problem:
tcp 0 0 127.0.0.1:2205 0.0.0.0:* LISTEN
tcp 0 0 ::1:2205 :::* LISTEN
How would one bind it to *all* ports? This test machine is SuSE, and I
have opened 2205 in the firewall.
Thanks!
Lee
More information about the Cialug
mailing list