Configuring a gateway server
In many network infrastructures, system administrators need to separate their servers and workstation inside multiple subnetworks. Others use private network addresses that can be associated with public addresses using the Network Address Translation (NAT) technology. A Linux gateway server is one of the common solutions that can help set up this kind of configuration. The following screenshot is a presentation of an example of an architecture where the Gateway server serves to pass through both local and external networks:
As per the requirement, we are in need of a Linux server with at least two network interfaces (as a best practice). We then need to make a bridge between the two networks associated with them. During this section, we will be working on setting up a gateway between public (external) and private (local) addresses using IP forwarding and NAT rules to route the traffic from the private network to the public network. We will call the external...