[GRLUG] CentOS IP Weirdness
Dave Chiodo
megadave at gmail.com
Wed Mar 13 14:41:29 EDT 2013
Ok, wait.. I'm bit fuzzy on what the setup is.
You are trying to connect to the LOCAL end of a forwarded port? If so,
what it listens on will be controlled by the arguments you give ssh.
This might be simpler to sort out if you show the actual commands you
are using to setup this tunnel (redact specific IP's if desired)
On Wed, Mar 13, 2013 at 2:03 PM, L. V. Lammert <lvl at omnitec.net> wrote:
> On Wed, 13 Mar 2013, Dave Chiodo wrote:
>
>> sshd might only be listening on specific IP's. If the machine has
>> multiple IP's, and some were configured "on the fly" after services
>> were started, unless SSH was restarted afterwards it my not bind the
>> new IPs.
>>
> Not using sshd on the machine with port 2205 open, .. sshd is on the other
> end of the tunnel (port 2206, which does work properly). Unless I am
> missing the point?
>
>> Its also possible its specifically configured to listen only on specific IPs.
>>
>> run this on the machine in question to see what its listening to:
>>
>> netstat -tan | grep LISTEN | grep :2205
>>
> It *does* only show localhost:
>
> tcp 0 0 127.0.0.1:2205 0.0.0.0:* LISTEN
> tcp 0 0 ::1:2205 :::* LISTEN
>
> Why would it not bind to the IP used in the connect?
>
> Thanks!!
>
> Lee
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list