| ipfw nat on FreeBSD 7 |
|
|
|
| Sunday, 11 April 2010 07:40 |
|
In the kernel configuration add: options IPFIREWALL # firewall
in /etc/make.conf: CFLAGS + =-DIPFIREWALL_NAT
Then rebuild your system: cd /usr/src/; make builworld & & make kernel KERNCONF = YourKern & & make installworld reboot
In the configuration file ipfw: NatIP = "111.111.111.111"
Enjoy the kernel nat |