|
@@ -0,0 +1,99 @@
|
|
|
+ <!DOCTYPE html>
|
|
|
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
|
+ <head>
|
|
|
+ <title>Running pfSense Firewall and Router in a Proxmox VM</title>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="keywords" content="PfSense Proxmox Tutorial,PfSense Proxmox VM,How To Virtualize PfSense,Virtualize PfSense Router,Can You Virtualize PfSense,PfSense,Virtualization,Virtual,VM,Virtual PfSense,Virtualize PfSense,Firewall,Server,Router,Home Server,Home Lab,Install Guide,Hypervisor,Self-Hosted,PfSense VM,PfSense Setup,PfSense Installation,Homelab,Security,IT Security,Proxmox 7,Homelab Ideas,Open Source,Proxmox VE,Linux,Debian,How To,Tutorial,i12bretro">
|
|
|
+ <meta name="author" content="i12bretro">
|
|
|
+ <meta name="description" content="Running pfSense Firewall and Router in a Proxmox VM">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <meta name="revised" content="03/21/2022 08:42:50 PM" />
|
|
|
+ <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
|
|
|
+ <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
|
+ <script type="text/javascript" src="includes/js/steps.js"></script>
|
|
|
+ <link href="css/steps.css" rel="stylesheet" type="text/css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="gridContainer">
|
|
|
+ <div class="topMargin"></div>
|
|
|
+ <div id="listName" class="topMargin">
|
|
|
+ <h1>Running pfSense Firewall and Router in a Proxmox VM</h1>
|
|
|
+ </div>
|
|
|
+ <div></div>
|
|
|
+ <div id="content">
|
|
|
+ <h2>What is pfSense?</h2>
|
|
|
+
|
|
|
+<blockquote><em>pfSense is a firewall/router computer software distribution based on FreeBSD. The open source pfSense Community Edition (CE) and pfSense Plus is installed on a physical computer or a virtual machine to make a dedicated firewall/router for a network. It can be configured and upgraded through a web-based interface, and requires no knowledge of the underlying FreeBSD system to manage. -<a href="https://en.wikipedia.org/wiki/PfSense" target="_blank">https://en.wikipedia.org/wiki/PfSense</a></em></blockquote>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Download the pfSense AMD64 .iso <a href="https://www.pfsense.org/download/" target="_blank">Download</a></li>
|
|
|
+ <li>Extract the downloaded pfSense .gz</li>
|
|
|
+ <li>Log into the ProxMox web UI</li>
|
|
|
+ <li>Select a storage from the left navigation pane to upload the .iso to</li>
|
|
|
+ <li>Select ISO Images in the left sub-navigation pane</li>
|
|
|
+ <li>Upload the pfSense .iso file to the ProxMox ISO image library</li>
|
|
|
+ <li>Right click the ProxMox node name > Create VM</li>
|
|
|
+ <li>Type pfSense in the name field and set a unique VM ID > Next</li>
|
|
|
+ <li>On the OS tab, set the Type field to Linux, Version to 5.x - 2.6 Kernel and select the pfSense .iso in the ISO Image field > Next</li>
|
|
|
+ <li>On the System tab, leave the defaults > Next</li>
|
|
|
+ <li>On the Hard Disk tab, set the Disk size field to 8 > Next</li>
|
|
|
+ <li>On the CPU tab, set Cores field to 2, Type field to Host > Next</li>
|
|
|
+ <li>On the Memory tab, set the Memory to 1024 and Uncheck Ballooning Device > Next</li>
|
|
|
+ <li>On the Network tab, set the Model field to VirtIO (paravirtualized), Uncheck the Firewall box > Next</li>
|
|
|
+ <li>Verify the summary and click Finish</li>
|
|
|
+ <li>Click the pfSense VM in the left navigation menu > Select Hardware from the left sub-navigation menu</li>
|
|
|
+ <li>Click Add > Network Device</li>
|
|
|
+ <li>Set the Model field to VirtIO (paravirtualized), Uncheck the Firewall box > Click Add</li>
|
|
|
+ <li>Select Options from the left sub-navigation menu > Double click Use tablet pointer > Uncheck the Enabled box > Click OK</li>
|
|
|
+ <li>Right click the pfSense VM in the left navigation pane > Start</li>
|
|
|
+ <li>Click console in the left sub-navigation menu</li>
|
|
|
+ <li>Press Enter to Boot Multi- user</li>
|
|
|
+ <li>Select Install pfSense > Press Enter</li>
|
|
|
+ <li>Select the keyboard mapping to use > Press Enter</li>
|
|
|
+ <li>Select Auto (UFS) BIOS Guided Disk Setup > Press Enter</li>
|
|
|
+ <li>Wait for pfSense to copy files and install</li>
|
|
|
+ <li>At the Manual Configuration prompt select No > Press Enter</li>
|
|
|
+ <li>Select Reboot > Press Enter</li>
|
|
|
+ <li>Navigate back to the Hardware options</li>
|
|
|
+ <li>Double click the CD/DVD Drive > Select Do not use any media > Click OK</li>
|
|
|
+ <li>Select Shutdown > Reset > Yes to restart the VM</li>
|
|
|
+ <li>Click console in the left sub-navigation menu</li>
|
|
|
+ <li>Welcome to the pfSense terminal</li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Configuring Network Interfaces and Web UI</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>At the prompt to setup VLANs type n > Press Enter</li>
|
|
|
+ <li>Enter a WAN interface name > Press Enter</li>
|
|
|
+ <li>Enter a LAN interface name > Press Enter</li>
|
|
|
+ <li>When asked Do you want to proceed? type y > Press Enter</li>
|
|
|
+ <li>At the pfSense menu, select Set interface(s) IP address by typing 2 and pressing Enter</li>
|
|
|
+ <li>If asked to configure DHCP on the WAN interface type n > Press Enter</li>
|
|
|
+ <li>Enter a LAN IP address on the same subnet as your LAN</li>
|
|
|
+ <li>At the bit count prompt type 24 > Press Enter</li>
|
|
|
+ <li>Enter an IPv4 upstream gateway > Press Enter</li>
|
|
|
+ <li>At the IPv6 DHCP prompt type n > Press Enter</li>
|
|
|
+ <li>Leave the IPv6 address blank and press Enter</li>
|
|
|
+ <li>At the DHCP server prompt type n > Press Enter</li>
|
|
|
+ <li>At the revert to HTTP prompt type y > Press Enter</li>
|
|
|
+ <li>The http address of the pfSense Web UI will be displayed</li>
|
|
|
+ <li>Press Enter to return to the main menu</li>
|
|
|
+ <li>Open a new browser tab and navigate to the web UI http address</li>
|
|
|
+ <li>Log into the web UI with the username admin and password pfsense</li>
|
|
|
+ <li>Select System > User Manager from the top navigation</li>
|
|
|
+ <li>Click the edit icon across from the admin user</li>
|
|
|
+ <li>At the pfSense Welcome screen click Next and Next again</li>
|
|
|
+ <li>Enter a hostname, domain and DNS servers for the VM > Click Next</li>
|
|
|
+ <li>Set the server timezone > Click Next</li>
|
|
|
+ <li>Leave the defaults on the WAN Interface setup > Click Next</li>
|
|
|
+ <li>Set and confirm a new password for the admin user</li>
|
|
|
+ <li>Click the Reload button</li>
|
|
|
+ <li>Enjoy exploring pfSense</li>
|
|
|
+</ol>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|