Isolating Ubuntu Desktop VM using VirtualBox and Endian Firewall VM
In this article, we will discuss how to isolate an Ubuntu Desktop VM by setting up an Endian Firewall VM (EFW) and configuring its settings to allow the Ubuntu VM to access the internet. We will cover the key concepts and steps required to accomplish this task, including creating virtual machines, configuring network settings, and setting up firewall rules.
Creating Virtual Machines
To begin, you will need to create two virtual machines: one for Ubuntu Desktop and one for Endian Firewall. You can use VirtualBox to create these virtual machines. Here are the steps to create each virtual machine:
Ubuntu Desktop VM
- Download the Ubuntu Desktop ISO image from the official Ubuntu website.
- Open VirtualBox and click on the "New" button to create a new virtual machine.
- Name the virtual machine "Ubuntu Desktop" and select "Linux" as the operating system and "Ubuntu (64-bit)" as the version.
- Allocate sufficient memory (RAM) and hard disk space for the virtual machine.
- In the "Storage" settings, add the Ubuntu Desktop ISO image as the optical drive.
- Start the virtual machine and install Ubuntu Desktop.
Endian Firewall VM
- Download the Endian Firewall ISO image from the official Endian website.
- Create a new virtual machine in VirtualBox, just like you did for Ubuntu Desktop.
- Name the virtual machine "Endian Firewall" and select "Linux" as the operating system and "Other Linux (32-bit)" as the version.
- Allocate sufficient memory (RAM) and hard disk space for the virtual machine.
- In the "Storage" settings, add the Endian Firewall ISO image as the optical drive.
- Start the virtual machine and install Endian Firewall.
Configuring Network Settings
Once you have created both virtual machines, you need to configure their network settings. Here are the steps to do so:
- Shut down both virtual machines.
- In VirtualBox, select the Ubuntu Desktop VM and click on the "Settings" button.
- Go to the "Network" settings and select "NAT" as the "Attached to" option.
- Add a new NAT network and name it "Ubuntu-NAT".
- In the "Adapter" tab, select "NAT" as the "Attached to" option and "Ubuntu-NAT" as the "Name" option.
- Repeat the above steps for the Endian Firewall VM, but select "Endian-NAT" as the name of the NAT network.
Setting Up Firewall Rules
After configuring the network settings, you need to set up firewall rules in the Endian Firewall VM to allow the Ubuntu Desktop VM to access the internet. Here are the steps to do so:
- Start the Endian Firewall VM.
- Log in to the Endian Firewall web interface.
- Go to the "Firewall" section and click on the "Zones" tab.
- Create a new zone named "Ubuntu-Zone" and select "NAT" as the "Zone Type".
- Add a new network interface to the "Ubuntu-Zone" and select the "Endian-NAT" network as the "Parent Interface".
- Go to the "Firewall" section and click on the "Rules" tab.
- Create a new rule that allows traffic from the "Ubuntu-Zone" to the "Internet" zone.
- Save the firewall rules and restart the Endian Firewall VM.
Accessing the Internet from Ubuntu Desktop VM
After setting up the firewall rules, you can start the Ubuntu Desktop VM and access the internet. Here are the steps to do so:
- Start the Ubuntu Desktop VM.
- Open a web browser and try to access a website.
- If everything is set up correctly, you should be able to access the internet from the Ubuntu Desktop VM.
- In this article, we discussed how to isolate an Ubuntu Desktop VM using VirtualBox and Endian Firewall VM.
- We covered the key concepts and steps required to accomplish this task, including creating virtual machines, configuring network settings, and setting up firewall rules.
- By following the steps outlined in this article, you should be able to isolate your Ubuntu Desktop VM and give it access to the internet through an Endian Firewall VM.