Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense

Installing VirtualBox and creating a new virtual machine should not be a big deal:

  1. Install VirtualBox with all the default options. It’s just a matter of clicking Next a few times.
  2. Login on Windows as administrator. Browse to the folder where you have downloaded the VirtualBox Extension Pack and double-click it. Click Install.
  3. Agree (you have to) with the TOS and you’re done.

Before you create the VM, consider all the options you may want to enable in pfSense (web proxy, Snort, VPN, etc.), in order to allocate resources appropriately. Also, don’t forget that you need two network interfaces. A good start is the Selection & Sizing section on the official website. Anyway, if in doubt, you can always revise the settings of your VM after creation. The virtual machine which I created had this configuration: 1 CPU, 128 MB of RAM, 2 GB HDD, and 2 NICs (I don’t intend yet to use Snort – that will need a minimum of 512 MB of RAM).

So let’s proceed:

  1. Start VirtualBox
  2. Click New
  3. On the next window type in the name of the VM and choose the OS and version (pfSense, BSD, and FreeBSD in my case). Then click Next:

  1. Now set the amount of memory:

  1. Select a virtual hard disk option. Choose Create a hard disk:

  1. In the Virtual Disk Creation Wizard, leave the default option unchanged (VDI), unless you plan to use this VM in the future with a different virtualisation software, such as VMware Workstation:

  1. Set the size of the virtual disk file as dynamically allocated, so the virtual disk’s size will increase progressively, as it fills up (up to the maximum set, that is):

  1. Set the maximum size of the virtual disk:

  1. You’ve finished setting up the virtual disk. Click Create:

  1. Now you have finished with setting up the VM. Again, click Create:

That’s it.

<<Part 2: Installing Microsoft Loopback adapter on Windows 7

Part 4: Installing and configuring pfSense on VirtualBox>>

About Manuel Timita

Passionate about both human and IT systems. More curious than a cat, yet hoping to dodge its proverbial fate for a while.
This entry was posted in Hacks, Tutorials and tagged , . Bookmark the permalink.

One Response to Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense

  1. Anthony says:

    “Login on Windows as administrator. Browse to the folder where you have downloaded the VirtualBox Extension Pack and double-click it. Click Install.”

    Wish I read that at the beginning and not been on 2 week hunt as to why I couldn’t RDP into it. Thanks for the posting. It’s been great!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>