Linux Networking: Using Ipchains - page 6
Multiple Machines, A Single ConnectionConfiguring Linux as a router with NAT support is not difficult but it can be confusing. What makes the job difficult is making sure the connection to the Internet is secure. The
ipchainsconfiguration is the first step. Additional steps are required if the router is running other services such as DNS, the Apache Web server, or an FTP server.
/etc/inet.conf file is typically used to designate how
IP-based services will be started if a request comes from another computer. The
telnet and FTP services can be handled using
article will not go into any detail on
inet.conf, but online help is
inet.conf, will work with any network adapter on the computer but it is possible to configure applications to work with specific adapters. For example, the Apache Web server keeps its configuration files in
access.conffiles control what computers and what adapters can be used with the web server. If a statement like
Listen 184.108.40.206:80is in the configuration files then the Web server will ignore other adapters, such as an Ethernet adapter connected to the Internet, and only use port 80 on the adapter associated with the IP address 220.127.116.11. The
linuxconfprogram can be used to set up this configuration instead of dealing with the configuration files directly.
Another possible option is to set up the DNS server so it can service the local network and transparently forward Internet requests to an ISP's DNS server. This makes configuration of local workstations easier but it requires an understanding of BIND.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates