Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2010 17:23:10 -0400 (EDT)
From:      "David Banning" <david@skytracker.ca>
To:        freebsd-questions@freebsd.org
Subject:   forwarding ssh 
Message-ID:  <8cb14ab2da609fa44d278cee5ce5c737.squirrel@sq.3s1.com>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb14ab2da609fa44d278cee5ce5c737.squirrel>