multi-hop ssh port forwards?

Bill McGonigle bill at bfccomputing.com
Mon Oct 18 12:31:01 EDT 2004


On Oct 18, 2004, at 11:58, Matt Brodeur wrote:

>    Hmmm, WORKSFORME.  I just tested this command:
> ssh -C -x -t -L 8000:localhost:8000 $LOCALSERVER \
> ssh -L 8000:$REMOTESERVER:80 $BASTION
>
>    ...and it works as expected.

oh, cool.  thanks for testing it - that's enormously helpful.

> Your error indicates that one of the
> port redirectors is being blocked.  The most likely one is that your
> bastion host can't access port 80 on the internal host.  Firewall
> rules on the bastion, maybe?  Is the remote server actually listening
> on port 80?

Yeah, everything works in a single-hop scenario. A-B works, B-C, works 
and C-D, works.  So, you're right, something is blocking it.  I'll hunt 
around some more in the server configs to see why that is.  I thought I 
had all the GatewayPorts lines I needed, but it seems like I must have 
missed one.

Thanks,
-Bill
----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Cell: 603.252.2606
http://www.bfccomputing.com/    Text: bill+text at bfccomputing.com




More information about the gnhlug-discuss mailing list