# PFSense on Proxmox

This is a short guide to install PFSense on Proxmox as VM

Download PFSense CE from [https://www.pfsense.org/download/](https://www.pfsense.org/download/)

Upload or download iso to Proxmox

Navigate to your storage drive ,click on ISO Images, upload or download from URL

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/Mbo29V84jtl7UyLZ-Zknimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/Mbo29V84jtl7UyLZ-Zknimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/xJKeJvSeP3vPMu2U-Ohiimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/xJKeJvSeP3vPMu2U-Ohiimage.png)

on Proxmox create new VM, for this LAB we will keep all settings default

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/xsCI9vjjBqFTpEIQ-KNnimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/xsCI9vjjBqFTpEIQ-KNnimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/B85eBXv1AdKwwbgS-Kloimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/B85eBXv1AdKwwbgS-Kloimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/MvSYMGu9G4qT98pr-zasimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/MvSYMGu9G4qT98pr-zasimage.png)![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/Dcf9Nfr7j8Kt5NFZ-LyYimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/zMqVSQ5EeHXsMTpP-Qp4image.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/zMqVSQ5EeHXsMTpP-Qp4image.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/XYPKWxqb12bXZU60-kWcimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/XYPKWxqb12bXZU60-kWcimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/l6dw2QXo4TtfTQOG-YMyimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/l6dw2QXo4TtfTQOG-YMyimage.png)

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/CvnZ7aQhMCyZdnAr-rybimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/CvnZ7aQhMCyZdnAr-rybimage.png)

After its finish you can go to your virtual machine, navigte to hardware to add as many network interface you need, for our LAB we only need 2 one for WAN (Default nic) and one for LAN (to segment networks on our proxmox LAB.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/r5yG1xoCHWeGafJ5-fwyimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/r5yG1xoCHWeGafJ5-fwyimage.png)

For our LAB we are adding vmbr1 (previously assigned on Proxmox pve/network/create linux bridge) our physical server has 3 physical NICs for testing.

we are also using vlan 20 for testing purposes, you can proceed without a vlan if not needed, click add.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/QuIjkNI0kihOMfXd-gCfimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/QuIjkNI0kihOMfXd-gCfimage.png)

Now we are ready to turn on VM go to console and navigate thru the wizard.

Click on Accept

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/vssBl2d8i35pvVMS-4UWimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/vssBl2d8i35pvVMS-4UWimage.png)

Select Install and ok

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/fa446n0yvDBOCdqB-hTAimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/fa446n0yvDBOCdqB-hTAimage.png)

Default Keymap unless you need to select a different keyboard map

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/nz5s0PqIZMXEbmtd-4dUimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/nz5s0PqIZMXEbmtd-4dUimage.png)

We will use an ZFS partition for this LAB as is virtual, if you are installing on a physical device you can use manual to specify your partition type

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/hJEl0zJIyJ6vkJNM-IX0image.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/hJEl0zJIyJ6vkJNM-IX0image.png)

Proceed with Installation

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/djwSDrvJ59w4WMMO-9oEimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/djwSDrvJ59w4WMMO-9oEimage.png)

We will select Stripe as this is a virtual machine, no need for mirror zfs type, if you are installing this on a physical machine and would like to have raid type partition make sure to select mirror

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/UIoH74uh24UAep8u-8DUimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/UIoH74uh24UAep8u-8DUimage.png)

Confirm your configuration and select ok

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/Bhc5xQs87so0B2lI-0kLimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/Bhc5xQs87so0B2lI-0kLimage.png)

Last chance, make sure you select Yes unless you want to make any modification, select yes and press enter.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/AcLDSTFo6CIB0CCa-MZKimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/AcLDSTFo6CIB0CCa-MZKimage.png)

PFSense will begin the installation.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/ec20SWbd2FagBQLf-chWimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/ec20SWbd2FagBQLf-chWimage.png)

Select no unless you need to go to shell for any configuration, not needed for this lab.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/OWzatxUdb1vMpkn6-oesimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/OWzatxUdb1vMpkn6-oesimage.png)

if you navigate to shell you can type exit and then select reboot to complete the installation

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/kl4Sl9QbsVYBNQCb-qbrimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/kl4Sl9QbsVYBNQCb-qbrimage.png)

After reboot you will be prompt about setting up vlans, select N

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/w5YcX5pepyfqSq4S-bsDimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/w5YcX5pepyfqSq4S-bsDimage.png)

type in your WAN interface or select a for auto-detection, if your interface is not yet connected select your interface manually in our case vtnet0

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/dvJxbXuGT9esBbZX-ErAimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/dvJxbXuGT9esBbZX-ErAimage.png)

vtnet1 for our LAN

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/kA10AJDjKI2mLecZ-7mSimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/kA10AJDjKI2mLecZ-7mSimage.png)

Proceed type Y then enter

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/zb7v1iSFiAmcocDn-e6Wimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/zb7v1iSFiAmcocDn-e6Wimage.png)

PFsense will initiate the interfaces and configure services

server is ready, in order to logon since we are running pfsense on a virtual machine and we are not directly connected to our LAN interface we need to enable the WAN interface to allow connections by disabling packet filter

select option 8 and enter the following command

pfctl -d

to enable again enter command

pfctl -e

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/qM0bG7WpFCCCBP3H-tHJimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/qM0bG7WpFCCCBP3H-tHJimage.png)

Navigate to your WAN IP [https://192.168.2.6](https://192.168.2.6)

default username is admin password is pfsense

change your password.

[![image.png](https://wiki.tinod.net/uploads/images/gallery/2023-03/scaled-1680-/5YxpamGSyefJ3wWl-zZnimage.png)](https://wiki.tinod.net/uploads/images/gallery/2023-03/5YxpamGSyefJ3wWl-zZnimage.png)

This is it, that's how you deploy pfsense as a virtual machine on Proxmox