Note: pfSense® CE is open source software developed for the benefit of the community. If you are using pfSense® CE with the Vault, please consider supporting the pfSense project. https://www.pfsense.org/get-involved
There are two ways to install pfSense® CE on the Vault. Because the Vault has a COM (serial console) port, users can install pfSense using only the COM port, OR, users can install pfSense® CE the more ‘traditional’ way by using a VGA or HDMI monitor, along with a USB keyboard.
- The easiest way to install pfSense® CE that is most likely to be error-free is with a VGA or HDMI monitor and a USB keyboard, using the VGA version of the installer
- If the user chooses to install pfSense® CE with the serial console port on the Vault, the user MUST use the serial version of the installer.
- If the user encounters an issue whereby the installation appears to stop and not proceed, please double check to ensure you’re using the correct version of the pfSense® CE installer with your chosen installation method.
Note: If installing using a VGA monitor and USB keyboard on a Vault FW1x, FW2x, or FW4x, be sure to use a USB stick and a USB keyboard with a plug that is relatively skinny. The 2 USB ports on the Vault are very close to each other and if either the USB stick or the USB keyboard plug is too wide, you will not be able to plug both in at the same time, which will prevent you from doing the installation.
Install pfSense® CE
Obtain the Installation Image and Uncompress it
The pfSense® CE installation image (IMG) can be downloaded from https://www.pfsense.org/download/. The same image can be used to install pfSense® CE on any of the Vault platforms. It is important to choose the correct options when downloading the image including “Version”, “Architecture”, “Installer”, and “Console.” The proper selections are as follows and shown in the screenshot below for installing the Vault using a VGA monitor and USB Keyboard:
Version: The latest available (2.4.2 as of this edit)
Architecture: AMD64 (64 bit)
Installer: USB Memstick Installer
Console: VGA or Serial as needed (see note above; VGA or HDMI monitor = VGA installer; COM port = serial installer)
Your download should begin immediately and when it is completed you should have a compressed IMG file (an example file name is: pfSense-CE-memstick-2.4.1-RELEASE-amd64.img.gz) downloaded that is ~300MB in size.
Now that the compressed image file has been downloaded, you will need to use a program like “7zip” or “winzip” to decompress the file. The resulting file should look the same, except that the file name will now end in “.img” instead of “.img.gz”.
Download software to transfer the installation image to a USB drive
The easiest way to transfer the installation image to a USB drive is by using software called “Rufus” on Windows or “Etcher” on Apple OSX. See this link for detailed instructions on how to create a bootable USB drive using Rufus or Etcher.
Install the new image
Note: The installation procedures outlined below are captured from a sample install using the ‘memstick’ installer on a ‘serial’ console. As such, installations using the ‘VGA’ console may look slightly different. The steps are the same.
Once the pfSense® CE installation image is properly copied to the USB drive, it is ready to be installed on the Vault. pfSense® CE is based on FreeBSD 11.1. One of the options when installing is to select the filesystem type. FreeBSD 11.1 has the option to install the ZFS filesystem. Protectli recommends installing ZFS as the type of filesystem, particularly to guard against data corruption. See this link for more information on ZFS.
- Verify that the Vault is powered down.
- Verify that the VGA monitor or serial console is connected.
- Verify that the USB keyboard is plugged in.
- Insert the USB install drive into the other USB port on the Vault.
- While powering up the Vault, press “F11” key and hold it down until it boots to the BIOS and you see the boot options screen.
- Select the USB drive to boot from.
- Verify that the Vault boots and begins the installation process.
- Select “Install”
- Select Keyboard options
- At the filesytem prompt, select “Auto (ZFS)”
- Select “Install”
- At the ZFS configuration prompt, select “Stripe”
- Select “ada0 SSD” (hit the space bar)
- Continue the installation and verify that it completes successfully
Be sure to follow the procedures presented on the pfSense® CE website (Performing a Full Install ISO, Memstick image), here: https://doc.pfsense.org/index.php/Installing_pfSense#Performing_a_Full_Install_.28ISO.2C_Memstick.29.
Once rebooted, the Vault should be up and running and please follow any on screen instructions for connecting to pfSense. If you experience any issues, please feel free to reach out: firstname.lastname@example.org.