ICT213 Multi-user Operating Systems Administration
Assignment Two
Semester 1, 2015
Linux gateway
This task involves setting up a Linux box as a gateway
between two networks. A computer can be set up in
N1.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, Sunday 31 May.
Submission
Submit a soft copy using Student Web. 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
Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Copyright ©Jan Newmarch