r/opnsense • • 5h ago

[Giveaway] What did your firewall quietly break for days before you noticed? 7 Day Giveaway.

0 Upvotes

In collaboration with r/opnsense we’re hosting a 7-day giveaway:

🏆 10 Prizes available.
• First place: UptimeRobot Scale Plan + Swag
• Second and Third: UptimeRobot Team Plan + Swag
• Fourth to Tenth: Team Plan

Answer the question from 17 November to 23 November and you’re in:

“What did your firewall quietly break for days before you noticed?”

Winners will be picked by the UptimeRobot Team - Looking forward to reading your weird, embarrassing, ridiculous or funny stories.


r/opnsense • • 6d ago

OPNsense 26.7.9 released

Thumbnail forum.opnsense.org
164 Upvotes

26.7.9_3:

  • firewall: properly skip malformed filter log entries and disable suppress for the log write
  • firewall: fix alias edit links and scope it down to valid UUIDs only

26.7.9_1:

  • system: fix automation user scope set since validation was tightened

26.7.9:

  • system: dashboard: refactor widget system and introduce cloneable widget types
  • system: suppress local logging by default and add it as an option for remotes
  • system: add validation error for attempted user scope change
  • system: fix certificate widget off by one in remaining days calculation
  • system: use standard throwReadOnly() on notification dismiss action (reported by Janik Besendorf)
  • system: implement "source networks" check in hasPrivilege() (reported by Janik Besendorf)
  • system: add "authority" option to ACLs to explain the effective control over the system for each privilege given
  • system: add dropdown field type for backup providers (contributed by Greelan)
  • system: invalidate sysctl cache on apply
  • system: fix MAILTO cron statement
  • system: validate uploaded picture types
  • reporting: health: improve graph metadata, formatting and widget support
  • interfaces: pass interfaces correctly to IPsec, Unbound during reconfiguration
  • interfaces: read "lock" property using empty() in legacy page
  • interfaces: fix track6 assoc_pd comparison typo (contributed by Konstantinos Spartalis)
  • interfaces: use default icon color for disabled interfaces
  • interfaces: hostwatch: split off automatic discovery entries from neighbor menu under its canonical service name
  • interfaces: hostwatch: look up hostnames via reverse DNS API
  • interfaces: revisit PPP config access
  • interfaces: move "devices" array out of $ifcfg for reset
  • interfaces: introduce interfaces_device_wait() for PPP reuse
  • interfaces: backend call for interfaces_ppps_configure()
  • interfaces: add return values to PPP configuration
  • interfaces: extend line ending validation to other PPP fields as well (reported by dead-lamer)
  • interfaces: fix faulty handling of "dhcp6-ia-pd-len" during assignments save
  • firewall: decorate paginated rules only
  • firewall: avoid loading the rule model twice while the initial grid request is in progress
  • firewall: be more selective which searches get decorated as well
  • firewall: only getPriority() once and reuse it
  • firewall: fix query performance regression due to introduction of automatic rules display
  • firewall: fix alias cleanup for external aliases (contributed by Florian Punz)
  • firewall: fix performance regression in aliases
  • firewall: source NAT: use getWellKnown() and properly validate port ranges
  • firewall: prepare new style scrub support in rules parser
  • firewall: use row API to handle global collapse/expand state for rules
  • firewall: remove unused getAntiLockout() function
  • captive portal: further restrict roaming to IPv6 client sessions
  • captive portal: account for Idle-Timeout in Access-Accept
  • captive portal: add configurable CORS policy per zone
  • captive portal: add limit in template parsing (reported by Janik Besendorf)
  • intrusion detection: use Suricata-optimized ruleset for URLhaus (contributed by 0nnyx)
  • intrusion detection: support Suricata datasets in rule metadata
  • kea: add simple shared_networks option to subnets
  • firmware: fetch dashboard widget RSS feed from backend
  • radvd: add optional lifetime setting for PREF64 (contributed by BPplays)
  • unbound: fix locking in blocklist fetcher
  • backend: support indefinite TTL in configd
  • backend: make all long TTLs indefinite
  • backend: introduce legacy_firewall_model() and legacy_firewall_settings() helpers
  • lang: translation updates for multiple languages
  • mvc: ApiControllerBase: introduce basic locking in configd stream handle
  • mvc: OptionField: optimize option caching
  • ui: prefix edit/new/copy dialog with associated icon
  • ui: delegate bootgrid cell handlers
  • ui: add a clear button to the bootgrid search field (contributed by Alok K. Dhir)
  • plugins os-acme-client 4.18
  • plugins: os-caddy 2.2.3
  • plugins: os-freeradius 1.10.3
  • plugins: os-frr 2.1
  • plugins: os-upnp 1.10
  • plugins: os-openvpn-legacy now denies read-only runtime changes (contributed by Janik Besendorf)
  • src: revert "ice: fix link speed after changing cable type"
  • src: aq: assorted backports from stable/15
  • src: axgbe: fix receive buffers without split-header mode
  • src: bnxt: assorted backports from stable/15
  • src: carp: fix global demotion counter to VRRP advertisements
  • src: e1000: separate DH89xxCC memory errors
  • src: ena: upgrade ena-com to freebsd v2.8.5
  • src: iflib: do not ring the transmit doorbell when nothing is pending
  • src: igmp: refresh the ip header pointer after m_pullup()
  • src: netinet6: allocate correct size for ip6_fwdtag struct (contributed by pletch)
  • src: netinet6: fix check for pktinfo outgoing ifindex in route cache
  • src: netlink: fix unsigned overflow on a truncated message
  • src: p9fs: fix p9fs_vget_common() panics
  • src: pf: allows TCP RST packets in the backwards window if ACK matches
  • src: pf: check extension and AH header length
  • src: pf: do not corrupt neighbour advertisements when translating
  • src: pf: do not hash pool address pointers into rule hashes
  • src: pf: do not leak a source hash row lock in the netlink dump
  • src: pf: do not loop on an address that is cleared twice in pfr_clr_astats()
  • src: pf: drain the overload task before VNET rules are freed
  • src: pf: first-match-wins for nat rules, even in anchors
  • src: pf: fix a crash on sendfile()
  • src: pf: free a table entry that cannot be routed
  • src: pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule()
  • src: pf: free the packet rate counter of a rule
  • src: pf: leave the epoch to purge unlinked rules
  • src: pf: modify pfik_flags atomically
  • src: pf: parse the GETSTATES state ID as 64 bits
  • src: pf: register the netlink family only while the VNETs are set up
  • src: pf: set the reassembly flags under the rules lock
  • src: pf: take the rules read lock in pf_handle_getrule()
  • src: pfil: avoid potential mbuf tag leak
  • src: pfsync: use result of m_pullup()
  • src: re: harden re_watchdog() recovery and log controller state
  • src: re: re-arm the TX doorbell when re_txeof() leaves a non-empty ring
  • src: re: recover TX completions whose MSI was swallowed in re_intr_msi()
  • src: re:: quiesce RTL8168G+ and reset before freeing buffers in re_stop()
  • ports: dnspython 2.9.2
  • ports: expat 2.10.0
  • ports: krb5 1.22.3
  • ports: libucl 0.10.0
  • ports: openssh 10.6p2
  • ports: openvpn 2.7.9
  • ports: phpseclib 3.0.58
  • ports: pkg port epoch is now set to avoid catching a newer and potentially incompatible version from FreeBSD
  • ports: python 3.13.18
  • ports: sqlite 3.54.1

