From owner-freebsd-questions Sun Oct 22 19:41:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.prod.itd.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id A86E937B4C5 for ; Sun, 22 Oct 2000 19:41:33 -0700 (PDT) Received: from phx76216 (cpe-66-1-24-032.phoenix.speedchoice.com [66.1.24.32]) by gull.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id TAA15636 for ; Sun, 22 Oct 2000 19:41:30 -0700 (PDT) Message-ID: <000d01c05c09$68bc3600$20180142@phx76216> From: "Don Sutter" To: Subject: IP Aliasing and FreeBSD 4.1.1 Date: Fri, 1 Dec 2000 19:41:42 -0700 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running a private network (192.168.x.x) and recently added a high speed ethernet internet connection on a static public IP address. I would like to set up IP Aliasing (so all my private machines can access the internet) and setup firewall protection for my private network. I bought a Version 4 FreeBSD Power Pak and discovered that it contained a 3rd Edition "Complete FreeBSD" book. A also downloaded and installed the latest FreeBSD 4.1.1 in a multi homed machine and I downloaded and printed the latest FreeBSD Handbook. I figured out how to re-compile the kernel with "options IPFIREWALL", "options IPDIVERT" and even figured out how to get my sound card working but the description of rc.firewall in my Version 3 Complete FreeBSD book looks quite different than /etc/rc.firewall on my system. I thought I'd start by adding the three lines at the top of page 507 to my rc.firewall file but now I'm not sure of where to put them. /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via ed0 /sbin/ipfw add pass all from any to any I use ed0 instead of tun0 as used in the book. Am I looking at the wrong manual? Did rc.firewall change between BSDi v3 and 4. Allowing private network machines to access the internet via IP Aliasing and a multi-homes BSDi box sounds simple enough. Perhaps someone out there could point me in the right direction... Thanks Don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message