r/opnsense • • 10h ago

Built an App for Myself

Thumbnail
gallery
64 Upvotes

I’m considering releasing it on the App store for ios and cloning it for Android. Anyone interested in using this? I will be releasing it 100% all features unlocked and free to download, everything stays on your device, I’m just adding a tip jar. Just need to know if anyone would be interested before buying a developer license.


r/opnsense • • 19h ago

Nomadix EG 6000 as an OPNsense box

Post image
57 Upvotes

The Nomadix EG 6000 is a hotel gateway that’s readily available used. Inside is a Lanner NCB-4210, the same general platform used for the WatchGuard Firebox M370/M470/M570 and other appliance device vendors. I've written up everything I found getting OPNsense fully working here:
https://github.com/chaiselozenge/eg6000-opnsense-writeup

I used claude to help me chase down how to test and verify various hardware behaviors.

What it ended up as:

  • Xeon E3-1240 v5, 4C/8T, turbo enabled
  • 2 × 4 GB DDR4 ECC UDIMM, ECC active
  • 8 × 1 GbE onboard (6 copper, 2 SFP), plus an Intel X550-T2 in the rear slot
  • 256 GB mSATA boot disk

What the write-up covers:

  • BIOS console redirection, which ships disabled
  • Front LCD under LCDproc, with a patch to change the backlight timeout
  • Middle LED as a WAN up/down light, and fan control via the WGXepc utility
  • Discussed the Nomadix LAN bypass relays, and how to check them
  • Extensive notes on the M570, M370 and the Nomadix AG 5900, including hardware details and expansion options.

Happy to answer questions.

TL;DR: After reading the pfSense on Watchguard M370 thread, I went down the Nomadix hardware rabbit hole and documented what I found.


r/opnsense • • 22h ago

Help choosing a 1U firewall appliance for Opnsense

Thumbnail reddit.com
6 Upvotes

I was wondering if anyone on this sub had any tips for me regarding my needs for an Opnsense firewall appliance. I've been looking at multiple different candidates until now, but couldn't find a great opportunity.


r/opnsense • • 1d ago

No DNS query entries showing in Unbound DNS Reporting

Post image
2 Upvotes

I don't understand why I don't see any DNS query entries showing in Unbound DNS Reporting. It's the first time I've stumbled upon this problem. I basically checked and tried everything in the OPNsense settings, but I haven't succeeded in getting it to work properly yet.

Could you please help me figure it out? Thanks


r/opnsense • • 1d ago

How do u do packet inspection on opnsense?

0 Upvotes

r/opnsense • • 1d ago

OPNsense on QEMU/KVM

Thumbnail
gallery
5 Upvotes

I've been trying to setup OPNsense in a virtual environment. I've attached some photos of the current configuration of the network interfaces and the vm running OPNsense. I have a couple client vms attached to the same 'opn-lan' network and when checking they are assigned an IP from the OPNsense DHCP server and I can ping the default gateway with no issues.

However, when I type in the webui ip in a browser on one of the client vms, the connection times out and I can't reach it. What am I missing here?

I'm still learning about OPNsense and want to figure it out in a sandboxed environment before deploying it on my actual hardware. Thanks in advance!

EDIT: Clarity

EDIT: This has been solved, after some research, it turns out that libvirt still assigns the .1 address to the virtual bridge interface on the host. Solved by changing interface LAN ip to ip ending in .2 in the OPNsense console.


r/opnsense • • 1d ago

Guest Network with third party gateway

Thumbnail reddit.com
0 Upvotes

r/opnsense • • 1d ago

GeoIP blocking: Anyone doing it, and if so, what makes you decide which countries?

32 Upvotes

I'm interested in knowing what reasons make for blocking a given country. It seems obvious to say the clichés like Russia, China, North Korea etc, but surely there must be a list that is based on actual patterns of abuse. Does that even exist? Is GeoIP blocking even actually worth it anyway?


