3 Changing /etc/rc.conf to load the firewall

We now need to make some changes to /etc/rc.conf in order to tell it about the firewall. Simply add the following lines:

    firewall_enable="YES"
    firewall_script="/etc/firewall/fwrules"
    natd_enable="YES"
    natd_interface="tun0"
    natd_flags="-dynamic"

For more information on the functions of these statements take a look at /etc/defaults/rc.conf and read rc.conf(5)

This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.