A digital cybersecurity blueprint showing a glowing orange OPNsense firewall shield protecting a segmented network topology with blue data streams connecting various VLANs.
A logical map of our secure homelab architecture. An OPNsense firewall sits at the core, protecting isolated VLANs from the WAN using segmented routing and default-deny policies.

OPNsense 26.2 Master Guide: Architecture, Hardware & Deployment (2026)

Master OPNsense firewall setup. Build a digital fortress with OPNsense 26.2. This expert 2026 guide covers network topology, hardware sizing, ZFS installation, DNS config and baseline systems hardening.

Welcome to the first real step in my recommended Ultimate Homelab Security Guide. If your network is the castle, your firewall is the main gate, the high walls, and the guard towers all in one. We're not going to use the flimsy consumer-grade or ISP provided junk.

Prepare to build a fortress with OPNsense.

OPNsense is an open-source, enterprise-grade firewall and routing platform based on FreeBSD. It's the "pro" in "prosumer" and the perfect brain for your secure homelab network. I've been using OPNsense since 2017 through all the various iterations from that time, to now. While not perfect, it ticks a LOT of boxes and double-taps some of them!

This guide will walk you through the entire process, step-by-step, from a bare-metal machine to a functioning, secure-by-default firewall. This is the foundation we will build all future security upon - VLANs, Intrusion Detection (Suricata), Application Filtering (Zenarmor), and more. You can run OPNsense on a physical computer or as a virtual machine, but I very strongly recommend running it on it's own hardware, which is what this guide will focus on. When I originally started with OPN, it was as a VM on an ancient Dell tower dual socket Xeon server that I was running all kinds of stuff on. Once I switched it to dedicated hardware, I never looked back. Something about the OS living right on the bare-metal and the instant snappiness. This is the old-school nerd in me coming out...

OPNsense operates at almost every layer of the OSI model, here's what I mean:

OPNsense features mapped to the OSI model.
OPNsense features mapped to the OSI model.

When you're done implementing this guide, your network will be protected from Shodan scanners, Bogons, known Botnets, Malware sites, and more.

Let's get to work.

How is OPNsense better/different than my ISP Modem/Firewall?

OPNsense is primarily and fundamentally, a stateful packet filter operating as a Layer 3 (Network) and Layer 4 (Transport) firewall on the OSI model.

While a pure Layer 3 firewall only looks at static packet headers like source and destination IP addresses (this is your ISP modem/firewall), a stateful firewall steps up to Layer 4 to track active connections and session state - monitoring TCP flags (SYN, ACK, FIN), UDP pseudo-sessions, and sequence numbers. This far more granular, nuanced and powerful than a plan layer 3 firewall.

Here is a quick breakdown of how stateful filtering fits into network layers:

Layer-by-Layer Breakdown

Firewall TypePrimary OSI Layer(s)How It Decides to Allow or Block
Stateless Packet FilterLayer 3 (Network)Inspects individual, isolated packets based only on static rules (e.g., source/destination IP). Has no memory of past traffic.
Stateful Packet FilterLayers 3 & 4 (Network & Transport)Tracks the state of traffic flows (e.g., TCP handshakes). Automatically permits return traffic for established, legitimate connections without needing open static inbound ports.
Application Firewall / WAF / NG FirewallLayer 7 (Application)Inspects the actual payload/content (e.g., HTTP headers, SSL/TLS sessions, SQL queries, DNS requests).

The Key Difference: Context

  • Pure Layer 3 (Stateless): Asks, "Is packet $X$ coming from IP $A$ destined for IP $B$?"
  • Stateful Layer 3/4: Asks, "Is packet $X$ part of an ongoing, valid TCP session that was initiated from inside the network?"

Because it tracks the state table (IP addresses, ports, and connection status), it bridges Layer 3 and Layer 4, but it is generally classified as a network/transport-layer security device to distinguish it from Layer 7 (Application) firewalls.


