From owner-freebsd-questions Mon Oct 4 21:54:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.portal2.com (ns1.portal2.com [203.85.226.193]) by hub.freebsd.org (Postfix) with SMTP id 3C3351532C for ; Mon, 4 Oct 1999 21:53:54 -0700 (PDT) (envelope-from yusufg@yusufg.portal2.com) Received: (qmail 36588 invoked from network); 5 Oct 1999 04:52:42 -0000 Received: from yusufg.portal2.com (qmailr@203.85.226.249) by ns1.portal2.com with SMTP; 5 Oct 1999 04:52:42 -0000 Received: (qmail 11295 invoked by uid 500); 5 Oct 1999 04:53:50 -0000 Date: 5 Oct 1999 04:53:50 -0000 Message-ID: <19991005045350.11294.qmail@yusufg.portal2.com> From: Yusuf Goolamabbas To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Trying to achieve zen with natd Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a FreeBSD 3.3-stable box with 2 NIC cards each bound to static IP's and different ISP WAN interfaces (fxp0 and fxp1) fxp0 is connected to a /25 network fxp1 is connected to a /26 network Default router is fxp1 I would like to configure this box to act as a NATD box. Set the right kernel config and recompile the kernel /etc/rc.conf gateway_enable="YES" firewall_enable="YES" firewall_type="open" natd_enable = "YES" natd_interface = "fxp1" #Assuming this will take the public interface natd_flags = "-u" I did the following in /etc/rc.local ifconfig fxp1 alias 192.168.0.1 netmask 255.255.255.0 Setup a Windows box with IP 192.168.0.2 and gateway 192.168.0.1 I can ping the gateway box, however I can't seem to get out to either the /25 network or the /26 network What am I missing ?? Thanks, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message