Date: Sun, 14 Nov 2004 02:17:27 -0500 (EST) From: Francisco Reyes <lists@natserv.com> To: FreeBSD Questions List <questions@freebsd.org> Subject: Natd/Gateway=yes vs 5.3 Message-ID: <20041114021322.G55424@zoraida.natserv.net>
next in thread | raw e-mail | index | archive | help
Migrating a 4.10 box. Copied data to a second drive. Installed 5.3 Changed kernel to add options IPFIREWALL options IPFIREWALL_VERBOSE options "IPFIREWALL_VERBOSE_LIMIT"=50 options IPDIVERT In /etc/rc.conf have firewall_enable="YES" firewall_logging="YES" # Set to YES to enable events logging firewall_quiet="NO" firewall_type="open" gateway_enable="YES" natd_enable="YES" # Enable natd (if firewall_enable == YES). natd_flags="-f /etc/natd.conf" # Set rules file for the NAT daemon natd_interface="ed0" Not only the machine is not acting as a gateway, but it doesn't let me even connect to the internet. Looked at ipfw list and saw 00050 divert 8668 ip from any to any via ed0 00100 allow ip from any to any via lo0 00200 deny log logamount 50 ip from any to 127.0.0.0/8 00300 deny log logamount 50 ip from 127.0.0.0/8 to any 65000 allow ip from any to any 65535 deny ip from any to any Added a pass all rule before the divert and I am able to see the internet from the FreeBSD machine, but not from the other machines. Anything changed for nat between 4.10 and 5.3? Any suggestions?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114021322.G55424>