Date: Tue, 16 Jun 1998 14:06:25 -0500 (CDT) From: Jeremy Shaffner <jer@jorsm.com> To: Edwin Culp <eculp@ver1.telmex.net.mx> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd between internet and local network Message-ID: <Pine.BSF.3.95q.980616140236.16211C-100000@mercury.jorsm.com> In-Reply-To: <35854C88.AC0BF4@ver1.telmex.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980616140236.16211C-100000>