This master hub serves as your foundational roadmap. I will cover network architecture planning, hardware sizing, first-boot installation, and system philosophy. Once your base system is up, this pillar links directly out to specialized deep-dive guides across my ecosystem for traffic rules, security hardening, modern DNS/DHCP stacks, and advanced routing.

Learning Path • Firewall & Defensive Architecture

Mastering OPNsense Firewall Architecture

Deploy enterprise-grade routing on bare metal, construct resilient alias hierarchies, enforce Layer 7 threat defence, and automate encrypted off-site disaster recovery.

Lesson 1 of 7 14% Complete
Difficulty Curve Beginner
Beginner Advanced
Tested in production on bare-metal hardware
Core Lab Learning Track · Zero Tracking & Direct Implementation

1. Network Topology & System Architecture & Planning

Before touching an installer USB or configuring an interface, you need a clear visual understanding of how OPNsense integrates into your local network. In a modern homelab or small business deployment, OPNsense acts as the central gateway, boundary firewall, and DNS/routing controller.

Key Structural Principles

  1. Single WAN Boundary: OPNsense sits directly behind your ISP modem (ideally set to IP Passthrough or Bridge Mode) to handle external IP assignment without Double NAT.
  2. Trunking to Switches: Instead of using OPNsense as a software switch across multiple hardware ports, pass a single 802.1Q trunk cable from an OPNsense LAN interface to a dedicated managed switch.
  3. Segmentation by Design: Isolate untrusted smart home devices (IoT), guest traffic, and public-facing homelab servers into distinct VLANs right from day one.
flowchart TD
    ISP[Internet / ISP WAN Gateway]
    FW["OPNsense Firewall<br/>Routing, DNS, Firewall"]
    SW[Managed L2/L3 Switch]
    AP[Standalone AP / UniFi]
    V10["VLAN 10<br/>MANAGEMENT"]
    V20["VLAN 20<br/>LAN"]
    V30["VLAN 30<br/>IoT / DMZ"]
    SSID1["SSID: Trusted<br/>VLAN 20"]
    SSID2["SSID: IoT<br/>VLAN 30"]

    ISP --> FW
    FW -->|802.1Q Trunk| SW
    FW -->|802.1Q Trunk| AP
    SW --> V10
    SW --> V20
    SW --> V30
    AP --> SSID1
    AP --> SSID2

    classDef edge fill:#000000,stroke:#00ff88,color:#00ff88,stroke-width:2px
    classDef firewall fill:#001a12,stroke:#00ff88,color:#00ff88,stroke-width:3px
    classDef core fill:#001f1a,stroke:#00ffaa,color:#00ffaa,stroke-width:2px
    classDef vlan fill:#0a0a0a,stroke:#666,color:#999,stroke-dasharray: 3 3
    class ISP edge
    class FW firewall
    class SW,AP core
    class V10,V20,V30,SSID1,SSID2 vlan

If you have two or more physical NICs and want bandwidth aggregation and failover to your core switch, OPNsense supports 802.3ad LACP through its lagg interface. This trips up a lot of people coming from switch-side-only experience, so walk through it carefully.

Not for single-NIC setups: LAGG is only useful when you have multiple physical NICs you want to aggregate for bandwidth (LACP) and redundancy/failover, or to balance traffic across links. If your LAN only has one physical NIC, skip this section entirely, it will not help you.
  1. Set OPNsense to LACP mode: Navigate to Interfaces → Assignments → LAGG, create a new LAGG from your two physical NICs (e.g., igc1 and igc2), and set Protocol to LACP.
  2. Set your switch to LACP active: FreeBSD's lagg interface, and therefore OPNsense, negotiates in passive LACP mode by default. Someone has to be the active party initiating negotiation, and that has to be your switch. If both sides are passive, nothing negotiates and the link simply never comes up.
  3. Clear IP addresses off the member NICs: Once igc1/igc2 are assigned to the LAGG, they become slaves to the logical lagg0 construct. A stale IP left on a member interface is one of the most common reasons a LAGG silently fails, double-check both members are clean before moving on.
  4. Re-parent your VLANs to lagg0: Under Interfaces → Devices → VLAN, each VLAN's parent interface must now be lagg0, not the raw physical NIC. The trunk (802.1Q tagged VLANs) rides on top of the aggregated link.