r/opnsense • • 1d ago

CSRF check failed. Your form session may have expired, or you may not have cookies enabled.

5 Upvotes

Been running Opnsense as my router of choice for my and my kids' houses for over a year.

Yesterday, one of them refuses to allow logins via the web browser, with:

CSRF check failed. Your form session may have expired, or you may not have cookies enabled.

(I am still able to SSH to the router)

I have tried:

a) restarting the router
b) restarting my browser
c) using my browser (chrome) in incognito mode
d) using two entirely different browsers (edge and firefox)
e) using an entirely different PC
f) verifying the system time is correct on both the router and the PC
g) cookies are enabled, obviously

No configuration changes have been made recently to this router. Googling the error message provides little assistance other than checking the above items.

Any other ideas on things to try to resolve this, short of blowing away the configuration and setting it up from scratch?


r/opnsense • • 1d ago

New and Confused Firewall rules

4 Upvotes

I am migrating from Ubiquiti EdgeRouter 10X to Sophos SG 230 R1 for Opnsense. Firewall rules on EdgeOS were so much easier.. I'm lost and yes I google searched, finding stuff from the Home Network Guy and others.. A lot of the tutorials seem to be for older versions and I am struggling a bit to grasp the concepts.. Once I get the process concepts down I think I'll be okay..

Here is what I have and it's probably a bit over complex..
vlan10 - Private - Should have access to all other vlans
vlan11 - IOT, a few cross talk firewall rules for backups etc..
vlan12 - Guest, Internet only
vlan13 - vMotion, Blocked from Internet)
vlan14 - Security Cameras, Only Blue Iris allowed to the internet
vlan90 - Network management vlan, only Ruckus AP and Opnwrt APs allowed internet access.
vlan100 - Lab

Struggles
- Accessing Plex, Emby, and other servers from the primary vlan to the other vlans via my external domain.. So I don't think my NAT is setup correctly for Hairpinning / loopback. Plex works correctly via externally with Zoraxy.. Emby I cannot seem to get to communicate with at all externally.

A few other services work correctly with Cloudflare tunnels. Which is odd that some items work and some do not, but one item at a time..

- Cross vlan communications IE devices reaching across. I'm 100% it is the way I have my firewall rules configured.. I am not just sure exactly how to fix it..

I was trying to follow this guide initially from Home Networking Guy.
https://homenetworkguy.com/how-to/beginners-guide-to-set-up-home-network-using-opnsense/
It did not seem to work, I could not get out to the internet. I think there was conflicts with the automatic rules created so I found that I set the vlan up with the gateway things seem to work better. I think this is what is breaking my loopback and my cross vlan communications.. Based on my firewall logs, I see traffic for my phone hitting the WAN interface then trying to hit my private vlan. so I am pretty sure this is what is causing my internal to other vlan loopback and cross open rule issues.

One example I am having issues with is the Blue Iris IP hitting my Pihole on the other vlan.
Yes I know much of this is built into Opnsense, I was trying to migrate what I know until I learn what I do not know...

Now I see all kinds of blocked by default even though I think it should be allowed based on my firewall rules.

If you know of what I could google search for differently or have links, to assist in my issue that would be great!


r/opnsense • • 2d ago

Would anyone mind verifying Gemini's instructions for creating a VLAN?

0 Upvotes

I'm quite the noob with networking beyond setting up regular commercial home routers (ASUS, Tp-link etc) and I only recently setup my DIY Opnsense router that i've mated to a TP-Link TL-SG105PE Switch and TP-Link EAP653 Access Point. I'm not intending do anything especially advanced with it but I did want to create a separate VLAN for my IoT devices and so not really knowing where to start I turned to AI but I dont know better than to trust it point blank. I'm going to paste the instructions it gave me below and I was hoping someone might be kind enough to tell me they seem OK or if anything is wrong with them?

### Goal & Hardware Overview

* **Router / Firewall:** OPNsense 26.7 (using Dnsmasq for DHCP/DNS)

