Dialup firewalling with FreeBSD
Prev |  | Next

# 4 Enable PPP's network address translation

In order to allow clients on your network to connect via your gateway, you will need to enable PPP's network address translation (NAT). In order to use PPP's NAT functions, add the following lines to `/etc/rc.conf`:

    ppp_enable="YES"
    ppp_mode="auto"
    ppp_nat="YES"
    ppp_profile="your_profile"

> Note: Take care to change `your_profile` to the name of your own dialup profile. The profile name should match the name of the dialup connection in your `/etc/ppp/ppp.conf` file.

Prev | Home | Next
Changing `/etc/rc.conf` to load the firewall |  | The rule set for the firewall

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