Please help with NAT
Justin C. Sherrill
justin at shiningsilence.com
Thu Oct 19 12:30:22 PDT 2006
On Thu, October 19, 2006 10:57 am, Eugene wrote:
> Sorry for the stupid question, but I can't get NAT working properly on
> my machine.
> Generally speaking, I cannot reach internet from LAN machines, while
> natd is running and packets are being forwarded to the 'external'
> interface.
Hmm... I have:
in /etc/rc.conf:
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="dc0"
natd_flags=""
In kernel config:
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options TCP_DROP_SYNFIN
options "ICMP_BANDLIM"
Change natd_interface, and it should work for you after building the new
kernel. Like others have said here, I plan to switch to pf; I just
haven't done it yet.
More information about the Users
mailing list