Recent posts

#1
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by keeka - Today at 09:55:40 AM
One thing I noticed after upgrading to 26.7.10, that I am guessing is a consequence of deferred PPP, is my wireguard connection blocking boot up whilst trying to resolve peer hostname. I've now changed it to an IP and the delay is gone. No big deal but thought I would mention it. The reason I preferred a hostname was because it informed location of the VPN entrypoint.
#2
Bei einem Business-Vertrag hast du doch sicher ein statisches Prefix? Wenn ja, brauchst du keine PD. Du kannst alle Interfaces statisch konfigurieren und auf der Fritzbox Routen eintragen.
#3
26.7, 26.10 Series / Re: IPv6 confused
Last post by franco - Today at 06:51:11 AM
Brr, yes, the multi RS is still a problem as rtsold takes the first it finds and presents it to the system. The system can change its mind and you can inspect this, but there's no way to subscribe to these changes and what the kernel makes of them. During the design of https://reviews.freebsd.org/D62020 we actually discussed passing multiple routers, but it wouldn't help the scripting behind it very much since it would break the behaviour unexpectedly on our side as well.


Cheers,
Franco
#4
26.7, 26.10 Series / Re: Monit fails to start after...
Last post by Maurice - Today at 02:56:52 AM
I now manually added the quotes to /conf/config.xml and updated Monit to 6.1.0 again. Works fine.

old:
<path>/bin/sh -c "command argument1 argument2" repeat every cycle</path>new:
<path>'/bin/sh -c "command argument1 argument2"' repeat every cycle</path>
It's just the GUI which prevents you from entering the path correctly. Once it's in the config.xml, it's all good.

Cheers
Maurice
#5
Tutorials and FAQs / can't find a Simple firewall r...
Last post by SlegiarDryke - Today at 02:19:13 AM
hope this is an okay place to post this, kinda new to all this. Will fully admit right off the bat that I'm extremely rusty as far as complicated network stuff goes, and I also tend to get a bit carried away thinking outside normal lines, while also missing quite a bit of info, but being willing to learn. I'm also long-winded, so, sorry. With all that out of the way.

Setting up an Opnsense 26.7.10 setup on a Dell optiplex 5050 SFF computer:
  • 8 gigs of ram
  • upgraded cpu to an I7-7700
  • added a different CPU cooler and a few case fans
  • an intel I226 2.5gig card and an intel X550-T2 10gig capable card, both cards dual port.

My current network needs are not major.  but I'm trying to upgrade my network before foot surgery mid December. replacing an old Asus tuff router with a Unifi setup:
  • Pro 8 POE managed switch
  • flex mini 2.5 gig switch
  • u6 pro AP
  • Cloudkey+/w SSD.

I haven't done much networking stuff since collage classes over a decade ago, but given all the crazy stuff going on right now, I wanted to scrape the mental rust off, and actually try to relearn stuff.

My current required topology will be:
  • I226 as the Wan
  • LAN Trunk line from the X550 card to the Pro 8 POE (considering a second trunk for guest VLAN Later)
  • Dedicated management interface through Optiplex motherboard Intel nic
  • Connect Switch to Cloudkey, U6 (might upgrade to U7 for wifi 6), flex mini 2.5 switch for routing to work desk
  • Truenas Scale storage server, currently runs Tailscale exit node and SMB share.

SO. I originally got all tangled up trying to follow guides that all to a T use Vlans and tagging and lots of complex routing, because I couldn't find anything that specifically indicated it was possible to use the software without going overly complex. and then I ran into the wall of understanding Firewall rules, and that really ground me to a halt. made me take a few steps back and re-evaluate, and finally find somewhere stating that yes, it is possible to just use it without going super complex. but I still have a few questions regardless.



First off, as I understand it, the default firewall rules are generally enough to just plug the setup device into your network and it should, with the default WAN and LAN, be fairly usable/safe as far as home network routing goes. Despite that, does there exist a list of, if any, best practice Firewall rules that are not defaults and not dependent on a heavy VLAN setup?

Second question, I was trying to figure out a way to then manage the web GUI without exposing the management port. and this probably would end up being more a Truenas question than a OPNSense question. The server has a dual port nic as well, 2 different Mac's, 2.5gig. one's the main connection, but would it be crazy/possible to use the other port as a dedicated access to the Opnsense gui? Remote in via tailscale and access the port somehow. I don't know how, but would it be possible?