🔒 One switch per LAGG: A single LAGG can only terminate on one switch (or a pair of switches that are logically stacked/bonded into one unit). If you want redundancy across two independent switches, build two separate LAGGs, one to each switch, rather than splitting one LAGG's members across both.
🚨 Sequencing matters to avoid a lockout: Configure your switch port(s) and any access points to already allow the target VLAN before you cut your LAN interface over to it. Reversing this order (switching OPNsense first, then scrambling to fix the switch) is a common way to lock yourself out mid-change. Make config changes from a local/console connection when reassigning interfaces, not over the VLAN you're about to modify.

With that out of the way, the pillar-and-spoke structure of this series looks like this: this hub covers architecture, hardware, and first boot, then hands off to the dedicated Part 2 and Part 3 modules below for rules and threat protection.

flowchart LR
    HUB["🏛️ Pillar Hub<br/>You Are Here"]
    P2["🚦 Part 2<br/>Firewall Rules & NAT"]
    P3["🛡️ Part 3<br/>Threat Protection"]
    ADV["🔀 Advanced Networking<br/>& VLANs Guide"]

    HUB --> P2
    HUB --> P3
    HUB --> ADV

    classDef hub fill:#001a12,stroke:#00ff88,color:#00ff88,stroke-width:3px
    classDef spoke fill:#001f1a,stroke:#00ffaa,color:#00ffaa,stroke-width:2px
    class HUB hub
    class P2,P3,ADV spoke

    click P2 "https://corelab.tech/opnsensept2/"
    click P3 "https://corelab.tech/opnsensept3/"
    click ADV "https://corelab.tech/opnsense-advanced-networking-guide/"

2. Hardware Sizing & Hardware Recommendations

OPNsense runs on FreeBSD, meaning driver compatibility and hardware selection significantly impact throughput and stability.

Network Scale / Throughput Recommended CPU Specs Minimum RAM Recommended NICs Storage
Gigabit (1 Gbps) Basic Intel N100 / Celeron J6412 / Dual-Core x86-64 4 GB - 8 GB Intel i225-V / i226-V (2.5 GbE) 32 GB NVMe / SSD
Multi-Gig (2.5G - 10G) Intel Core i3 / AMD Ryzen / Dedicated Mini-PC 8 GB - 16 GB Intel X520 / X540 / X550 / Mellanox ConnectX-3 64 GB+ NVMe
Heavy Security / IDS/IPS Intel Core i5/i7 / Xeon / EPYC Embedded 16 GB - 32 GB Intel / Broadcom / Enterprise SFP+ 128 GB NVMe (ZFS Logs)

To see how this router integrates into a physical multi-gigabit rack with UniFi switching and 10G SFP+ DAC interconnects, check out my 2026 Homelab Networking Stack, where I walk through running OPNsense bare-metal alongside UniFi switching, 10G SFP+ DAC trunks, and an 8-VLAN segmentation schema.

Hardware Prerequisites

  • A Dedicated Machine: A PC, server, mini-PC or appliance with at least two Network Interfaces. One for your "WAN" (Internet in) and one for your "LAN" (Internal network out). Regardless if this is two separate NICs or just multiple RJ45 ports on the same NIC, you need two!
    1. Not critical any longer but still greatly preferred, any Intel based NIC. WHY: OPNsense is based off of FreeBSD and uses it's drivers for compatibility, of which Intel works extremely well. Newer Intel NICs utilize the igb driver which is a "polling" based NIC vs the older "interrupt" style, so on higher throughput operations, polling based igb does better at utilizing multi-core processors.
  • The OPNsense Image: Download the latest vga image from the OPNsense website.
  • A USB Stick: At least 4GB. You'll use a tool like Rufus or balenaEtcher to flash the image.
