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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access