From owner-freebsd-questions Fri Nov 15 13: 3:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4EB37B401 for ; Fri, 15 Nov 2002 13:03:17 -0800 (PST) Received: from www.omicnet.com (ip-208-181-72-171.adsl.radiant.net [208.181.72.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B9D43E42 for ; Fri, 15 Nov 2002 13:03:15 -0800 (PST) (envelope-from inspector.us@omicnet.com) Received: from inspectorbox (130-94-160-46-dsl.hevanet.com [130.94.160.46]) by www.omicnet.com (8.9.3/8.9.2) with SMTP id NAA09928; Fri, 15 Nov 2002 13:02:52 -0800 From: "Joshua Lokken" To: "Kevin D. Kinsey, DaleCo, S.P." Cc: Subject: RE: SSH through a firewall Date: Fri, 15 Nov 2002 13:02:53 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <00a001c28cd9$69dfc620$fa00a8c0@DaleCoportable> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kevin, Thanks for your prompt reply. So, I added (to natd_flags in /etc/rc.conf): -redirect_port tcp 10.0.0.2:22 22 My understanding is that this line should tell natd to forward all incoming ssh packets to the desired destination machine (10.0.0.2:22), port 22. The results, however, are not what I'm expecting (no change). Any help? Thanks again. Again, please cc inspector.us@omicnet.com, as the address is not subscribed. Joshua Lokken > -----Original Message----- > From: Kevin D. Kinsey, DaleCo, S.P. [mailto:kdk@daleco.biz] > Sent: Friday, November 15, 2002 11:02 AM > To: Joshua Lokken > Subject: Re: SSH through a firewall > > > I believe you're looking for NAT..... > (Network address translation).... > start with: > > $man natd > > HTH, > > Kevin Kinsey > ----- Original Message ----- > From: "Joshua Lokken" > To: > Sent: Friday, November 15, 2002 12:58 PM > Subject: SSH through a firewall > > > > Hi, folks > > > > I often transfer files to my home machines from work using scp. > Currently, > > if I want to move a file to a machine on my LAN, I first have to > copy the > > file to a user home dir on the gateway box, then recopy it from the > gateway > > to the internal box. How do I avoid this extra step? eg, > > > > 130.94.160.46 ------------------> > 12.225.249.250 --------------------> > > 10.0.0.2 > > (remote machine) (gateway) > > (destination) > > > > I have the proper keys in the proper places and the hosts files are > OK. I > > appreciate any help. Please cc me, as this address is not > subscribed to the > > list. Thanks! > > > > -- > > Best Regards, > > > > Joshua Lokken > > OMIC Portland Branch > > inspector.us@omicnet.com > > 503 807 6538 > > -------------------------> > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message