* **Managed Switch:** TP-Link TL-SG105PE (Easy Smart)

* **Access Point:** TP-Link EAP653 (standalone mode)

* **DNS Filtering:** Two local AdGuard Home instances on the main LAN (`10.10.20.180` and `10.10.20.85`)

* **IoT Clients:** Brother laser printer, Amazon Echo speaker, TP-Link Tapo smart plugs

---

### 1. Network Layout

* **Trusted LAN (Untagged / VLAN 1):** `10.10.20.0/24` (Gateway: `10.10.20.1`)

* **IoT Network (Tagged / VLAN 30):** `10.10.30.0/24` (Gateway: `10.10.30.1`)

---

### 2. OPNsense 26.7 Interface & Dnsmasq Setup

* **VLAN Device (`Interfaces → Devices → VLAN`):**

* Parent: Physical LAN NIC (`igb1`)

* VLAN Tag: `30` (`IoT`)

* **Interface Assignment (`Interfaces → Assignments`):**

* Enabled `IoT` with Static IPv4 `10.10.30.1/24`

* **Dnsmasq (`Services → Dnsmasq DNS & DHCP`):**

* **General:** Added `IoT` alongside `LAN` under Interfaces; `DHCP register firewall rules` checked.

* **DHCP Range:** `10.10.30.100` – `10.10.30.200` (`255.255.255.0`) on `IoT`.

* **DHCP Option:** Set Option `dns-server [6]` on `IoT` to `10.10.20.180,10.10.20.85`.

* **Cross-VLAN Printing:**

* Installed `os-mdns-repeater` and bridged `LAN` and `IoT` only (with a static DHCP reservation on `10.10.30.0/24` for the Brother printer).

---

### 3. OPNsense Firewall Rules (`IoT` Interface — Top-to-Bottom)

Created an `RFC1918_Networks` alias containing `10.0.0.0/8`, `172.16.0.0/12`, and `192.168.0.0/16`.

*(Auto-generated Dnsmasq DHCP UDP 67 rule sits at the top)*

| # | Action | Protocol | Source | Destination | Port | Description |

| :--- | :--- | :--- | :--- | :--- | :--- | :--- |

| **1** | Pass | IPv4 TCP/UDP | `IoT net` | `10.10.20.180` | `53` | Allow IoT to Primary AdGuard Home |

| **2** | Pass | IPv4 TCP/UDP | `IoT net` | `10.10.20.85` | `53` | Allow IoT to Secondary AdGuard Home |

| **3** | Pass | IPv4 UDP | `IoT net` | `This Firewall` | `123` | Allow IoT NTP time sync |

| **4** | Block | Any | `IoT net` | `RFC1918_Networks` | `any` | Block IoT from LAN, firewall GUI/SSH, and private subnets |

| **5** | Pass | IPv4 Any | `IoT net` | `any` | `any` | Allow IoT internet access |

---

### 4. TP-Link TL-SG105PE & EAP653 Configuration

* **802.1Q VLAN (`TL-SG105PE`):**

* **Port 1 (EAP653):** VLAN 1 Untagged, VLAN 30 Tagged (PVID `1`)

* **Ports 2–4 (Trusted wired devices):** VLAN 1 Untagged, VLAN 30 Not Member (PVID `1`)

* **Port 5 (OPNsense LAN uplink):** VLAN 1 Untagged, VLAN 30 Tagged (PVID `1`)

* Saved configuration to flash (`Save Config`).

* **EAP653 SSIDs:**

* `Home` (Trusted): No VLAN ID (stays on untagged VLAN 1)

* `Home-IoT` (IoT): VLAN ID `30` (2.4 GHz)

Many thanks.


r/opnsense • • 2d ago

Promox 7.3 kernel

6 Upvotes

Has anyone who has a virtual install of OPNsense on Proxmox moved to the 7.3 kernel. If so have you had any issues or seen any improvements?


