This tool configures your system so that it acts as a gateway to the Internet for other machines connected to it via a LAN. This is very useful at home, for example, if you want all computers to access the Internet through the same Internet link.
Configure your Internet access (Section 4.1, “Network and Internet Connection Management”). In order for your machine to act as a gateway, you need an already configured and working connection to the Internet, plus a network connection to your LAN. This implies at least two interfaces, for example, a modem and an Ethernet card.
Set up the gateway (Section 4.3.1, “The Gateway Connection Wizard”).
Configure the other local machines as clients (Section 4.3.3, “Configuring the Clients”).
This wizard also configures a firewall to block most connections from the Internet. You are encouraged to check that the firewall configuration (Section 8.3, “Securing your Internet Access via DrakFirewall”) suits you after completing the wizard.
After you complete this wizard, all computers on the LAN will have to access the Internet. Their configuration will be automated due to the DHCP server, which is installed on your gateway, and the web access will be optimized through the Squid transparent proxy cache.
You first need to specify the name of the interface connected to the Internet. The wizard may automatically select it for you, otherwise make sure you select the correct one from the drop-down list. It should be the interface name you configured in the Internet Configuration Management tool.
If you have more than one Ethernet interface, and depending on what you chose as your Internet interface, the wizard might ask you to select the one connected to your LAN. Make sure you select the correct one.
At this point, if it is the 1st time the system has been configured as a gateway, the wizard offers default parameters for the new local network to be managed. Check that these values are not already in use in your network, and proceed to the next step.
If you plan on having a local name server on your machine, you can check this box. Otherwise, you can choose to use your provider's name server. If you don't know what a name server is, leaving the box checked is safe.
Installing a DHCP server on your machine allows all client machines to have their network configurations made automatically. Otherwise, you have to configure each client by hand: IP address, network, gateway, DNS.
A caching server records the Web pages requested by local browsers. Then, if the same page is asked for again by someone else, it is able to serve it without needing to retrieve it again from the Internet, therefore saving bandwidth and improving response time. This is very useful if there are many clients behind the gateway.
The application used to perform this task is Squid.
This step shows if your local machine (the gateway) has access to printers.
The configuration of the clients depends mainly on whether you chose to install a DHCP server on your gateway or not. By configuring the clients on the local network to use DHCP, they will automatically use the Mandriva Linux machine as a gateway to the Internet. This works for Windows ®, Linux and any other OS that supports DHCP.
Configuring your Mandriva System. For DHCP, on a Mandriva Linux client system, simply go to the Network Center (Section 4.1.2, “Network Center: Reconfiguring and Monitoring Network Interfaces”) and make sure you select options Automatic IP (BOOTP/DHCP) and Get DNS servers from DHCP when configuring the network, as shown in Figure 4.10, “Configuring a Client to Use DHCP”.
 Note that all traffic to and from this network passing through the gateway will be masqueraded, that is: it will appear (from an Internet point of view) to come from the gateway instead of from the LAN.