Enabling NAT

If you are using PPP over a dial-up Internet connection, the method used to enable NAT will depend on whether you are using User PPP or Kernel PPP. If you have not set up an Internet connection yet, I recommend you use User PPP if you want to use NAT because it is the easier of the two to configure to work with NAT.

If you are using Kernel PPP, or you need to set up NAT for an Internet connection that is not PPP, the procedure is a bit more complex.

The NAT setup procedure has been divided into two sections below. You only need to read the section appropriate to your situation.

Using User PPP

The User PPP program in FreeBSD has NAT capability built in to it, so it is very easy to enable. You can simply use the -nat option to ppp ...

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.