From owner-freebsd-questions@FreeBSD.ORG Sat Aug 7 21:54:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0F0106566B for ; Sat, 7 Aug 2010 21:54:33 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 46A068FC08 for ; Sat, 7 Aug 2010 21:54:32 +0000 (UTC) Received: from sq.3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.8/8.13.8) with ESMTP id o77LNAgB072936 for ; Sat, 7 Aug 2010 17:23:10 -0400 (EDT) (envelope-from david@skytracker.ca) Received: from 192.168.1.10 (SquirrelMail authenticated user david) by sq.3s1.com with HTTP; Sat, 7 Aug 2010 17:23:10 -0400 (EDT) Message-ID: <8cb14ab2da609fa44d278cee5ce5c737.squirrel@sq.3s1.com> Date: Sat, 7 Aug 2010 17:23:10 -0400 (EDT) From: "David Banning" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: forwarding ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2010 21:54:33 -0000 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.