From owner-freebsd-questions Tue Jun 16 12:06:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02418 for freebsd-questions-outgoing; Tue, 16 Jun 1998 12:06:44 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02404 for ; Tue, 16 Jun 1998 12:06:39 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id OAA21525; Tue, 16 Jun 1998 14:06:26 -0500 (CDT) Date: Tue, 16 Jun 1998 14:06:25 -0500 (CDT) From: Jeremy Shaffner To: Edwin Culp cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd between internet and local network In-Reply-To: <35854C88.AC0BF4@ver1.telmex.net.mx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Set: gateway_enable="YES" in /etc/rc.conf That will at least fix part of your problem. I haven't tried natd yet. I'm happy with ppp -alias. On Mon, 15 Jun 1998, Edwin Culp wrote: > 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 -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message