Skip to content

emka.web.id

writing knowledge, recording civilization

Menu
  • Home
  • Tutorial
  • Search
Menu

Why I Switched to a Proper Firewall Box with OPNSense for My Homelab Stuff

Posted on October 21, 2026

Most people just stick with whatever router their internet company gave them. I did that for a while too. It worked okay until I started messing with extra networks and wanted to keep some devices away from others. Then things got messy fast. I kept running into limits and random blocks that made no sense.

Then In 2025, I set up OPNsense on an old mini PC I got from a decade ago. It really felt like a big step at first. But once it was running it handled all the traffic between my different networks and even did the DHCP and DNS jobs very well. And after using it for over a year, I learned which OPNsense settings actually matter if you want it to stay reliable and not turn into a headache on later.

Choose ZFS When you Install OPNSense

When you install OPNsense you have to pick between two filesystems. A lot of guides just say grab the simple one, usually ext4 or XFS. I tried that the first time and it was fine until I started thinking about what happens if a drive dies. Now I always go with ZFS and mirror two small NVMe drives. That way if one fails the other keeps everything going. I can swap the bad one without losing the whole setup.

I still take backups though. Redundancy is not the same as a real backup. OPNsense already saves config changes by itself so you can roll back to an earlier time pretty easily. The problem is those backups live only on the box. I installed the SFTP backup plugin and set it to push the last thirty encrypted copies to another machine on my network every night. That machine already gets backed up elsewhere so I have more than one place to grab things from if the whole firewall dies.

Becareful With Blocking Anything

This part scared me a bit when I first read about firewalls getting broken into through their web pages. By default the web interface listens on every network including the public one. I leave that alone like the docs say but I add a rule that blocks anything coming from the internet to the admin ports. SSH only listens on my internal networks. I made a separate user just for me with an SSH key and turned off password logins for root.

I also got a real certificate so the browser stops yelling at me. There is a free plugin that talks to Let’s Encrypt and renews it automatically. Once it was working the little warning triangle disappeared and everything felt cleaner.

DHCP that does not fight you later

The old DHCP service is not really maintained anymore, so we better switched to the newer one called Kea. It lets me set different ranges for different networks and add extra DNS servers if I want. The best part is the reservations. I pick a few devices like my laptop and the main desktop and give them fixed addresses outside the normal pool based on their MAC addresses. Then I can write firewall rules that only those specific machines can reach certain places. Other devices on the same network stay locked out. That has saved me from a lot of accidental messes.

I do not run DNS on the firewall itself. I just hand out the addresses of my separate DNS boxes through DHCP. The clients talk straight to them and the firewall stays out of the way for most lookups.

Rules that actually make sense

Everything is blocked by default except the rules you create. There are also a bunch of automatic rules the system adds so basic stuff like DHCP still works. I always expand those and look at them so I know what is already allowed. When something does not work I open the live log view and filter for blocked packets. Each one shows a rule ID. Then I can search for that ID and see exactly which rule caused it.

Lately I added free threat lists from a community plugin. It pulls in hundreds of thousands of known bad IP addresses and domains. I made simple block rules on both the WAN and LAN sides that use those lists. Now if any of my devices try to talk to something on the bad list it just gets dropped. The plugin keeps the lists updated on its own.

The built-in dashboard shows the basics like traffic and memory. It is useful but I wanted more history and alerts. I installed the Telegraf plugin and turned on the ZFS metrics. Then I scrape everything into a separate monitoring setup I already had running. That way I can see if a drive in the mirror starts acting weird or if a service stops responding. Alerts go to my phone so I do not have to keep checking the page.

Conclusion

If you only have one network and never plan to add VLANs or special access rules a regular consumer router is probably enough. OPNsense needs a bit more time to set up and you have to pay attention to the details. For a kid just starting out with one laptop and a phone it might feel like overkill.

But if you already play with different networks or want room to grow without hitting walls later this setup has been worth it for me. A decent used mini PC with two small drives runs about the price of a few months of allowance plus whatever you can find second-hand. Once it is running the extra flexibility keeps paying off every time I add a new project.

