Port Forwarding via SSH - Was: Re: [H-GEN] Static Routing

David Findlay david at davsoft.com.au
Thu Apr 29 09:14:55 EDT 2004


>     ip route add 192.168.4.0/24 via 192.168.6.1
>     ip route add 192.168.4.0/24 dev eth0

Ok that's working. Thanks. 

I've just been fiddling with ssh'ing to a box that sits on a secure LAN and 
has access to an intranet. Is there a way I could use ssh forwarding to allow 
me to browse the intranet at that site from my home machine via ssh? I tried 
the following: ssh -R 80:localhost:8081 root at foo.bar.com but when I 
authenticated it said unable to listen to port 80. What would I have to do to 
get this to work? Thanks,

David




More information about the General mailing list