If this is the wrong place to post something like this, or I'm completely out of my depth... well, that's fair, but I'm still gonna try and figure it out. so any help will be appreciated, so point me where to properly post, and Thank you regardless for reading ^_^
#6
26.7, 26.10 Series / Re: IPv6 confused
Last post by marjohn56 - Today at 01:52:05 AM
No it didn't, the real reason was an issue with the ISP BNG's. I asked Google's AI to diagnose the issue, it did and fixed it.  Here's the summery. 

Technical Summary: IPv6 Routing / Dual vBNG Asymmetric Forwarding Issue
  • Retail ISP: Squirrel Internet (Wholesale Network: Gigaclear)
  • Delegated IPv6 Prefix: xxx:xxx:xxx:3700::/56 (previously also assigned IA_NA /128 xxxx:xxxx::938)
  • CPE: OPNsense Firewall (igb0 WAN MAC xx:xx:xx:xx:xx:e4)
 
Root Cause Identified
 
During packet capture and NDP diagnostics on the WAN interface, two virtualised upstream BNG routers (52:54:00:... KVM/QEMU MACs) were visible on the Layer 2 WAN segment:
  • fe80::7ff:fe06:ebf6 (MAC 52:54:00:06:eb:f6) – Stale / inactive vBNG node
  • fe80::9ff:fe08:ec4f (MAC 52:54:00:08:ec:4f) – Active vBNG node
 
What was happening:
  • Inbound IPv6 traffic (such as external ICMPv6 Echo Requests from 2a02:68:1::164 to 2a10:8702:9:3700:...) and active Router Advertisements were arriving exclusively from fe80::9ff:fe08:ec4f (52:54:00:08:ec:4f).
  • However, the older vBNG node fe80::7ff:fe06:ebf6 (52:54:00:06:eb:f6) remained reachable at Layer 2 and responded to Neighbor Discovery (NS/NA), causing OPNsense to retain fe80::7ff:fe06:ebf6 as its default IPv6 gateway.
  • All outbound IPv6 packets sent to fe80::7ff:fe06:ebf6 (52:54:00:06:eb:f6) were silently dropped upstream (likely due to a BNG failover/migration leaving stale Layer 2 presence without subscriber routing state).
  • Additionally, traffic sourced from the DHCPv6 IA_NA /128 address (xxxxx:xxxx::938) was not routed externally, whereas traffic sourced from the delegated xxxx:xxxx:x:xx00::/56 prefix routes normally.

Customer-Side Workaround Applied (IPv6 Now Working)
To restore service on the CPE side, the following changes were made on OPNsense:
  • Disabled the auto-learned WAN_DHCP6 gateway (fe80::7ff:fe06:ebf6) and added a firewall rule to ignore/block ICMPv6 traffic from fe80::7ff:fe06:ebf6.
  • Configured fe80::9ff:fe08:ec4f as the active IPv6 upstream gateway.
Switched DHCPv6 on WAN to Prefix Delegation only (IA_PD) so CPE-originated traffic uses the routed xxxx:xxxx:x:xx00::/56 prefix rather than the unrouted /128.

Some more debug to be sent to the ISP, proving that their BNG setup is pants.

Router Advertisement Capture (tcpdump -vvni igb0 'icmp6 and ip6[40] == 134') Proving Dual Equal-Priority RAs
 
Both vBNG nodes respond within 10ms of each other with identical pref medium priority and an active router lifetime 300s, causing CPEs that select fe80::7ff:fe06:ebf6 to have all outbound IPv6 traffic blackholed:
 
00:18:48.071441 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58), payload length 32) fe80::9ff:fe08:ec4f > fe80::daec:5eff:fe4b:1fe4: [icmp6 sum ok] ICMP6, router advertisement, length 32
        hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 300s, reachable time 30000ms, retrans timer 1000ms
          source link-address option (1), length 8 (1): 52:54:00:08:ec:4f
          mtu option (5), length 8 (1): 1500
 
00:18:48.081590 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58), payload length 32) fe80::7ff:fe06:ebf6 > fe80::daec:5eff:fe4b:1fe4: [icmp6 sum ok] ICMP6, router advertisement, length 32
        hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 300s, reachable time 30000ms, retrans timer 1000ms
          source link-address option (1), length 8 (1): 52:54:00:06:eb:f6
          mtu option (5), length 8 (1): 1500

