From owner-freebsd-questions Sun May 28 12:23:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fusion.unixfreak.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id 8D13E37B8A7 for ; Sun, 28 May 2000 12:23:16 -0700 (PDT) (envelope-from bhishan@fusion.unixfreak.org) Received: (from bhishan@localhost) by fusion.unixfreak.org (8.10.1/8.9.3) id e4SJNDD59704; Sun, 28 May 2000 12:23:13 -0700 (PDT) (envelope-from bhishan) From: Bhishan Hemrajani Message-Id: <200005281923.e4SJNDD59704@fusion.unixfreak.org> Subject: Re: Firewall + natd, what am I doing wrong? In-Reply-To: <39316D3C.8461F621@unitedtamers.com> from Generic Player at "May 28, 2000 03:02:20 pm" To: Generic Player Date: Sun, 28 May 2000 12:23:13 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > /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 You might want to change the second line to: /sbin/ipfw add 10 divert natd all from any to any via ed0 Also, give us a list of "ipfw show". > > I have ed0 as my internet connection, and xl0 as my internal network, > and I run the command natd -interface ed0 when I first boot up. I can > access both the LAN and the internet from this machine, but the rest of > the LAN can't get internet access. > > Anything I missed? Did you remember to set the gateway on the computers on the lan to the fbsd box's ip? --bhishan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Bhishan Hemrajani / bhishan@fusion.unixfreak.org / PGP: 0xFAC75561 Finger bhishan@fusion.unixfreak.org for more information. The difference between us and a computer is that, the computer is blindingly stupid, but it is capable of being stupid many, many million times a second. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message