From owner-freebsd-questions Fri Feb 28 7:10:14 2003 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 0479437B401 for ; Fri, 28 Feb 2003 07:10:13 -0800 (PST) Received: from hotmail.com (oe44.law12.hotmail.com [64.4.18.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6902143F85 for ; Fri, 28 Feb 2003 07:10:12 -0800 (PST) (envelope-from b1henning@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 28 Feb 2003 07:10:12 -0800 X-Originating-IP: [192.216.212.193] From: "Brian Henning" To: "freebsd" Subject: natd Date: Fri, 28 Feb 2003 09:08:15 -0600 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 Message-ID: X-OriginalArrivalTime: 28 Feb 2003 15:10:12.0287 (UTC) FILETIME=[7D966CF0:01C2DF3B] 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 My local network (192.168.1.0) consists of three machine BSD1 (192.168.1.40) and BSD2 (192.168.1.42). Both of these machines use gateway/router (BSD3) 192.168.1.254 to access the internet. All of these machine are connected to a switch locally. BSD3 connects to my isp and gets my single ip address that i want to share with the rest of my local network. Just a note, these machine get their ip addresses staticly. on my router i recompiled the kernel with these options. options IPFIREWALL options IPFIREWALL_VERBOSE #firewall logging capability - optional options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPDIVERT #NATD i have not added anything to my rc.conf file as of yet. Eventually i will set up natd and firewall settings in my rc.conf, but can someone direct me on how to do this manually so i can access the internet from anywhere on my network. r11 is my external network rl0 is my internal network > natd -interface rl1 > ipfw -f flush > ipfw add divert natd all from any to any via rl1 > ipfw add pass all from any to any does this seem correct? Thanks for any advice, Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message