The Server

When all computers on the network are set up with their proper addressing, it is time to set up the IP masquerading rules on rumble. First, you'll need to load the appropriate modules before you can set up any rules:

modprobe ip_tables
modprobe ip_conntrack
modprobe ip_conntrack_ftp

These modules are a minimum; you might need (or want) more. Add the module names to /etc/modules/default (as discussed in Chapter 19, "Kernel Modules" ) so they'll load during system boot. Other modules you might want are discussed in Chapter 35, "IP Masquerading," and Chapter 36, "IP Firewalling."

Now for the basic rules. The sample rules in Chapter 35 are similar to what you'll see here, but more detailed.

The following line must be placed in rumble's ...

Get Special Edition Using Linux®, Sixth Edition 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.