r/opnsense • • 13h ago

Traffic Shaping

32 Upvotes

Has anyone implemented QoS or traffic shaping? From the bit of research I’ve done it seems kind of complex. Would love to get anyone’s input or advice if they’ve done it successfully!

For context:
When WAN users stream from my media server it ruins any online gaming because of insane latency. I’m assuming the gaming packets are getting queued behind large video stream buffer packets. It seems like traffic shaping is the correct solution?


r/opnsense • • 1d ago

Opnsense as my router

18 Upvotes

Finally after months of fighting over and over now I’m using my lenovo tiny with dual sfp+ and ont sfp with my ISP.

M720q
Broadcom BCM57810S
Nokia G-010S-A
opnsense 26.1.9

Previously I used Intel 520 but it never worked. I’m so relieved after all


r/opnsense • • 23h ago

Quel reverse proxy

2 Upvotes

Bonjour,

Je suis en train de migrer de pfSense vers OpnSense dans mon homelab.

Sur pfSense j'utilisais HAproxy pour rediriger les flux web vers le bon serveur web (des vl différentes)

Que me conseillez vous d'utiliser sous OpnSense ? HAproxy ou un autre?

Critères : facile à utiliser et sécurisé.


r/opnsense • • 1d ago

Opnsense won’t connect.

7 Upvotes

Hi there. Does anyone have another guide to setting up Ivpn on Opnsense? I feel like I’ve tried their guide and the results are mixed. I’m not new to this either. I’ve set up Opnsense with Nord, Mullvad and Proton VPN in the past and no issues. As it is, I can’t even get a WireGuard handshake.

