Assignment title: Information


Assignment Two Semester 1, 2016

Linux gateway

This task involves setting up a Linux box as a gateway between two networks. A computer can be set up in room 158 with two ethernet cards. One side can be connected to an "external" network of one PC. The other side will be connected to a "local network" of another PC. Alternatively, you can use three (or more) virtual machines. The gateway will need to be set up to

Forward packets in both directions between local and external network Run a Webmin server on port 10000

Run an HTTP server on the gateway Run an SSH server

Run a DNS server for the internal hosts Run a DHCP server for the internal hosts

Run a firewall applying the following rules Allow HTTP requests from inside to outside, and reponses from outside to inside

Run a Webmin server on port 10000 visible from both inside and outside Run an SSH server visible from both inside and outside

No other TCP or UDP requests from inside to outside No TCP or UDP requests from outside to inside Group size

This assignment (and the next one) must be done individually.

Due date The assignment is due by midnight Thursday 5th May.

Submission

Submit a soft copy. The submission should include the following

A screen dump of successful ping's between local and external network. The screen dump should also show the date (by runing the command date) A screen dump or listing of the firewall rules

A screen dump of a page loaded from the server, and also the results of a telnet request on the HTTP port of "HEAD / HTTP/1.0" The DNS server rules and also output from dig requesting resolution of a name

The DHCP server log