Date: Sun, 28 May 2000 15:02:20 -0400 From: Generic Player <generic@unitedtamers.com> To: freebsd-questions@freebsd.org Subject: Firewall + natd, what am I doing wrong? Message-ID: <39316D3C.8461F621@unitedtamers.com>
next in thread | raw e-mail | index | archive | help
I am using FreeBSD 4-release, and I read through the man page on natd and followed its instructions, but no luck. I'll give you the run-down of what I have done, hopefully someone can see the problem. First, I added : options IPFIREWALL options IPDIVERT to my config and built the new kernel. Then I added: firewall_enable=YES firewall_type=open gateway_enable=YES to my /etc/rc.conf file. /etc/services already had the line "natd 8668/divert" so I didn't need to add it. Then I added the following to my /etc/rc.firewall, and changed the IP addresses and netmasks listed in it to the ones I am using. /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 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? 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?39316D3C.8461F621>