Recent posts

#1
General Discussion / Re: How secure is OPNsense wit...
Last post by Seimus - Today at 12:41:25 AM
Quote from: nero355 on November 27, 2026, 09:09:15 PM
Quote from: Seimus on November 27, 2026, 08:22:00 PMKernel is one thing, the packages/apps that run above it are another.

You can have kernel specific vuls or package/app specific vuls.
It's FreeBSD so no apps since it's not a phone or tablet we are talking about :P

Just applications or even better : Packages & Ports :)



I shortened it to apps cause its Friday.

Regards,
S.
#2
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 12:16:25 AM
Just to be clear, "nothing changed" means the bridge is still not passing traffic to/from the gateway.
And, the static address of the LAN management interface is different from the gateway.
#3
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - November 27, 2026, 11:27:42 PM
And, I further manually configured a LAN_DHCP gateway, and it changes nothing.
I made sure the LAN interface is included in the bridge interfaces; it is.
The gateway is shown as active, as expected.

Nothing changed.

This is actually the configuration I preferred, since it makes the Dashboard easier to open from the browser.
#4
Zenarmor (Sensei) / Zenarmor writes MTU 1500 onto ...
Last post by Taunt9930 - November 27, 2026, 11:25:54 PM
Hi all,

Is this known, and is it expected? I've found that Zenarmor adds an MTU override to my WireGuard interface assignment. It has happened twice now, and the configuration history shows it was Zenarmor that did it.

Setup
- OPNsense 26.7.9_3 (FreeBSD 15.1), amd64
- Zenarmor in routed mode (emulated netmap)
- WireGuard road-warrior instance on wg1, assigned as an interface. wg1 is one of the interfaces Zenarmor protects.
- The interface assignment had no MTU set. WireGuard's default is 1420.

What happens
System > Configuration > History shows a run of revisions, all by "(root) /usr/local/opnsense/mvc/app/library/OPNsense/Zenarmor/CLI.php made changes". In the same run, Zenarmor recreates its netmap tunables (dev.netmap.if_num, dev.netmap.ring_size) and its "Zenarmor periodicals" cron job, all with new UUIDs, and adds this to the WireGuard interface:

    <opt2>
      ...
      <spoofmac/>
+     <mtu>1500</mtu>
    </opt2>

1) 13 Nov, during an OPNsense firmware upgrade (26.7.9_1). After the reboot, wg1 came up with MTU 1500 instead of 1420. Clearing the MTU on the interface page fixed the config, but the live interface stayed at 1500 until I set MTU 1420 explicitly on the WireGuard instance and applied it, which recreated wg1.

2) 22 Nov at 00:01, with nobody logged in and no firmware update. The same sequence of about 16 CLI.php revisions ran, and it wrote <mtu>1500</mtu> back onto the WireGuard interface. This time the live wg1 stayed at 1420, because the interface wasn't recreated. The override would have taken effect at the next WireGuard restart or reboot. I'm not sure which setting wins when both the instance MTU and the interface MTU are set.

Why it matters
WireGuard needs room for its ~60-80 bytes of encapsulation overhead. Forcing the tunnel interface to 1500 causes fragmentation or blackholed large packets for clients. This is easy to miss, because the change only takes effect at the next WireGuard restart or reboot, possibly days later.

Questions
1. Why does Zenarmor set an MTU on interfaces it protects? Is it meant to copy the current MTU, and does it fall back to 1500 for tun/wg interfaces?
2. What runs CLI.php at 00:01 unattended? An auto-update, a periodic reinit or a scheduled job? Can I see that in a log?
3. Can it be told to leave the interface MTU alone, or keep the existing value? Or is there a fix planned?

Workaround for now: after any Zenarmor update or reinit, check Interfaces > [your WG interface] and clear the MTU field. Also set the MTU explicitly (e.g. 1420) on the WireGuard instance under VPN > WireGuard > Instances. Then check the live value with ifconfig wg1.

To check whether it has happened to you:
- System > Configuration > History: look for Zenarmor/CLI.php revisions and diff them against the revision before them.
- Or: grep -A20 '<if>wg' /conf/config.xml | grep mtu

Thanks!
#5
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - November 27, 2026, 11:15:57 PM
So, I reconfigured LAN to a static address so it would not assign a LAN gateway.
I also saved and scanned the configuration file to make sure the gateway was not configured for anything and it was not.
Pinging the gateway still doesn't work, and other activity through the bridge works, unless it needs to go through the gateway.
I also noticed that the dashboard announcements widget is failing, but I am assuming that is the same problem.
#6
General Discussion / Re: How secure is OPNsense wit...
Last post by nero355 - November 27, 2026, 11:14:42 PM
Quote from: OPNenthu on November 27, 2026, 10:15:24 PMYour head is going to explode once FreeBSD runs on a mobile.  What then?!
Same as Ubuntu Touch has done I am guessing : Click packages! :P
#7
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - November 27, 2026, 10:23:52 PM
I misstated the path to the disable control, but I have now disabled the firewall.
It has auto installed the LAN_DHCP gateway, and is correct (192.168.1.1 in my case).
Still, all traffic flows through all four ports of the bridge (using ping) except if to/from the gateway.
(For instance I can list a directory of a machine through the bridge, but can't ping the gateway.)
And, it still won't update, even though it knows the gateway (The gateway router will update).
I can ping the gateway directly (not going through the bridge).
#8
German - Deutsch / Re: OPNsense update fehler ers...
Last post by viragomann - November 27, 2026, 10:17:12 PM
Verstehe. Dieses HA dürfte auch nicht die Ursache des Problems sein.

Und es tritt auf beiden auf?
Wenn, wär meine Lösung schon wieder wie oben. :-)

Der Schritt von 26.7.1 auf 26.7.2 beinhaltet ja gar keine Änderung am Unterbau. Daher ist mir das Fehlerbild in diesem Zusammenhang absolut unklar. Aber vielleicht hat noch jemand eine Idee.
#9
General Discussion / Re: How secure is OPNsense wit...
Last post by OPNenthu - November 27, 2026, 10:15:24 PM
Quote from: nero355 on November 27, 2026, 09:09:15 PM
Quote from: Seimus on November 27, 2026, 08:22:00 PMKernel is one thing, the packages/apps that run above it are another.

You can have kernel specific vuls or package/app specific vuls.
It's FreeBSD so no apps since it's not a phone or tablet we are talking about :P

Just applications or even better : Packages & Ports :)



Your head is going to explode once FreeBSD runs on a mobile.  What then?!
#10
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - November 27, 2026, 10:08:39 PM
Quote from: Cenkron on November 27, 2026, 09:41:39 PMI have not been able to find how to disable the firewall.

Firewall > Settings > Advanced > Disable Firewall

Report back what is missing after that and we will find a solution.