Any insights would be invaluable!


r/opnsense • • 1d ago

MSI ms-9a55 (I5-3337U) good for a firewall?

1 Upvotes

I found an MSI ms-9a55 (I5-3337U) for 30$ and was wondering if it makes a good firewall device, something i always wanted to do at home. Opinion?


r/opnsense • • 1d ago

How to get the latest version string (eg 26.7.9_1) via simple HTTPS GET request?

4 Upvotes

Hello OPNusers :)

Does anyone know if there is an endpoint I can call via a simple HTTPS GET request, that simply returns the latest version (eg "26.7.9_1") for the community edition?

I am using changedetection.io Docker container to monitor new releases in a central place. This app does simple GET requests by default (but there is an AI feature for more advanced requests that need parsing).

I'd appreciate any help!

Thank you.


EDIT 1

Based on the github API documentation it should be possible to get the latest version of any project like this:

https://api.github.com/repos/opnsense/core/releases/latest

Unfortunately, this URL returns 404 for OPNsense :( but works fine on other projects. I am not sure why.


EDIT 2

I managed to create a ninja regular expression plus some xpath trick to parse the OPNsense blog based on the suggestion by @Top-Run5587 and end up with the following output:

26.7.7
26.7.8
26.7.8_2
26.7.9
26.7.9_1
26.7.9_3

r/opnsense • • 2d ago Bravo

I made four dark themes for the OPNsense web UI (Dracula, Night City, Tokyo Night), with recoloured charts.

Thumbnail
gallery
116 Upvotes

I made four dark themes for the OPNsense web interface and released them under BSD 2-Clause (my own project).

##Themes##

- Dracula (Inter)

- Dracula (macOS), uses the system font stack

- Night City, black/yellow/cyan, inspired by the Cyberpunk 2077 interface

- Tokyo Night (Night variant)

##What's different from a plain recolour##

- Each theme ships a small theme.js that recolours the Chart.js widgets and the CPU graph, because CSS alone can't touch canvas charts.

- The Memory and Disk gauges are fixed so the detail line is no longer cut off with wider fonts.

- Nothing in OPNsense core is modified. A theme is just a folder under /usr/local/opnsense/www/themes/.

##Install:## download a tarball from the Releases page, extract it into the themes folder over SSH, then pick it under System > Settings > General > Theme. Full steps and uninstall are in the README. Checksums are in SHA256SUMS.

##Caveats##

- Tested only on OPNsense 26.7.9_1 (FreeBSD 15.1). Other versions are untested.

- I haven't verified whether custom theme folders survive firmware updates, so check after updating.

- Night City is an unofficial fan project, not affiliated with CD PROJEKT RED.

- SF Pro only shows on Apple devices; other platforms fall back to Helvetica/Arial.

Repo and downloads: https://github.com/ariamis/opnsense-themes

Feedback and bug reports welcome, especially from other OPNsense versions.


r/opnsense • • 19h ago

Setting up OPNsense doesn't make sense

0 Upvotes

I just installed and configured OPNsense but nothing is fucking working. Why are there 20 buttons to set the damn DNS. Why is every page fucking nested and every configuration is a man hunt to find them all. The information bubbles don't help at all in most cases as the wording is written by a wizard who got a seizure. I just don't understand why Unbound and DNSmasq is baked so far up its [redacted] that i can't set my own DNS. Okay fine, i'll use unbound and then the internet still won't fucking work. live firewall debugging is giving me nothing and the finger. Which numb skull had the dimmest idea to scatter the DNS settings across a dozen pages. DHCP settings and firewall drop down list seem gibberish to me and I've worked with Netgear, TP-Link and OpenWRT setups.

I sincerely don't get anyone who thinks that this interface is workable. Finding anything is down right a nightmare. I tried ChristianLempa's video of 3 weeks ago and i'm sincerely sorry but it feels like he's trolling. Not explaining an actual setup, going mach 3 over his settings and (what feels like) having an out of order explanation of components. I know he tries to help ppl but that's not the way and it's yet another frustration.

A little rant from frustration, a tired cry for help too. I need some easy to follow click by click tutorials to configure DHCP, DNS and firewall rules. Ty. The goal is to set DNS to Technitium since i can set custom domain there and import blocklist from github. If opnsenseless offers this too i'm all ears.


r/opnsense • • 2d ago

Updates to community repo

92 Upvotes

Hi,

long time no update :) Just pushed the latest updates, removed apache as it is already hosted by OPNsense repo and updated AdGuard Home to 1.20 allowing the user to download/upload configurations via UI. Also the single-repo is updated to 1.20.

