How to Install Untangle Linux in Virtualbox

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 still 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 least 20Gb. If you allocate a dynamic disk the installation will fail.

2. Allocate at least 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 drive 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 host machine. For example mine looked like this: