Annotation of src/share/ipf/nat.2, Revision 1.4
1.2 kstailey 1: Miscellaneous NAT Configuration Tips
2:
1.4 ! d 3: Don't forget to add "net.inet.ip.forwarding=1" to /etc/sysctl.conf or NAT will
1.2 kstailey 4: not work. NAT requires IP packet forwarding.
5:
1.3 kstailey 6: Don't forget to add "option IPFILTER" (and maybe "option IPFILTER_LOG"
7: if you want ipmon(8) to work) to the kernel config file or NAT will
8: not work. NAT requires the IPF packet filter.
9:
1.2 kstailey 10: You must have IPF enabled even if you aren't using it for anything or
11: NAT will not work. The standard way to do this is to make sure
12: /etc/ipf.rules is installed and edit /etc/rc.conf changing
13: "ipfilter=NO" to "ipfilter=YES" then reboot.