I have been looking around lately at all the old hardware I have lying around and thought what could I do with it all? Media center? Web server? Hardware Firewall perhaps? Then I came across Untangle Linux Firewall and thought why not give this a try! Next thought was why install on the old hardware and increase my energy costs when I can install it on Virtualbox on my main Linux server instead? So I have installed Untangle Linux Firewall on Virtualbox running on a Linux Mint 10 File and Print Server and below will outline how I did it.
My network looks like this:
Internet – Wireless Router – Untangle Linux Firewall – Linux Mint 10 file and print server – Various Virtual machines.
I have left the wireless router outside the main network as I am only concerned with protecting my main server and virtual machines. I will nevertheless have firewalls on any wireless clients.
First thing is to get a copy of Untangle Linux Firewall. Once you have it fire up Virtualbox and add a new virtual machine. Remember you need the following requirements during set up:
1. Create a fixed sized disk of at the minimum 20Gb. If you allocate a dynamic disk the installation will fail.
2. Allocate at the minimum 512Mb of RAM. I allocated 1024Mb and it runs fine.
3. Make sure you allocate 2 NIC’s for your virtual machine and set both to bridged adapter so Untangle can talk to the rest of your network.
Mount your iso in the virtual CD excursion and fire up the virtual machine and then follow installation instructions. Make sure that you set the following during installation:
When asked set the external adapter to DHCP (unless you have got a static IP address from your ISP) and verify your internet connection. Make sure that the DNS server and gateway are on the same subnet as your great number machine. For example mine looked like this:
IP address 192.168.1.10
default gateway 192.168.1.1
dns server 192.168.1.1
*My home server is on 192.168.1.9*
Your internal adapter should be set as bridge and bridge to external. This will allow you to use your 1 physical adapter as two virtual ones.
Once installed (it does take a while) you will be asked to upgrade your Untangle system prior to installing any Apps. Do this as it is always important to have an up to date system. Next download the Lite package on the rack. This will install all the open source packages you require and personally unless you are a medium to large business all you will ever need. Once installed test your connectivity from other machines on the network and also check how obtain your network is by going to ShieldsUp and using their online firewall scanner to test your firewall.
As for all the old hardware? Suggestions here please to the usual address!!