forwarding ssh

David Banning david at skytracker.ca
Sat Aug 7 21:54:33 UTC 2010


I presently am using Putty and X-Win32 and I am connecting to a remote
machine successfully.

I now need to connect using SSH over the internet -through- one machine,
but have my SSH with a second machine on the same site - something like
so;

ssh-site1 --(internet)---> site2-(also 192.168.1.1)--> loc2-(192.168.1.50)

I need to bridge the connection from 192.168.1.1 to 192.168.1.50
so I've tried in ipnat;

rdr tun0 0/0 port 22 -> 192.168.1.50 port 22

which does not appear to work, but I am not that familiar with ipnat - I
use it to forward port 80 through squid but otherwise have not used it.

I wonder if anyone could give me some direction.



More information about the freebsd-questions mailing list