Project: Building a NAT System

Let's take what you've learned and use it to build a NAT system for your network. The following are the parameters:

  • You are assigned the 209.127.112.0/29 IP address block from your ISP. Your T1 router (CSU/DSU) is assigned 209.127.112.1. You will use 209.127.112.2 and 209.127.112.3 on your NAT firewall.

  • Your internal network is 192.168.10.0/24, and your NAT system (gateway) is 192.168.10.1 (eth0). You have the following systems on your network:

    • 192.168.10.2 Web server

    • 192.168.10.3 mail server

    • 192.168.10.4 FTP server

    • 192.168.10.5 MySQL server on port 3306

    Each system runs Webmin w/SSL on port 10000, but you need to administer any internal system from outside.

  • All incoming traffic comes in on 209.127.112.2 (eth1). You want ...

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.