It then went on to give me a list of things the ISP needs to do. 😉

And my final chat with the AI before I closed the session.

Me: So as they were not giving a priority, even if Opnsense could have used that, it still risked failure.
 
AI: Exactly right. Even if OPNsense had full RFC 4191 router-preference awareness, both routers were advertising pref medium (identical default priority) and an active router lifetime 300s—essentially a coin flip on every Router Solicitation depending on which packet arrived 10 milliseconds earlier.
Any standard home router (including ISP-supplied routers) connected to that line would randomly fail roughly half the time on reboot or renewal until Gigaclear adjusts the standby vBNG's Router Advertisement priority/lifetime or enables inter-BNG forwarding.
 
And so there you have it from AI's point of view. 😊




#7
26.7, 26.10 Series / missing messages in the Live V...
Last post by TimmiORG - Today at 01:42:27 AM
Hi all,

I was looking into something strange today.

During an rule investigation I saw that sometimes I don't see all messages inside the live view.
I'm expecting to see the IN bound and the OUT bound into the other local network.
Typically this is also the case. But sometime I don't see one side. Sometime both are missing.

I can see always the entries in pflog while using tcpdump on the interface.

My test is only opening a port to a destination inside a different network. Source port is always different. Dest port always the same.
No NAT.

I have also remote logging enabled but could also reproduce while I had disabled it.

There is some logging load on the firewall. Not sure if it make sense to tune some settings or buffers.
Any advice how to trouble shoot this?

Best regards
Timmi
#8
German - Deutsch / Re: ipv6 im Heimnetz mit einer...
Last post by Shen Long - Today at 12:35:52 AM
Quote from: Patrick M. Hausen on November 25, 2026, 11:43:24 AMDu hast eine einzelne Endkunden-Leitung mit einer Fritzbox und kannst 2 Minuten Reboot deiner OPNsense nicht tolerieren?

Genau genommen habe ich eine Business Leitung mit einer Fritzbox zur Verfügung.
Außerdem habe ich noch ein VLAN mit einer Bastellösung mit einem LTE-Modem als zweiten Uplink, weil ich gerne rumprobiere und meinen Horizont mit den Verfügbaren Mitteln erweitere.

Aus genau dem Grund "mit verfügbaren Mitteln" habe ich auch eine primary/secondary firewall-HA mit opnsense seit kurzem weil ich mir dachte ich müsse mich da mal etwas einlesen und rumtesten und ich noch eine NAS mit genügend Kapazitäten habe auf der man relativ simpel VMs aufziehen kann.

Quote from: Monviech (Cedrik) on November 25, 2026, 01:19:19 PMIch betreibe 2 OPNsensen hinter 1 Fritzbox, mit IPv4 und IPv6, ohne größere Unterbrechung.

Dafür benutze ich den ndp proxy, präfix delegation gibt es dann aber keine.
https://docs.opnsense.org/manual/ndp-proxy-go.html#high-availability

Na gut, vermutlich besser als nichts wenn man davon ausgehen kann das die Route damit dann grundsätzlich gleich bleibt und man aber einen mehr oder weniger seamless übergang zwischen den opnsenses hat und die Verbindungen bestehen bleiben egal was wirklich passiert.
#9
26.7, 26.10 Series / Re: Monit fails to start after...
Last post by (MARLOO) - November 26, 2026, 11:24:15 PM
Same problem here after updating to 26.7.10. Monit won't start.

Reverted with
----------------------------------------------
opnsense-revert -r 26.7.9 monit   

pkg lock monit                 for now i applied

pkg unlock monit          once the fix is out.
-------------------------------------------------

 Thanks @ Maurice. Looking forward to the core issue.
#10
German - Deutsch / Re: IPsec und TOTP/2MFA
Last post by Patrick M. Hausen - November 26, 2026, 10:42:20 PM
Im Fall eines IPsec VPN ist das dann doch eher eine Frage des Clients, oder? Wie gesagt, die Sense kriegt davon nichts mit, das macht der FreeRADIUS alles selbst. Hab ich für Kunden mit Hardware-Tokens implementiert.