From owner-freebsd-questions Mon Jun 15 10:29:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19936 for freebsd-questions-outgoing; Mon, 15 Jun 1998 10:29:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.mexcom.net (ver1-12.uninet.net.mx [200.38.135.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19481 for ; Mon, 15 Jun 1998 10:27:03 -0700 (PDT) (envelope-from eculp@ver1.telmex.net.mx) Received: from sunix (telmex@sunix.mexcom.net [206.103.64.3]) by ns.mexcom.net (8.8.8/8.8.7) with SMTP id MAA00485 for ; Mon, 15 Jun 1998 12:21:54 -0500 (CDT) Message-ID: <35854C88.AC0BF4@ver1.telmex.net.mx> Date: Mon, 15 Jun 1998 11:32:08 -0500 From: Edwin Culp Organization: Mexico Communicates, S.C. X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.14 i586) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: natd between internet and local network Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the following internet > ed1-gateway-ed0 > internal network I have only 1 ip so I am testing natd. The kernel has IPFIREWALL and IPDIVERT the rc.conf has the firewall defined as open. The end result of the commands in the rc.firewall is that I can't even access the internet from the gateway. I have tried the commands as in the natd man page that are more or less the same as the rc.firewall and should work as a basic config. natd -l -interface ed1 ipfw -f flush ipfw add divert natd all from any to any via ed1 ipfw add pass all from any to any no luck. The only way I can even get out from the gateway is erasing the ipfw add divert line. Thanks ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message