From owner-freebsd-questions Sat Apr 8 8:43: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.sai.co.za (mail.kzntl.co.za [196.33.40.4]) by hub.freebsd.org (Postfix) with ESMTP id 27DAA37BAAB for ; Sat, 8 Apr 2000 08:43:01 -0700 (PDT) (envelope-from davew@pmburg.co.za) Received: from dave.dgn by sai.co.za with SMTP (MDaemon.v3.0.0.R) for ; Sat, 08 Apr 2000 17:42:10 +0200 From: Dave Wilson Organization: www.pmburg.co.za To: freebsd-questions@FreeBSD.ORG Subject: IpMasqing under FBSD 4.0 using NATD ? :) Date: Sat, 8 Apr 2000 17:48:46 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00040817501600.00321@dave.dgn> Content-Transfer-Encoding: 8bit X-MDaemon-Deliver-To: freebsd-questions@FreeBSD.ORG X-Return-Path: davew@pmburg.co.za X-MDRcpt-To: freebsd-questions@FreeBSD.ORG Reply-To: davew@pmburg.co.za Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Guy's, howzit going? I'm batteling with natd BIG time, I have followed docs on the web and the man pages and still can't seem to get it right. Basically I'm using my FreeBSD box to dial into my isp. In my FreeBSD box I have a LAN card (ed0), with an IP of 10.0.0.1/255.255.255.0, which goes to my LAN running IP's 10.0.0.2, 10.0.0.3. I want to allow 10.0.0.2 and 10.0.0.3 onto the Internet. I have configured pppd for normal dial-up into my isp and that is working 100% Here are the options I have configured after a default install of FreeBSD 4.0: Kernel ------ options IPFIREWALL options IPDIVERT /etc/rc.local ------------- natd -interface ed0 ipfw -f flush ipfw add divert natd all from any to any via ed0 ipfw pass all from any to any I have Squid 2.2STABLE5 setup on the box too, and all the workstations can surf the net fine if I tell IE to use squid as a proxy, but I prefer to use masqing/natd for irc/mail etc. I have setup IP masqing in Linux before and it has worked brilliantly, but I just can't seem to find what I'm doing wrong in FreeBSD. :( Please help if you can. Thanx :) Regards Dave Wilson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message