Quote from: OPNenthu on March 21, 2026, 11:26:26 PMQuote from: gnsinfo on March 21, 2026, 04:33:53 PM- How can I ensure that traffic entering via a specific WAN interface is always forced to exit through that same interface's gateway,
This has been a hot question lately. The 'reply-to' option is supposed to handle this, or so I think, but you are not the only one seeing that the default route is always chosen for reply traffic.
https://forum.opnsense.org/index.php?topic=50882.0
https://github.com/opnsense/core/issues/9702
OPNsense 26.1 has a new flow in the setup Wizard which asks whether or not to optimize the system for Multi-WAN (source-based policy routing). I did a comparison of two config files with and without this setting and the difference was only two things. In the Multi-WAN optimized setup, the global firewall options 'Disable force gateway' and 'Disable reply-to' were both disabled (unchecked). They were the exact opposite in the setup for single gateway, which favors the default system route.
There appears to be some mysterious X factor affecting Multi-WAN that we haven't discovered yet.
(Or, it's above my skillset and no one is patient enough to point it out.)
Quote from: virtualdimension on Today at 04:10:02 AM[...]I don't know which Intel driver is preinstalled in OPNsense.[...]
root@fw:/home/user # dmesg | grep ixl
[1] ixl0: <Intel(R) Ethernet Controller X710 for 10GbE SFP+ - 2.3.3-k> mem 0xf5000000-0xf57fffff,0xf5a18000-0xf5a1ffff at device 0.0 on pci1
[1] ixl0: fw 9.152.77998 api 1.15 nvm 9.50 etid 8000f4ab oem 1.270.0
[1] ixl0: PF-ID[0]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C
[1] ixl0: Using 1024 TX descriptors and 1024 RX descriptors
[1] ixl0: Using 8 RX queues 8 TX queues
[1] ixl0: Using MSI-X interrupts with 9 vectors
[1] ixl0: Ethernet address: 3c:fd:fe:e7:2d:88
[1] ixl0: Allocating 8 queues for PF LAN VSI; 8 queues active
[1] ixl0: PCI Express Bus: Speed 8.0GT/s Width x8
[1] ixl0: SR-IOV ready
[1] ixl0: netmap queues/slots: TX 8/1024, RX 8/1024
Quote from: nero355 on March 19, 2026, 03:56:31 PM- I've tried also with cat.6A, but doesn't change nothing.Quote from: virtualdimension on March 19, 2026, 04:44:42 AMMy internet provider's modem (which also acts as an ONT) is connected via RJ45 cat.7 network cableI am not sure what the current status is, but if you want 10 Gbps speed via RJ45 then CAT6a is actually the only Certified and Officially Acknowledged cable type, while everything above it still awaits official recognition so to speak.Quotefrom the 10Gbit output to the 10Gbit input of the DEC850 with the 10Gtek ASF-10G-T80 SFP+ module (I also used an Ubiquiti UACC-CM-RJ45-MG) and I created a DMZ for the IP address provided by the modem to the DEC850 firewall.Since you are using a DMZ IP Address my first question would be : Private or Public range ?
Also please note that most modules that convert SFP+ to RJ45 or the other way around work up to 30 meters of cable !!QuoteFrom the 10 Gbit output of the DEC850 I enter the 10 Gbit WAN port of a Ubiquiti UDM-PRO MAX with the 10G Direct Attach Cable (UACC-DAC-SFP10-1M).Why ?!
The whole Ubiquiti UniFi UDM range is a mess and especially when messing around with 10 Gbps connections and even worse when there is buffering to 1 Gbps connections involved and the WAN uses PPPoE on top of that...
If you need the UniFi Controller part of it then just connect it as a Client to your Management VLAN and leave it like that in the future or replace it with a simple dedicated UniFi Controller device.QuoteIf I connect directly to the 10 Gbit LAN port of the internet provider's modem, I can reach the maximum speed (about 7.8-8.5 Gbit download and 1.8-2 Gbit upload.This is with a PC connected to the ISP's ONT/Router combo device you mentioned in the DMZ setup part above I assume ?
Which OS and what kind of hardware does it have ?
Whatever you do from this point on please stick to testing with :
- DEC850
- Minisforum MS-A2
- The PC you used for the full speed 10 Gbps test.
There is no point in involving the Ubiquiti UniFi UDM Pro in this whole thing!Quote from: JamesFrisch on March 19, 2026, 07:39:23 AM- iperf3 is by default single core. Look into the multithread optionLarger Window Sizes can improve the speed too! :)
Quote from: meyergru on March 19, 2026, 08:03:53 AMYou did not say anything apart from the Zenarmor part about multithreading.Yes, I also activated RSS through tunables.
See this, point 10:
a. With speeds > 1 GBit, you need to enable multithreading for unimpeded measurements.
b. You also need to enable RSS to use all cores. It may also depend on how the FreeBSD NIC drivers are optimized, there may be special tuneables for yours.
That being said: With Zenarmor, you can only utilize one thread at this time. Period. Pinning a core does only make sure that this one core does not get utilized by anything else, but you will still be limited by it.
Quote from: JamesFrisch on March 19, 2026, 07:39:23 AMI am not quiet sure if I understand what you iperf or why you even have UDM and OPNsense. I would go with either one of them.I use OPNsense as a firewall because it has many more features and is much more secure than Ubiquiti, but I prefer Ubiquiti for its ecosystem (switches, access points, cameras, graphical interface, secure remote access, etc.), so I use both.
I also don't quiet get you setup or network topology, nor what speed exactly is your problem. And I can't give you good advise on why your Minisforum performs that bad. So I can just give you some general advise that applies to anyone. Maybe that helps.
- iperf3 is by default single core. Look into the multithread option
- make sure you have power savings disabled. I had mine on hiadaptive, got 5GB/s for the first thest, and when I ran the second test shortly after, I got my 9GBit/s because the CPU could not enter power saving yet. Disabling PowerD got me always 9GBit/s.
- Even my old 4-core i3-8100 is fast enough for 9GBit/s. But I don't run Zenarmor or Suricata, only Crowdsec.
Quote from: Javier® on Today at 02:30:25 AMForgive me if I've been overly enthusiastic.Not at all. I welcome the suggestions, and thank you.
Quote1. ULA vs Global IPv6
If the client only has a ULA (fc00::/7) and the destination is a global IPv6 address, RFC 6724 technically prefers matching scopes. That can:
- De-prioritize ULA for global destinations
- But many real-world stacks still try IPv6 first if it appears usable