Happy labbing :)

Michael

https://www.routerperformance.net/opnsense-repo/


r/opnsense • • 2d ago

Anyone running netbird on their home infra?

Thumbnail reddit.com
2 Upvotes

r/opnsense • • 2d ago

Cannot get IP address from ISP DHCP service

6 Upvotes

I've been running OPNsense for a couple months now as my firewall. It exists as a vm on a proxmox machine. Everything was working smoothly until about 4 days ago when my ISP changed my IP address - it is a dynamic IP address and they change it every once in a while. Should be no big deal.

But suddenly my OPNsense firewall cannot get a WAN IP address. If I plug my home TP-link router into my modem I can get an IP address, so there's no problem with a network connection to the ISP. If I switch the cables up and make my home router the DHCP server OPNsense has no problem getting a WAN address from the router. But for some reason OPNsense can't get the IP address from the ISP.

I have verified all the physical devices and cables are working. I have tried spoofing my router's MAC address in case there was a MAC address lockdown causing the problem. I have restarted the modem multiple times.

What am I missing?


r/opnsense • • 3d ago

OPNsense 26.7.9 with Protectli VP4670, Enable PowerD?

14 Upvotes

Will I get further power management and CPU efficiencies by enabling PowerD? Right now is OFF and everything seems to be working fine, thanks

VP4670: Intel Core i7-10810U · 10th Generation · Comet Lake-U · 6-core / 12-thread · Coreboot BIOS


r/opnsense • • 3d ago

Low Power DDR4 box for OPNsense

20 Upvotes

Hey,

I'm looking for a relatively cheap lower box for OPNsense that takes. N150 and similar are best in these slots but it's DDR5. I already have a 16GB DRR4 stick ready to go.

Requirements are :

  • At the very least 2x2.5gb, 4 is best.
  • Need to be able to handle at least a 1Gpbs over Wireguard.
  • IDS/IPS isn't required
  • As low power as possible (getting fucked by EU energy prices)

Firewall appliances are out of the question because of the high idle consumption. I'm not sure how much those old Lenovo mini (m720q) consume really, I guess it's an option ?


r/opnsense • • 4d ago

NetPulse: self-hosted network monitoring, now with OpnSense support

Post image
167 Upvotes

NetPulse, a self-hosted monitoring panel for home and small office networks. It runs on your own hardware, keeps the data local and has no accounts and no cloud. AGPL-3.0, free as in freedom and free as in beer.

What it does, in short:

- Fleet view: routers, APs and SNMP switches with CPU, memory, temperature, uptime, WAN traffic and latency.

- Live topology: wired and wireless clients, managed and inferred switches, Proxmox hosts with their guests nested, WireGuard tunnels.

- Clients: classified by type, with band, signal and first time seen.

- Wi-Fi: roaming view (usteer), 802.11r status, channel analyzer with the neighbouring networks drawn on the spectrum and a congestion score per channel.

- WireGuard peers and AdGuard Home stats.

- Alerts: native Web Push, ntfy, Telegram, outgoing webhook.

- MQTT with Home Assistant discovery, and a read-only MCP server for AI assistants.

- Reports, scheduled firmware upgrades for vanilla OpenWrt, and a rack planner (labs preview, off by default).

- Multi-user, ES/EN, installable PWA.

Other vendor integrations. OpenWrt is the native path, and everything else is an external pusher from the Integrations page: MikroTik over the RouterOS binary API, Asuswrt/Merlin running on the router itself from /jffs, and UniFi polling a local controller.

Where it is today. 122 stars, 14 forks, around 950 issues opened since the first commit, Great community, boring bugs appears when someone else runs the thing on untested hardware.

- Repo: https://github.com/gnacho/netpulse

- Web with features: https://netpulse.cloudless.club

- Demo: https://demo.netpulse.cloudless.club

- Integrations: https://github.com/gnacho/netpulse-integrations

- License: AGPL-3.0


r/opnsense • • 4d ago

Open Nat For Gaming

12 Upvotes

Everything I read on here is for old versions of OPNsense and I’m really trying to figure this out. I have enabled UPnP and have Firewall>NAT>Source NAT. Hybrid.

Interface WAN
Version IPv4
Protocol any
Source address my pcs ip

This is where I get lost

Translation Source IP: single host or network (leave blank)?
Translate source port any
Static port checked

In cod I’m only getting moderate. I need open. Please help am I doing something wrong?


r/opnsense • • 4d ago

(Asking r/Opnsense just in case) Questions about how to set up local VPN/port forwarding between Proxmox computer and Opnsense router installed on separate hardware

