Building on the hardware assembly in part 2: Homelab Setup, the next step is to install pfSense on your mini firewall PC. This open source router software turns your fanless micro PC into a robust gateway, handling traffic with features like firewall rules and high-speed port management. Here is the machine we are installing pfsense on,
If you got your device pre-installed with pfSense, I have to recommend that you flash it with a version that you downloaded and installed to make sure you are running the newest version, and to make sure it doesn’t have any software you don’t actually want. This is going to take about an hour, and I assume you have a separate PC that you will use.
Preparation
Start by gathering what you need on a helper machine (your laptop or desktop).
- Download pfSense ISO: Head to the official pfSense website and grab the latest community edition ISO—look for the AMD64 architecture to match the mini PC.
- Create Bootable USB: Use a tool like Rufus (free on rufus.ie) or balenaEtcher. Insert a USB drive (at least 4GB), select the ISO, and write it in DD mode for bootability.
- Backup Existing Data: If your’e using a new PC there is no need to back anything up. If you are using a PC you already owned, make sure you don’t lose any files that are important to you.
Double-check hardware specs: Ensure your PC has at least 4GB RAM and a compatible NIC for the 10Gb ports. If you ordered the one I recommended you will be fine.

Flashing and Installation
Why avoid pre-installed versions? They might include outdated patches or even manufacturer backdoors—flashing fresh gives you control and the newest security fixes.
- Access BIOS: Power on the mini PC, connect monitor/keyboard, and enter BIOS (usually F2, Del, or F11—check your model’s manual). Set boot priority to USB first; enable Secure Boot if your ISO supports it for added integrity.
- Boot from USB: Insert the USB, restart, and select the boot menu if needed (F12 often). The pfSense installer should load.
- Partition the Drive: In the installer, choose “Install” then “Auto (ZFS)” for reliability or “Manual” if you prefer custom setups. Wipe the existing drive—select the internal SSD (e.g., /dev/sda) and confirm partitioning.
- Complete Installation: Follow prompts for root password, console setup (VGA), and reboot. Remove the USB before restarting.
If the installer hangs, verify USB integrity by recreating it. For older models, legacy BIOS mode might help.

Initial Configuration
Once installed, configure via the web interface for ease.
- Access Web UI: Connect a laptop to one of the LAN ports (not WAN). Open a browser to https://192.168.1.1 (default IP). Login with admin/pfsense; change the password immediately. You will be logged out – log back in with new password.
- Set Up Interfaces: In the wizard, assign WAN to your ISP-connected port (e.g., em0) and LAN to another (em1). Enable IPv4 DHCP for WAN if needed.
- Basic Firewall Rules and NAT: Post-wizard, go to Firewall > Rules > LAN and add allow-all for testing. Under Firewall > NAT, ensure outbound NAT is set to Automatic for internet access.
- DHCP Server: Navigate to Services > DHCP Server > LAN, enable it, set range (e.g., 192.168.1.100-200), and save.
- Fanless Optimization: Install the “System Monitoring” package via System > Package Manager. Monitor CPU temps—fanless units like Protectli stay under 70°C typically.
This setup routes traffic securely through your 10Gb ports, ready for the homelab switch.

Verification and Basic Testing
Test to confirm everything works before moving on.
- Check Connectivity: From a connected device, ping google.com and browse the web. In pfSense console, use option 8 for shell and run “ping 8.8.8.8”.
- Speed Tests: Use tools like iperf (install via pkg) between ports or online speedtest.net from a LAN device to verify 10Gb/2.5Gb speeds.
- Secure Admin: Change default password, enable HTTPS-only, and set up 2FA via the FreeOTP package if you want.
Troubleshooting: Boot failures? Recheck BIOS boot order. No web access? Verify cable to LAN port and IP (use console option 2 to set interfaces). Network drops? Update NIC drivers via System > Updates.

With pfSense running, your homelab has a secure router. Up next: Proxmox on the micro PC for virtualization.