r/opnsense • • 2d ago

OPNManager is now available on iOS and Android

0 Upvotes

thanks for all the feedback here, OPNManager is now up on both the App Store and Google Play

it’s a touch-friendly UI for managing OPNsense firewalls through the official API. not trying to replace the full web ui, just meant to make the common stuff quick and usable on mobile

if there’s something missing and the API supports it, let me know and i’ll try to add it

features include multi-firewall profiles, a dashboard with some widget positioning/customization, firmware updates, firewall rule create/delete/update/toggle for automation rules, alias create/delete/edit, static routes, unbound dns blocklist management, a combined arp and mld device table viewer, reboot, encrypted local storage for API creds, and no data collection

iOS: https://apps.apple.com/us/app/opnmanager/id6743677680

Android: https://play.google.com/store/apps/details?id=com.OPNManager.app

disclaimer: OPNManager is an independent project and isn’t affiliated with or endorsed by the OPNsense project or its developers. it’s provided as-is with no warranties, so use care when giving it API access


r/opnsense • • 2d ago

Firewall: Migration assistant question

8 Upvotes

Hello, the other day I upgraded my OPNsense (home) firewall to:

Versions
OPNsense 26.7.6-amd64
FreeBSD 15.1-RELEASE-p4
OpenSSL 3.5.9

It looks like I need to migrate my legacy rules. Did you have any issues doing this or any downtime?

I have 24 rules to export and import.

Thanks


r/opnsense • • 2d ago

Made a free Windows tray app that tells you when your OPNsense Suricata alerts actually matter

Thumbnail
gallery
10 Upvotes

I run Suricata in IPS mode and got sick of scrolling the alerts page trying to work out what was real and what was just internet background noise. So I built IPS Watch, a small tray app that polls OPNsense through the API and only pings you when something's worth a look.

  • Scores alerts into findings (brute force, scans, sensitive ports, compromise signatures) using the firewall log, so the noise stays quiet
  • Tray icon goes red, plus toasts or Slack/Discord/ntfy/email alerts
  • Acknowledge or block an IP in one click, or select a batch and ack them all at once
  • A host page for any IP: its findings, IPS events, DHCP name, DNS activity and CrowdSec status in one place, plus a "who owns it?" registry lookup for outside addresses
  • Also watches firewall health, open port forwards, new devices, config changes, DNS (Technitium/Unbound) and CrowdSec

Free and open source (GPLv3), Windows only, no admin needed. Latest is 1.4.1. It's not code-signed yet, so SmartScreen will grumble; each download has a SHA-256 to check against. Screenshots use demo data.

GitHub: https://github.com/optimusprime-nn/opnsense-IDS-Monitor
Releases: https://github.com/optimusprime-nn/opnsense-IDS-Monitor/releases/latest
Docs: https://optimusprime-nn.github.io/opnsense-IDS-Monitor/

Feedback and bug reports welcome!


r/opnsense • • 2d ago

Q-Feeds: what changed this year, and a couple of things you asked for

Thumbnail reddit.com
0 Upvotes

Hereby an update for OPNsense users who make use of Q-Feeds Threat Intelligence.


r/opnsense • • 3d ago

AI for OpnSense

Thumbnail reddit.com
0 Upvotes

I think that's fantastic. I have been building an opnsense mcp server for the last month against the 26.7 api reference guide. I'm now into complex function calling so I can ask natural language questions about network traffic in order to define real- time traffic monitoring, packet inspection, and intrusion prevention. That's the end goal, but current work is just traffic analysis and rules creation and log analysis. I find AI to be superior atadversarial. things like trafic inspection, and state monitoring, it's so much better at finding patterns than I am. It's also awesome to just ask natural language questions and get functional responses I can use.