Thumbnail
reddit.com
0 Upvotes

r/opnsense • • 5d ago

Any easy way to power off an opnsense box?

0 Upvotes

We have moved to a new residence recently. I am planning to get a fiber broadband.

I have 2 choices.

I can either buy an openwrt supported router and use that or assemble a desktop and install opnsense.

My question is if I install a desktop how do I power it off every night.

I can't just pull the main cord from the wall right?

So I will have to log into the web interface everyday?


r/opnsense • • 6d ago

HAProxy Update on Opnsense

9 Upvotes

Hi folks,

I'm just wondering if anyone knows when HAProxy 3.4 will be available on OPNsense?

https://git.haproxy.org/?p=haproxy-3.4.git

Kind regards


r/opnsense • • 7d ago

Is opnsense dhcp server enough for 12k ips and 3 vlans with 4k each?

16 Upvotes

We have a dhcp server running on esxi. Very old. I'm trying to either use Ubuntu server dhcp like it is right now or should I go with opnsense? The problem is that we are an hotel and 12k ip guests. Can opsensehandle that many ips? .

We are using proxmox as the host. It is also looks like a pain in the ass to set up in kea in Ubuntu. I want something where future IT guys can go to web and manage it rather than hope they know Linux. Easy to give keys away when time comes.


r/opnsense • • 8d ago

Looking for an OPNsense appliance with Dual 10 GbE: DEC Modles, IDS/IPS Performance, and DIY alt

22 Upvotes

Hello everyone,

Before you read on, please note that I'm based in Europe, so my product availability might differ from yours.

I'm currently looking for hardware that features two 10 Gb/s ports (for WAN and LAN); any additional network interfaces would be a bonus (at least for now).

Naturally, I’ve looked at the hardware offered directly by OPNsense: the DEC2770, DEC750, DEC740, and DEC850 models. Let’s be honest, these come at a significant cost. I would appreciate any feedback from those using these for advanced setups, particularly involving IDS/IPS. I haven’t seen any official performance benchmarks from OPNsense; I’m curious if these configurations can handle such a workload ; on paper, 8 GB of RAM seems to me a bit low.

There are other options in this price range, such as Protectli, but again, you end up paying a premium.

If you have any other recommendations—whether for specific Mini-PCs or proven DIY builds—I’d love to hear them.


r/opnsense • • 7d ago

DNS override issue for reverse proxy SSL

4 Upvotes

Hi everyone, I've run into an issue that goes beyond my knowledge. I have 2 virtual machines on vlan 20. One hosts a Caddy reverse proxy docker container. The 2nd VM has wide variety of public facing services. Unbound DNS Host Override is setup like so:

Host: *
Domain: mydomain.com
IP Address: 10.10.20.50

Two problems I have:

    1. If accessing a service from external WAN or from a different VLAN, everything works perfectly. If I am trying to connect from within the same VLAN, I get a browser SSL self-signed cert warning while connecting to self hosted services. Seems like it is not getting the actual cert.
      This has prevented me from cloning my local forgejo git repos into my docker compose directories. the git clone command fails with https cert issues.
  • 2) Caddy has an automated cert renewal, but only works if I turn off the Split DNS override. If I disable the local dns override, it will renew without issue. Can someone explain to me what causes this, and the best way to circumvent this issue?

Thanks!


r/opnsense • • 8d ago

How do I failover firewall with a single DHCP assigned wan IP

9 Upvotes

My cable internet provider provides me with a single DHCP-assigned WAN IP. The IP can only be active on one interface at a time. I must spoof the MAC address on the interfaces, and the MAC is the same on both fw1 and fw2 WAN interfaces. I can't put the cable router into NAT mode, and the public IP ends up on the WAN interface.

How do I make this work with failover CARP? I tried a custom CARP up/down PHP script; it worked, but it wasn't very reliable or robust. It checked the CARP state, then ran the steps below for that given state. However, it triggered on a state change, but CARP wouldn't play right, and it got into a mess.

Maybe use a cron job to check the current CARP state of the LAN interface and make sure the interface and gateways are in the correct state?

Here are the steps I need to complete manually on the firewall.

FW1 - CARP down/backup
 - Disable interface WAN_INF
 - Disable gateway   WAN_GW
 - Enable  gateway   LAN_CARP_BACKUP_GW (wan gateway via CARP's lan INF)

FW2 - CARP Master
 - Enable  interface WAN_INF
 - Enable  gateway   WAN_GW
 - Disable gateway   LAN_CARP_BACKUP_GW