Scenario:

         A------B-----<Internet>-----C-----D

     If I am on B and execute:

ssh C -g -L 6000:D:6000

     Then I can connect to B:6000 from A and reach D:6000

     However, If I am on C and execute:

ssh B -g -R 6000:D:6000

     I should be able to do the same thing: connect to B:6000 from A
and reach D:6000.  However, I cannot.  If I look at netstat -ant on B,
I see:

tcp        0      0 127.0.0.1:6000          0.0.0.0:*               LISTEN      

     The '-g' flag is getting ignore for '-R', but it works for '-L'.
Am I doing something wrong?

--
JFByers: You're talking about a premeditated crime      Jack McKinney
         against the United States government.          [EMAIL PROTECTED]
Frohike: Hey, your second one today.  Welcome to the Dark Side.
1024D/D68F2C07 4096g/38AEF076        http://www.lorentz.com

PGP signature

Reply via email to