From owner-freebsd-questions Fri Nov 29 12: 7:18 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 E633837B401 for ; Fri, 29 Nov 2002 12:07:16 -0800 (PST) Received: from blueyonder.co.uk (pcow035o.blueyonder.co.uk [195.188.53.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8863043E9C for ; Fri, 29 Nov 2002 12:07:10 -0800 (PST) (envelope-from freebsd@gdmckee.com) Received: from pcow035o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Fri, 29 Nov 2002 20:07:06 +0000 Received: from gdmckee.local (unverified [62.30.47.46]) by pcow035o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id for ; Fri, 29 Nov 2002 20:07:06 +0000 Received: from [192.168.0.200] (helo=p1000) by gdmckee.local with smtp (Exim 3.36 #1) id 18HrPY-000Evg-00 for freebsd-questions@freebsd.org; Fri, 29 Nov 2002 20:06:52 +0000 Message-ID: <00a901c297e2$e85876f0$c800a8c0@p1000> From: "G D McKee" To: "Freebsd-Questions@Freebsd. Org (E-mail)" Subject: IPFW + NATD with redirect_port Date: Fri, 29 Nov 2002 20:07:13 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Hi I want to redirect incoming ssh packet to another box internally. I have got the following as my /etc/natd.conf dynamic yes log_denied yes use_sockets yes same_ports yes unregistered_only redirect_port tcp 192.168.0.200:22 4455 When I try to ssh to port 4455 I get nothing - I have ipfw running - do I need any specific rules to get this working. I have tried "${fwcmd} add pass log tcp from any to any 22 in via ${oif} setup" but it doesn't seem to work. Thanks all Gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message