Quote from: Patrick M. Hausen on November 30, 2025, 12:55:44 AMYou are aware that value is editable?I was not aware. Good to know!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Patrick M. Hausen on November 30, 2025, 12:55:44 AMYou are aware that value is editable?I was not aware. Good to know!
Quote from: pfry on November 21, 2025, 03:04:54 PMQuote from: User074357 on November 21, 2025, 12:33:14 PMI was under the impression the "Default allow LAN to any rule" would be enough to allow pinging devices in the DMZ from LAN.[...]
It should be, and blocked packets would be logged, assuming default block logging is enabled. Valid sessions would be visible regardless of logging.
How about "Interfaces: Devices: Bridge" and "Interfaces: Overview"?
Quote from: InvalidHandle on November 21, 2025, 04:59:41 AMIt sounds like you are missing firewall configuration for the vlan interfaces that you set up and I don't think you need the bridge.I was under the impression the "Default allow LAN to any rule" would be enough to allow pinging devices in the DMZ from LAN.
If you want to allow traffic between both LAN and vLAN networks I'm not sure what you gain with the vlan unless you really need to split a single port into multiple subnets. Here is the documentation on vlans: https://docs.opnsense.org/manual/how-tos/vlan_and_lagg.html
Just food for thought, vLANs can be very tricky if you are using IDS/IPS. If you have enough ports on your hardware and aren't trying to segment traffic, create a separate LAN subnet interface for your TrueNAS, skip the vLAN, and setup firewall rules accordinly if you want to isolate the NAS LAN from WAN. That is my two bits.
Quote from: pfry on November 20, 2025, 11:32:07 PMWithout seeing your config, my next guess would be "Interfaces: Settings" -> "VLAN Hardware Filtering" - I'd disable all of the offloads, at least for testing. I don't know of any firmware issues that would affect i225/226 VLAN filtering, but you never can tell. I assume your NAS is directly connected to the firewall?All the offloads are disabled. NAS is directly connected to one of my firewall ports.
Quote from: pfry on November 20, 2025, 09:07:17 PMRouting issues? Your PC would normally use the firewall as its gateway in order to route to the NAS subnet. In the other direction, the NAS would also use the firewall as its gateway to reach your PC. And, of course, if you use it to route, the firewall would need a default gateway to the Internet. You have the option of routing directly on the bridge, e.g. use a static route on your PC to route to the NAS through the firewall. If it's not routing, you'll likely need to provide more detailed information.
I use bridges for everything, as I can conveniently assign interfaces to whatever bridge I need them on at any given time, with no address or rule changes. It's not for everyone, but it works.
$ iperf3 -c myvps
Connecting to host myvps, port 5201
[ 5] local 192.168.1.10 port 52986 connected to myvps port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 768 KBytes 6.29 Mbits/sec 6 22.0 KBytes
[ 5] 1.00-2.00 sec 768 KBytes 6.29 Mbits/sec 4 22.0 KBytes
[ 5] 2.00-3.00 sec 512 KBytes 4.19 Mbits/sec 2 23.4 KBytes
[ 5] 3.00-4.00 sec 640 KBytes 5.24 Mbits/sec 4 23.4 KBytes
[ 5] 4.00-5.00 sec 384 KBytes 3.15 Mbits/sec 3 26.1 KBytes
[ 5] 5.00-6.00 sec 896 KBytes 7.34 Mbits/sec 1 30.2 KBytes
[ 5] 6.00-7.00 sec 768 KBytes 6.29 Mbits/sec 4 27.5 KBytes
[ 5] 7.00-8.00 sec 768 KBytes 6.29 Mbits/sec 7 16.5 KBytes
[ 5] 8.00-9.00 sec 256 KBytes 2.10 Mbits/sec 4 13.8 KBytes
[ 5] 9.00-10.00 sec 384 KBytes 3.15 Mbits/sec 4 15.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 6.00 MBytes 5.03 Mbits/sec 39 sender
[ 5] 0.00-10.03 sec 5.88 MBytes 4.91 Mbits/sec receiver
iperf Done.TCP Server -> Client:-----------------------------------------------------------
Server listening on 5201 (test #9)
-----------------------------------------------------------
Accepted connection from myhomeip, port 26805
[ 5] local myvps port 5201 connected to myhomeip port 26779
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.01 sec 3.62 MBytes 30.1 Mbits/sec 14 182 KBytes
[ 5] 1.01-2.02 sec 6.00 MBytes 49.7 Mbits/sec 0 208 KBytes
[ 5] 2.02-3.02 sec 4.62 MBytes 39.0 Mbits/sec 4 150 KBytes
[ 5] 3.02-4.02 sec 5.12 MBytes 42.8 Mbits/sec 0 169 KBytes
[ 5] 4.02-5.01 sec 5.50 MBytes 46.5 Mbits/sec 0 193 KBytes
[ 5] 5.01-6.01 sec 4.25 MBytes 35.7 Mbits/sec 9 100 KBytes
[ 5] 6.01-7.01 sec 3.50 MBytes 29.3 Mbits/sec 0 126 KBytes
[ 5] 7.01-8.01 sec 3.75 MBytes 31.6 Mbits/sec 0 153 KBytes
[ 5] 8.01-9.01 sec 4.88 MBytes 40.8 Mbits/sec 0 179 KBytes
[ 5] 9.01-10.01 sec 6.25 MBytes 52.3 Mbits/sec 0 206 KBytes
[ 5] 10.01-10.07 sec 384 KBytes 53.7 Mbits/sec 1 71.5 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.07 sec 48.0 MBytes 40.0 Mbits/sec 28 senderUDP Client -> Server:-----------------------------------------------------------
Server listening on 5201 (test #13)
-----------------------------------------------------------
Accepted connection from myhomeip, port 38020
[ 5] local myvps port 5201 connected to myhomeip port 53046
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.01 sec 5.27 MBytes 43.7 Mbits/sec 0.220 ms 31/3954 (0.78%)
[ 5] 1.01-2.00 sec 5.80 MBytes 49.0 Mbits/sec 0.306 ms 126/4445 (2.8%)
[ 5] 2.00-3.01 sec 5.89 MBytes 49.1 Mbits/sec 0.242 ms 274/4659 (5.9%)
[ 5] 3.01-4.00 sec 5.79 MBytes 48.9 Mbits/sec 0.214 ms 74/4384 (1.7%)
[ 5] 4.00-5.00 sec 5.84 MBytes 49.0 Mbits/sec 0.223 ms 50/4399 (1.1%)
[ 5] 5.00-6.00 sec 5.81 MBytes 48.8 Mbits/sec 0.226 ms 149/4474 (3.3%)
[ 5] 6.00-7.00 sec 5.82 MBytes 48.7 Mbits/sec 0.225 ms 93/4425 (2.1%)
[ 5] 7.00-8.00 sec 5.76 MBytes 48.2 Mbits/sec 0.197 ms 173/4459 (3.9%)
[ 5] 8.00-9.01 sec 5.88 MBytes 49.0 Mbits/sec 0.219 ms 69/4451 (1.6%)
[ 5] 9.01-10.00 sec 5.79 MBytes 48.9 Mbits/sec 0.193 ms 115/4425 (2.6%)
[ 5] 10.00-10.07 sec 378 KBytes 48.3 Mbits/sec 0.287 ms 9/284 (3.2%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[SUM] 0.0-10.1 sec 5 datagrams received out-of-order
[ 5] 0.00-10.07 sec 58.0 MBytes 48.3 Mbits/sec 0.287 ms 1163/44359 (2.6%) receiver
UDP Server -> Client:$ iperf3 -c myvps -R --udp -b 500Mbit
Connecting to host myvps, port 5201
Reverse mode, remote host myvps is sending
[ 5] local 192.168.1.10 port 39579 connected to myvps port 5201
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 52.1 MBytes 437 Mbits/sec 0.009 ms 5055/43877 (12%)
[ 5] 1.00-2.00 sec 60.5 MBytes 507 Mbits/sec 0.021 ms 249/45287 (0.55%)
[ 5] 2.00-3.00 sec 60.3 MBytes 506 Mbits/sec 0.037 ms 43/44932 (0.096%)
[ 5] 3.00-4.00 sec 59.4 MBytes 499 Mbits/sec 0.020 ms 16/44280 (0.036%)
[ 5] 4.00-5.00 sec 59.5 MBytes 499 Mbits/sec 0.045 ms 1/44321 (0.0023%)
[ 5] 5.00-6.00 sec 59.7 MBytes 501 Mbits/sec 0.020 ms 9/44477 (0.02%)
[ 5] 6.00-7.00 sec 59.5 MBytes 499 Mbits/sec 0.026 ms 2/44301 (0.0045%)
[ 5] 7.00-8.00 sec 59.8 MBytes 501 Mbits/sec 0.019 ms 0/44509 (0%)
[ 5] 8.00-9.00 sec 59.7 MBytes 501 Mbits/sec 0.020 ms 1/44437 (0.0023%)
[ 5] 9.00-10.00 sec 58.8 MBytes 493 Mbits/sec 0.019 ms 0/43798 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.05 sec 599 MBytes 500 Mbits/sec 0.000 ms 0/445904 (0%) sender
[SUM] 0.0-10.0 sec 7030 datagrams received out-of-order
[ 5] 0.00-10.00 sec 589 MBytes 494 Mbits/sec 0.019 ms 5376/444219 (1.2%) receiver
iperf Done.
Quote from: meyergru on November 18, 2025, 10:25:53 PMFor the OpnSense VM: Is a CPU emulation selected that accelerates Wireguard encryption (i.e. "host" would be best)?Unfortunately I don't think the hosting provider (netcup) allows control over things like that. As a test I spun up a cheap cx23 server on Hetzner, just to rule out any issues with netcup, but the issue persists.
Quote from: meyergru on November 18, 2025, 10:25:53 PMIf vtnet "hardware" is being used: Is multiqueue enabled on the NICs? RSS is enabled?I'm using the virtio driver. Netcup allows me to choose between the following:
Also, see: https://forum.opnsense.org/index.php?topic=44159.0, notes on network "hardware".
# netstat -Q
Configuration:
Setting Current Limit
Thread count 2 2
Default queue limit 256 10240
Dispatch policy direct n/a
Threads bound to CPUs enabled n/a
Protocols:
Name Proto QLimit Policy Dispatch Flags
ip 1 1000 cpu hybrid C--
igmp 2 256 source default ---
rtsock 3 256 source default ---
arp 4 256 source default ---
ether 5 256 cpu direct C--
ip6 6 1000 cpu hybrid C--
ip_direct 9 256 cpu hybrid C--
ip6_direct 10 256 cpu hybrid C--
Workstreams:
WSID CPU Name Len WMark Disp'd HDisp'd QDrops Queued Handled
0 0 ip 0 351 0 2324816 0 1838889 4163705
0 0 igmp 0 0 0 0 0 0 0
0 0 rtsock 0 2 0 0 0 19 19
0 0 arp 0 0 3644425 0 0 0 3644425
0 0 ether 0 0 8061941 0 0 0 8061941
0 0 ip6 0 8 0 179268 0 2410 181678
0 0 ip_direct 0 0 0 0 0 0 0
0 0 ip6_direct 0 0 0 0 0 0 0
1 1 ip 0 642 0 444109 0 1575536 2019645
1 1 igmp 0 0 0 0 0 0 0
1 1 rtsock 0 0 0 0 0 0 0
1 1 arp 0 0 40907 0 0 0 40907
1 1 ether 0 0 287910 0 0 0 287910
1 1 ip6 0 29 0 2582 0 214522 217104
1 1 ip_direct 0 0 0 0 0 0 0
1 1 ip6_direct 0 0 0 0 0 0 0Quote from: Patrick M. Hausen on November 18, 2025, 09:10:32 PMCheck hardware offloading in the VPC OPNsense:sysctl hw.vtnet.csum_disable
# sysctl hw.vtnet.csum_disable
hw.vtnet.csum_disable: 1
Quote from: viragomann on November 18, 2025, 07:54:36 PMDid you assign an interface to the local Wireguard instance and defined the firewall rules for the forwarded traffic on this interface?Yeah, I did. The setup itself is working, the issue is the slow speed.
Quote from: viragomann on November 18, 2025, 07:54:36 PMAnd did you remove all pass rules from the Wireguard rules tab?Not sure what you mean by this.