Configuring a NAT Gateway in FreeBSD

In this scenario, you will generally have a single Internet connection, which may or may not be over a modem. You have several systems that need to access the Internet. Figure 28.3 shows an example.

Figure 28.3. A simple gateway setup. simba has a connection to the Internet via a modem. The idea is to allow lion, tiger, cheetah, and puma to share this modem and access the Internet through simba.

A variation of this system might be that you have a classroom, and you want to provide laptops with wireless Internet access. This will also be discussed later on in this section because it is just a variation of a NAT ...

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.