Installing pfSense on a QNAP NAS


Last modified date: 2018-09-13

pfSense is an open-source firewall software package featuring a web-based interface to configure settings related to DHCP/DNS servers, an Intrusion Prevention System (IPS), and more. This tutorial will guide you through installing, running, and accessing pfSense on your NAS.

Requirements:

  • QTS 4.3.0 (or later)
  • Virtualization Station 3.0 (or later)
  • At least two virtual adapters for WAN and LAN.
  • A pfSense ISO image

Creating a pfSense Virtual Machine

Before creating the virtual machine (VM), you must upload a pfSense ISO image to the NAS. The ISO image can be downloaded from https://www.pfsense.org/download/.

  1. Log in to the NAS.
  2. Launch Virtualization Station. Click Create VM.
    The Create VM window will open.
  3. Enter a VM name.
  4. Select Generic in the OS Type.
  5. Allocate system resources to the VM using CPU Cores and Memory. pfSense requires at least 512MB memory.
  6. Select the ISO image you downloaded earlier in CD Image.
  7. Select "Create image" in HDD Location and choose where to save it by clicking "Browse".
  8. Allocate at least 4GB of HDD Storage to the VM.
  9. Click OK.
  10. Check the Network Adapter configuration.
    Visit Creating Virtual Adapters for pfSense for more information.

Importing a pfSense Virtual Machine

QNAP also provides a ready-to-use pfSense VM that can be uploaded to the NAS. This VM can be downloaded from https://www.qnap.com/solution/pfsense/en/

  1. Log in to the NAS.
  2. Launch Virtualization Station. Click Import VM.
    The Import VM window will open.
  3. Select NAS in Import from.
  4. In the navigation window, go to the location of the VM file, select the VM file and click OK.
  5. Click Next.
  6. Enter a VM name.
  7. Allocate system resources to the VM using CPU Cores and Memory. pfSense requires at least 512MB memory..
  8. Assign the Virtual Switch and Model for both Adapters.
    Visit Creating Virtual Adapters for pfSense for more information.
  9. Click Import.
  10. Start the VM and click Console.
    For further settings, refer to Configuring a pfSense Installation.

Creating Virtual Adapters for pfSense

Before using pfSense you must create virtual adapters and connect them to a Virtual Switch.

  1. Go to the Settings page for the pfSense virtual machine.
  2. Go to the Settings tab and click Add Device.
  3. In the Add Device window, select Network in Device Type.
  4. Select an existing Virtual Switch
  5. Select VirtIO in Model.
  6. Click OK.
  7. Change the model of Adapter 1 to VirtIO.
  8. Go to Network & Virtual Switch > Virtual Switch and click Add.
  9. Select the mode.
    • Click Basic Mode to create a bridged network
    • Click Advanced Mode to specify a network configuration.
  10. Start the VM and click Console.

Configuring a pfSense Installation

  1. Start the console for a pfSense Virtual Machine.
  2. Read and accept the Copyright and distribution notice.
  3. Choose Install and select OK.
  4. Choose Auto (UFS), then select OK.
  5. Choose a keyboard map or Continue with default keymap and select Select. The installation will begin.
  6. After the installation is completed, select No.
  7. Select Reboot. pfSense will reboot and offer further configuration options.
  8. Configure VLANs.
    • If VLANs are required enter y and confirm.
    • If VLANs are not required enter n and confirm.
  9. Follow the prompts to assign WAN and LAN interfaces. This tutorial uses WAN: vtnet0 and LAN: vtnet1.
  10. Make any additional configuration changes. For more information, visit https://doc.pfsense.org/index.php/Installing_pfSense.

Connecting to the pfSense WebGUI

To access the pfSense WebGUI, you must create an additional VM on the NAS, and use the virtual switch connected to the pfSense LAN interface.

  1. Log in to the pfSense WebGUI at https://192.168.1.1/. The default username and password is below.
    • Username: admin
    • Password: pfsense
  2. Follow the on-screen instructions for the pfSense Setup Wizard.
  3. Increase pfSense WebGUI Performance.
    1. Log in to the pfSense WebGUI.
    2. Go to System > Advanced > Networking.
    3. Enable Disable hardware checksum offload.
    4. Click Save.

Purchase Netgate subscriptions for pfSense Support

If you require pfSense support (such as configuration assistance) you can purchase Netgate subscriptions for pfSense Support.

  1. Go to https://license.qnap.com/ and sign in using your QNAP ID.
  2. Find “Netgate pfSense Support”. In the "Item" menu you can choose the type of coverage you require.

Note:

1) The license can only be issued to one QNAP NAS and is non-transferable.
2) Only one license can be activated per QNAP NAS.

How to issue a Netgate pfSense support ticket

  1. Go to Control Panel > System > License Center and take a note of your pfSense License ID.
  2. Go to https://go.netgate.com/support/login and log in using your account (or sign up for a new account).
  3. Click “Open a Ticket”. In the "Submit a ticket" window, select “Netgate Global Support” in the Department menu, “pfSense” in Software Product, “QNAP NAS” in Platform, and your License ID in QNAP License ID. Select an appropriate description for your issue in "General Problem Description".

Was this article helpful?

71% of people think it helps.
Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less

      Choose Your Country or Region

      open menu
      back to top