[BACK]Return to nat.2 CVS log [TXT][DIR] Up to [local] / src / share / ipf

File: [local] / src / share / ipf / Attic / nat.2 (download)

Revision 1.4, Fri Jun 12 11:53:02 1998 UTC (26 years ago) by d
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.3: +1 -1 lines

talk about using /etc/sysctl to control ip forwarding

		 Miscellaneous NAT Configuration Tips

Don't forget to add "net.inet.ip.forwarding=1" to /etc/sysctl.conf or NAT will
not work.  NAT requires IP packet forwarding.

Don't forget to add "option IPFILTER" (and maybe "option IPFILTER_LOG"
if you want ipmon(8) to work) to the kernel config file or NAT will
not work.  NAT requires the IPF packet filter.

You must have IPF enabled even if you aren't using it for anything or
NAT will not work.  The standard way to do this is to make sure
/etc/ipf.rules is installed and edit /etc/rc.conf changing
"ipfilter=NO" to "ipfilter=YES" then reboot.