Terbaru

  • GNOME Founder Attacks Omarchy Founder as “Lazy, Racist, Ignorant”
  • Why I Stopped Using Plain Command Line Docker and Use Portainer 3.0 To Make My Home Projects Fun Again
  • Why I Switched to a Proper Firewall Box with OPNSense for My Homelab Stuff
  • Fixing Windows Error 0x80070005 Hyper-V Export Access Denied Error the Right Way
  • Fixing Hyper V Export Errors and Building a Better Virtual Machine Setup (error 0x80070002, 0x80070005)
  • Fixing the Dreaded Windows Audio Service Stuck on Stopping Error
  • Windows SIM Error, Unknown error 0xc1420127
  • How I’m Building a Cat Breeding Management App with Python Qt6 + Microsoft Litebox, in 1 Week
  • Why Windows Keeps Nuking Your GPU Drivers (And How to Take Back Control)
  • Copy Prompt: A Modern Men’s Casual Fashion Studio Shoot
  • Why I Finally Ditched Mainstream Windows Cleaners (And Why I Use ‘Kudu’ Instead)
  • AI Made Everything Faster, Including Bad Decisions
  • Raspberry Pi Desktop Available of PC and Mac, Based on Debian 13
  • Why I Stopped Yelling at My PC When Error; Getting Windows 11 Voice Isolation and Access to Actually Work
  • Berobat Kanker ke Malaysia: Berapa Biayanya dan Apa Saja yang Perlu Disiapkan?
  • Stop Sending Every Prompt to the Biggest AI Model You Can Find
  • Stop Building AI Agents from Scratch: My Pick for the Best Native Windows Setup
  • Jev Is Faster and Cheaper, But I Still Recommend Clef. Here’s Why.
  • Weird XCP-NG Bug or Feature? Enable Maintenance Mode = Host Not Enough Memory
  • Vinix OS: Another OS That Want to Beat Linux, Try it!
  • Trying NVX, An Ultra-Light Micro-VM Sandbox from Microsoft
  • Learning NocoDB from Scratch: Creating a Simple Greenhouse App
  • How RHEL 10.2 Quietly Turned Into an Absolute Security Beast
  • Grab Videos from Anywhere with ReClip (Can Running Locally)
  • Jumped onto Ubuntu 26.04 LTS? Here’s How to Add a New User Account
  • Tutorial Cara Install WPS Office di Linux (Alternatif Microsoft Office)
  • Tutorial Upgrade Server Ubuntu 24.04 LTS ke Ubuntu 26.04 LTS dengan Aman
  • Inilah Alasan kenapa akun TikTok dibatasi tidak bisa klaim koin dan masalah pembatasan lainnya?
  • Apa penyebab gagal kirim SMS ke 89888 padahal pulsa masih ada?
  • Mengenal Donghua: Kenapa Animasi dari Tiongkok Ini Lagi Naik Daun Banget
  • Canonical: Ubuntu coming soon to Snapdragon X2 Series platforms
  • Finally, wolfSSL adds post-quantum algorithms!
  • How to Run Gemma Embedding Models Using Docker
  • Deploy Nginx Rootful Container with Podman
  • How to Sandboxing Browser on Linux Desktop with Flatpak
  • Trying Nemotron 3.5 Super VL: NVIDIA’s Open Multimodal Model Built for Agents That Actually See and Act
  • Pruna AI Release their Qwen-Image 2.1 LoRA Adapter, 6x Faster than Regular Qwen
  • The Rise and Fall of the Coding Holy Grail: Is Stack Overflow Just AI Fuel Now?
  • Zyphra is The Pioneer, Why Everyone is Suddenly Obsessed with AMD and Not Just Nvidia Anymore
  • Stop Trusting Your Prompts to Save Your Business Data
  • Lagi rame dicari, ini bedanya Jenny Mod Minecraft Java sama Bedrock biar nggak salah download
  • Lagi rame istilah Blunder Lagi di TikTok sama Instagram, sebenernya apa sih artinya?
  • Info Demo Mahasiswa Jakarta Hari Ini 20 Oktober 2026: Lokasi, Jam, dan Tuntutan Terkait Dua Tahun Pemerintahan Prabowo-Gibran
  • Sering lewat di TikTok, ini arti istilah Oppa Gajima, Hajima, sampai ajakan makan ramyeon yang sebenarnya
  • Bingung jawab soal orientasi PPPK? Iki rangkuman materi Agenda 1 lan Manajemen ASN nggo referensi warga

©2026 emka.web.id | Design: Newspaperly WordPress Theme