- Get Oracle VirtualBox from https://www.virtualbox.org/ or from the repo of your distribution. Works in Windows, Linux too.
- Download a VGA-enabled nanobsd version of pfSense from here. For example pfSense-2.0.1-RELEASE-4g-i386-nanobsd_vga.img.gz.
- Decompress the .gz to get a plain disk image .img file (you need pfSense-2.0.1-RELEASE-4g-i386-nanobsd_vga.img)
- Convert the disk image to a virtual hard disk using this command:
- Code: VBoxManage convertfromraw pfSense-2.0.1-RELEASE-4g-i386-nanobsd_vga.img pfSense-2.0.1-RELEASE-4g-i386-nanobsd_vga.vdi
- Don’t worry if the .vdi file will be much smaller. It will actually be a dynamic virtual disk, which physically occupies only the amount of data which is not empty.
- Create a new virtual machine in VirtualBox, using these settings:
- Enable IO APIC
- 512MB of RAM (or more, I guess)
- no audio, no USB
- 2 network adapters, first bridged to your physical NIC, second “Host-Only Adapter”, both Intel PRO/1000 T Server. Untick “Cable connected”
- a serial port, just to be sure
- use as hard disk the .vdi image you created in step 4
- Boot up the virtual machine, let pfSense start up
- Assign network interfaces as usual, to simulate cable connection open “Network Adapters” window and tick back ”Cable connected” when appropriate. Make the first (em0) as WAN, the second (em1) as LAN.
- Set manually IP address of LAN to 192.168.56.10 (or any IP within your “Host-Only Adapter network”)
- Type your LAN address in your browser and you’re in!
Welcome to the world of FreeBSD
FreeBSD is a free, open source and UNIX-like operating system. Though relatively unknown, it's one of the most secure, versatile and safest O/S's available.
We keep you up-to-date with news relating to FreeBSD and its dependants. Spreading the fame of FreeBSD, the unknown Giant (IBM).
If you are wondering who is behind this blog, find out more about us.
FreeBSD VPS Hosting
Check out our cheap hosting packages for FreeBSD based webhosting. Hosting done BSD style: stable, secure, flexible and friendly.