Router setup

From Smith family
Jump to: navigation, search
Server setup
← Previous Next →
None OS installation

The router needs a bit of setting up to allow all the server services to be available. This should be done in stages, as things are installed on the server. This document collects them all together for convenience.

Get it working

The first step is to simply get the router working, so that it connects to your ISP and can handle satellite machines connecting via DHCP.

DHCP ranges

In order for the machines with fixed IP numbers to avoid stomping all over the router's DHCP server, you need to ensure that some addresses on the local network are not available for allocation by the router's DHCP server. Configure the router so that addresses from to are outside the DHCP pool.

DNS rerouting

By default, the router uses the ISP's DNS servers to find addresses for its DHCP-connected machines. Unfortunately, doing this means that these machines won't be able to find the addresses of the various machines on the LAN. Once the DNS servers are set up, change the router's settings so that it no longer gets DNS server information from the ISP, but uses the nameservers you specify: specify the ones you've just set up.

Port forwarding

To make the various services you've set up available to the outside world, you'll need to pass requests from the outside world into the server. The router should have a 'port forwarding' facility or similar, where incoming traffic to the router on a particular port is passed to a specified IP number and port on the LAN. Once you've set up a service, you can open the port for it. The ports you'll need to open are:

You may want to consider opening port 22 (SSH) which will allow secure remote logins to a machine. If you do, you'll probably need to protect it against opportunistic login attempts by passersby. See the discussion on the firewall page for details.