📡
Patience: This is a powerful tool. Read twice, execute once.

3. Initial Flash Installation to Hardware

1. Flash the Installation Image

Download the appropriate official OPNsense image (VGA or Serial depending on your motherboard console requirements). Before writing the image to your media, make sure to decompress the archive:

# On Unix-like systems, decompress the bzip2 payload before using dd
bunzip2 OPNsense-XX.X.XX-vga-amd64.img.bz2

Use a raw block-writing tool like Rufus (in DD Mode), BalenaEtcher, or standard terminal dd to write the uncompressed .img file directly to an empty USB storage drive. Don't overthink this part, you won't break anything and you can use almost any tool.

2. Live Boot and the Installation Console

Plug your installation USB drive into the target firewall hardware, attach a local display and keyboard, and configure your system BIOS/UEFI to override the standard boot path to execute from the USB media.

Once the FreeBSD kernel finishes loading, the platform loads completely as a Live System and prompts you with a standard login console banner.

To initialize the persistent setup script, you have two distinct options at the prompt:

  • Option A (Direct Path): Log in directly using the installer identity.
    • User: installer
    • Password: opnsense
  • Option B (Root Escalation Path): If you initially logged into the root system account (root / opnsense) to audit hardware parameters or view system logs from the live image shell, you must explicitly drop out of the live terminal and switch to the installer script context by running:
su - installer

Executing either option instantly terminates the raw shell environment and launches the interactive Text-User Interface (TUI) installer wizard.

3.TUI Installer & Installation Options

Step 1: Configure Local Keymap

Select your preferred keyboard mapping scheme (e.g., US Standard or your specific regional layout) from the menu. Confirm the selection to proceed.

Step 2: Select File System Architecture (ZFS)

When prompted with the installation type, choose Install (ZFS). Since native ZFS integration became standard, it is the recommended filesystem for production firewall deployments. I've been using it since the second it was available, having already been an early-homelab adopter of ZFS since roughly 2013!

Even on a single disk topology, selecting ZFS gives your network edge enterprise-grade block protection, Adaptive Replacement Cache (ARC) for ultra-fast rule lookups, and native system Snapshots. This allows you to generate a localized system snapshot immediately prior to running major system upgrades - if a package updates cleanly but breaks a custom plugin, you can roll back your system state instantaneously.

Step 3: Define Virtual Device Topology (ZFS Partitioning)

Select your target drive layout. For single-drive installations, select Stripe as the device type. If your hardware contains redundant disks, choose your mirrored layout here.

Step 4: Target Disk Selection

Identify and highlight the internal target drive where OPNsense will permanently reside (e.g., ada0 for legacy SATA or nvd0 for NVMe devices).

Step 5: Destructive Commitment & Flash Operation

The wizard will present a final Last Chance! warning alerting you that proceeding will completely wipe the target disk payload. Confirm Yes to format the drive and begin unpacking the base firewall binaries onto your local storage.

Step 6: Hardening the Console Account

As the installer wraps up, it will explicitly prompt you to modify the default Root Password. Provide a complex, cryptographically strong passphrase. This credential governs direct physical console access, serial communication, and SSH administration. If all else fails, this is the last bastion of security for your firewall! At password of at least 16 characters is recommended, with plenty of entropy.

Step 7: Final Polish and System Reboot

Select Complete Install to close out the execution wizard. As the machine cycles down to restart, physically eject the installation USB drive from the hardware chassis. This prevents the system loop from booting straight back into the live installer environment.


4: First Boot & Initial WebGUI Config (Wizard)

On its first boot, OPNsense will stop and ask you to assign your network interfaces. This is the most critical setup step and it's useful, especially if you're new to OPNsense.