The fact that opnsense.org doesn't publish an mcp is a little sad in this day and age. I am trying to replicate the HP self driving network.- I think that is a turnkeyb idea. Once the AI controls the full scope of the opnsense platform, we can focus on traffic shaping instead of rules and restrictions. If I can get to a point where AI can make near real- time reactive adjustment to traffic patterns i want to prevent, I'll feel like it's a tool that's working on my side.


r/opnsense • • 3d ago

OPNsense 21.7.7-amd64 to 26.7.7-amd Upgrade Path / guide

13 Upvotes

Hi everyone,

I'm currently running a very old version of OPNsense:

  • Current version: OPNsense 21.7.7-amd64
  • Target version: OPNsense 26.7.7-amd64

I would like to upgrade to the latest version, but I'm not sure about the safest upgrade path.

A few questions:

  1. Is it possible to upgrade directly from 21.7.7 to 26.7.7?
  2. Do I need to upgrade through intermediate major releases (22.1, 22.7, 23.1, 23.7, etc.)?
  3. Is there an official step-by-step upgrade procedure for such an old installation?
  4. Should I perform a fresh installation and restore my configuration instead?
  5. Are there any known compatibility issues with old configurations, plugins, firewall rules, VPNs or network interfaces?

I want to avoid losing my existing configuration or ending up with an unusable firewall.

If anyone has experience upgrading from such an old version, I would really appreciate your advice or a detailed guide.

Thanks in advance!


r/opnsense • • 4d ago

Looking for hardware recs

Post image
13 Upvotes

Found this on Ali Express, Prices are in CAD. Is this a good choice to run opnsense+suricata?


r/opnsense • • 4d ago

Is this possible on OPNsense?

0 Upvotes

Is it possible to do per-device DNS control and VPN server auto-failover? If so, how?


r/opnsense • • 4d ago

Problems with USB-Ethernet Adapter

2 Upvotes

Hi everybody,

I'm using a small fujitsu thinclient with an ugreen USB-Ethernet Adapter as my OpnSense for about two years now. No major Problems in the past, but lately the Port just keeps flapping and it is unusable.

I tried two other devices and another Adapter, every time the same result.

Has anybody experienced similar things?

Maybe a bug in the latest release?

I'm currently collecting more detailed logs before creating an issue but thought "might as well ask here too"


r/opnsense • • 4d ago

Surpriseingly smooth update

35 Upvotes

So i had been bad and had not updated for a good long while dreading reconfigure of the new rules and DHCP changes. I finally got it done and network was down for less than a min.

I run virtualized so that makes things easier, but still. I decided to spin up a fresh install vm. Installed my plugins, load config, quickly shut down old vm while new one booted and bam like nothing ever happened! Very happy and impressed! Great job devs! Thank you for all your hard work!


r/opnsense • • 4d ago

homelab N100

5 Upvotes

Intel N100 Mini PC 16GB RAM 512GB NVMe Fanless

want to use the above N100 8GB ram 128GB SSD and its going for 291.81 (with voucher drops its nicely).

has anyone had experience using this device - no issues?


r/opnsense • • 5d ago

Feel like I'm missing one small thing to get this working. web GUI access over a specific port and VLAN, Or am i overcomplicating this?

6 Upvotes

Okay, So i've almost got things figured out with most of my setup, some vlans to manage traffic, and trying to keep a dedicated maintenance port on the router. I've got 5 ports total on the router, one on the motherboard, 2 on an I226 card and 2 on an X550-T2 card.

I plan to route wan through the I226 card, Lan and VLAN guest over the X550 card, and then use the motherboard port as a dedicated GUI port for the router.

so trying to setup a vlan, created the interface with vlan tag 99, than assigned it so it is active in the interfaces list. no checks for private networks or bogon networks, static IPv4 setting, did x x 99.1, and set the DHCP range in DNSMASQ.

as far as i can tell i set everything up right, but my laptop can't get an IP when i plug it into the port. so clearly i'm missing something, but i have to get to work so i figure i'll post this and ask, what simple (hey, i'm hoping okay) step did i miss XvvvvX;;; ?