Dialup firewalling with FreeBSD
Prev |  | Next

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

`/etc/rc.conf` needs to be slightly modified in order to tell the system about the firewall and to specify the location for our rules file. Add the following lines to `/etc/rc.conf`:

    firewall_enable="YES"
    firewall_script="/etc/firewall/fwrules"

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

Prev | Home | Next
Kernel Options |  | Enable PPP's network address translation

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>.