Assign Interfaces:

    • OPNsense will list the NICs it has detected (e.g., em0, em1).
    • OPNsense generally tries to autodetect which is the WAN and LAN ports, but if that fails or is incorrect, you can pick.
    • It will ask you to identify your WAN (Internet) interface first. Plug the cable from your modem into the port you want to be your WAN, and OPNsense should detect the "link up" status. Type the name of that interface (e.g., em0) and press Enter.
    • It will then ask you to identify your LAN interface. Plug a cable from your switch or your computer into the port you want to be your LAN. Type its name (e.g., em1) and press Enter.
    • It may ask for optional interfaces (OPT1, OPT2...). Just press Enter to skip this for now.
    • Confirm the assignments. OPNsense will now finish booting.
  1. Connect to the Web GUI:
    • Your computer, connected to the LAN port, should now get an IP address via DHCP from OPNsense.
    • By default, OPNsense is available at http://192.168.1.1.
    • Open your browser and navigate to that address. You may get an SSL warning; proceed anyway.
    • Log in with the username root and the password you set during installation.
  2. Run the Setup Wizard: The wizard will start automatically.
  3. Hostname/Domain: Give it a name, e.g., opnsense.corelab.tech. Mine is actually named to an internal private network ;)
Screenshot of OPNsense v27.x showing how to access the webgui wizard under System->Configuration->Wizard, then click next.
OPNsense webgui wizard; the beginning!

Configuring Trusted DNS (Cloudflare OR CIRA)

    • DNS Servers: Set these to trusted resolvers. I recommend Cloudflare(1.1.1.1, 1.0.0.1) or Quad9(9.9.9.9, 149.112.112.112). Uncheck the "Allow DNS override" box for the WAN.
    • Timezone: Set your correct timezone.
    • Configure WAN: For most home users, this will be DHCP. If you have a static IP from your ISP, enter it here. Crucially: Scroll to the bottom and uncheck "Block RFC1918 Private Networks" and "Block Bogon Networks." While this sounds counter-intuitive, many ISPs use private IPs in their network, and this can cause issues. If your ISP modem/router is already in bridge or bypass mode, you can leave these enabled. Regardless, I'll set up better rules later.
      • Normal ISP connection, generally DHCP + leave the two checkboxes enabled.
      • PPPoE ISP - Slightly more complex setup, guide to be added later.
      • Normal ISP but CG-NAT / Double-Nat-ed - Uncheck the RFC1918 & Bogon rules.

🍁 A Note for Fellow Canadians: CIRA Canadian Shield DNS

Managed by the Canadian Internet Registration Authority (CIRA), these free DNS resolvers keep your data on Canadian soil and strictly bound by Canadian privacy laws.

Quick Setup Overview

TierBest ForWhat It BlocksIPv4 AddressesIPv6 Addresses
1. PrivatePure DNS speed & privacyNothing

149.112.121.10


149.112.122.10

2620:10A:80BB::10


2620:10A:80BC::10

2. Protected (Recommended)General use & securityMalware, phishing, botnets

149.112.121.20


149.112.122.20

2620:10A:80BB::20


2620:10A:80BC::20

3. FamilyHouseholds with childrenSecurity threats + explicit content

149.112.121.30


149.112.122.30

2620:10A:80BB::30


2620:10A:80BC::30

Key Takeaway: Choose Protected for everyday safe browsing, or Family if you want automatic adult content filtering across your network.

🍁 About CIRA Canadian Shield

Why use it?
Unlike standard or international DNS resolvers, CIRA Canadian Shield is operated by the Canadian Internet Registration Authority - the non-profit organization responsible for managing Canada’s .ca domain.

Because all of CIRA’s servers are hosted exclusively on Canadian soil, your DNS queries stay local, ensuring lower latency and strict compliance with Canadian privacy laws.

It offers a free, high-performance way to upgrade your privacy, with built-in cybersecurity options that block malicious websites at the network level before they can reach your devices.

Migration Alert: Moving from ISC DHCP to Dnsmasq or Kea

