From owner-freebsd-questions Tue Feb 27 21:10:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp1.mastery.ca (lan12.dzyn.win.mnsi.net [208.28.54.140]) by hub.freebsd.org (Postfix) with ESMTP id A0D2437B718 for ; Tue, 27 Feb 2001 21:10:03 -0800 (PST) (envelope-from rmasse@mastery.ca) Received: from lan4 (dyn216-8-128-251.ADSL.mnsi.net [216.8.128.251]) (authenticated) by comp1.mastery.ca (8.11.1/8.11.1) with ESMTP id f1S5A1L13782 for ; Wed, 28 Feb 2001 00:10:02 -0500 (EST) (envelope-from rmasse@mastery.ca) Message-ID: <006901c0a144$dd8801a0$fd00a8c0@Home> From: "Ryan Masse" To: "FreeBSD-Questions" Subject: ipfw rule Date: Wed, 28 Feb 2001 00:11:09 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to port forward from the oif to that of an internal address. I've read 'man ipfw' and man 'natd' and came up with the following: ipfw add 20 fwd 192.168.0.2,80 tcp from any to 192.168.0.1 80 192.168.0.1 being the oif As a test i'm trying to access a page via httpd from the internal box from the addy 192.168.0.1 Can anyone help me with my syntax or propose a better solution? Thanks, Ryan Masse IT / Authoring Tech Mastery Group of Canada, Inc. Rmasse@mastery.ca http://www.masterycanada.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message