⚠️
If you're upgrading from v25.x to v26.1.x, jump to my OPNsense upgrade guide and follow any steps needed to migrate from ISC DHCP

LAN & IP Address Best Practices

    • Configure LAN: Change this immediately! You don't want to use the default 192.168.1.1 as it can conflict with other routers. Peasants use defaults! You're not a peasant if you're going to run your own firewall 😏
      • I use a 10.x.x.x scheme. Let's set it to 10.10.1.1 with a subnet mask of /24. Ensure the DHCP range is updated to match (e.g., 10.10.1.100 to 10.10.1.200).
    • Admin Password: Change your root user's Web GUI password. Do not re-use your console password.
    • Reload: The wizard will apply your settings. You will be disconnected and will need to browse to your new LAN IP (e.g., http://10.10.1.1).
📡
Perimeter Safety Note: By default, OPNsense blocks all incoming traffic on the WAN interface and allows all outgoing traffic from the LAN. Do not disable default anti-lockout rules until you have configured explicit administrative access paths.

5. Hardening Your Initial Setup

Before you build a single firewall rule, lock down the box itself. These four steps take fifteen minutes and close the gaps most homelabbers leave open indefinitely.

Create a Dedicated Admin User (Stop Using Root)

Using the root account for daily administration is bad practice and goes directly against the "Principle of Least Privilege". Using root or admin is bad practice in almost every system, tech stack and sense as a daily account. I'll create a new user with admin privileges.

  1. Navigate to System -> Access -> Users.
  2. Click the + (Add) button in the top right.
  3. Username: Choose a unique username (e.g., opnsense_admin, not admin).
  4. Password: Create a very strong, unique password and confirm it.
  5. Full name: Enter a descriptive name (e.g., "OPNsense Administrator").
  6. Group Membership: This is crucial. In the "Group membership" section, find the admins group in the left box ("Available Groups") and click the > arrow to move it to the right box ("Member of").
  7. Save: Click "Save".
  8. Log Out & Log In: Log out of the OPNsense web GUI. Log back in using your new username and password. Verify you have administrative access (you should see all menu options).
  9. (Optional but Recommended): Once confirmed, you can consider disabling password logins for the root user entirely via the console menu if you are comfortable using only your new admin user. This is a great step as it automatically removes the option for an attacker to try and use the default account.

Enable Two-Factor Authentication (2FA)(Optional)

Add another layer of security to your Web GUI login using Time-based One-Time Passwords (TOTP) like Google Authenticator or Authy. This subject can be expanded upon greatly, but this should get you started, and the official docs have the latest.

  1. Navigate to System -> Access -> Servers.
  2. Click + (Add).
  3. Descriptive name: Local TOTP
  4. Type: Select Local + Timebased One Time Password.
  5. Token length: Leave at 6 digits (standard).
  6. Save.
  7. Navigate to System -> Settings -> Administration.
  8. Under Authentication, change the Server dropdown from Local Database to Local TOTP.
  9. Save.
  10. Set up TOTP for your User: Go back to System -> Access -> Users. Edit your new admin user.
  11. Scroll down to the OTP seed section. Click the Generate key button.
  12. A QR code will appear. Immediately scan this QR code with your preferred TOTP app (Authy, Google Authenticator, etc.).
  13. Save the user settings.
  14. Log Out & Test: Log out. When you log back in, you'll be prompted for your password and then your TOTP code from your authenticator app. Verify it works.
    • Recovery Tip: Keep a secure backup of the TOTP secret key or use an authenticator app with cloud backup in case you lose your phone!

Restrict SSH Access

By default, SSH is enabled. If you don't need console access via SSH, disable it. If you do, restrict it. If you need to SSH into it, go back in and enable it while troubleshooting or only as needed.

  1. Navigate to System -> Settings -> Administration.
  2. Scroll down to the Secure Shell section.
  3. To Disable: Uncheck Enable Secure Shell.
  4. To Restrict (If Keeping Enabled):
    • Listen Interfaces: Change from Default (All) to LAN (or a specific management interface). Never set this to WAN!
      • Actually, never to WAN, ever!
    • Permit root user login: Strongly consider unchecking this if you created a separate admin user.
    • Authentication Method: Consider changing Permit password login to use Public Key Authentication only for maximum security (requires setting up SSH keys).
  5. Save.

The first thing an attacker will do when they gain a foothold into any system, is quietly dig around and pivot to another system, to maintain persistent access. Locking down SSH or turning it off on your firewall is another closed door to them at least!

Organize Access with Firewall Groups

Interface Groups (used to apply one policy across several interfaces at once, e.g., every VLAN that needs the same outbound rule) now live under Firewall → Groups, not Interfaces, in current OPNsense releases. One easy-to-miss constraint: group names are limited to 15 characters, noticeably shorter than the 31-character limit on regular aliases. Internal_Networks will get rejected, something like InternalNets fits.

Don't forget to hit Apply: OPNsense stages most configuration changes until you explicitly click Apply on the final screen. Losing a change because you navigated away before applying it is a rite of passage, save yourself the repeat trip.

5. Modernizing Your OPNsense Core Stack

As OPNsense evolves, legacy network management tools are being phased out in favor of modern, performant alternatives. Core Lab Tech guides align with the modern software stack and keeping up with the latest changes through 2026.

Key Stack Architecture Shifts

  • Split-Horizon DNS over NAT Reflection: Rather than relying on complex hairpin NAT rules to reach internal services using public domain names, I leverage Unbound DNS / Dnsmasq split-horizon overrides. This ensures local devices route directly to local IPs, reducing firewall overhead.
  • Kea DHCP or DNSMasq over Legacy ISC DHCP: ISC DHCP has reached End-of-Life and is deprecated in current OPNsense builds. I default to DNSMasq & DHCP for light, modern, fast dynamic host configuration.
  • Layer 7 Inspection (Zenarmor) over Legacy Port Blocking: Rather than relying only on traditional Layer 4 port and IP rules, deploy modern application-aware packet inspection and cloud threat intelligence using Zenarmor on OPNsense.
Deep Dive Available: Upgrading your active deployment or migrating leases? Check out my dedicated guide: OPNsense Kea DHCP & Dnsmasq Setup Guide →

6. Next Steps: OPNsense Master Series Roadmap

Now that your base system is installed, hardware is validated, and initial connectivity is verified, move on to the dedicated modules in my series to complete your homelab architecture:


❓ Frequently Asked Questions (FAQ)

What is the best hardware for an OPNsense firewall?

For gigabit routing, any modern mini-PC (like an Intel N100) with dual Intel NICs is sufficient. For 10GbE or heavy IDS/IPS, consider a multi-core CPU like an i3 or i5.

Should I use ZFS or UFS when installing OPNsense?

ZFS is the recommended choice for OPNsense 26.1.x — it gives you snapshots, better data integrity checking, and boot environments you can roll back if an upgrade goes wrong. UFS is simpler but lacks those safety nets, which matters a lot on a device guarding your entire network.

Should I migrate from ISC DHCP to Kea or Dnsmasq?

Yes, if you're on a version where ISC DHCP is being phased out — OPNsense 26.1.x has moved the default DHCP stack away from the legacy ISC DHCP server toward Kea and Dnsmasq. Kea is the more modern, actively developed option and the one to plan around for multi-VLAN setups going forward.

How many VLANs do I actually need for a homelab firewall?

It depends on how much you want to segment your traffic, but a common practical baseline separates trusted devices (LAN), untrusted/IoT devices, guest access, and cameras into their own VLANs at minimum - each with its own firewall rule set so a compromise in one segment can't freely reach the others.

Written by

Core Lab Joe
Core Lab Joe
Dad, IT guy, Self-Hosting Evangelist! https://www.reddit.com/r/corelabtech/
corelab.tech
Facebook
Mastodon

On this page

What's Next?