OPNsense Forum

English Forums => 25.1, 25.4 Series => Topic started by: kotashiratsuka on April 12, 2025, 09:32:21 PM

Title: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: kotashiratsuka on April 12, 2025, 09:32:21 PM
After updating to OPNsense 25.1.5, I'm unable to reach the DMZ  network.
Cannot communicate directly to the DMZ network from the LAN/WAN to a global address and cannot ping the DMZ network.
Internet connection from LAN is not a problem

https://github.com/opnsense/core/commits/25.1.4
https://github.com/opnsense/core/commits/25.1.5

I've been comparing commits, and I haven't been able to find a commit on my own that relates to this event.


This issue did not occur in 25.1.4. Are there any known issues or changes that might cause this?
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: EricPerl on April 13, 2025, 08:34:49 PM
You don't share any details about your topology that could narrow the problem down.
Physical isolation? VLAN?
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: lucaschoene on April 13, 2025, 08:40:00 PM
Hey there,

are you using the Captive Portal by any chance? I had an issue in 25.1.5 where it was running on all interfaces, which blocked access to everything else. Maybe that's related to what you're seeing.
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: kotashiratsuka on April 14, 2025, 03:20:24 AM
> You don't share any details about your topology that could narrow the problem down. Physical isolation? VLAN?

OPNsense is running as a VM in XCP-ng and has a virtual NIC assigned to it
xcp.jpg
opnsense-ints.jpg
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: kotashiratsuka on April 14, 2025, 03:23:09 AM
Firewall is configured as follows
pf-global.jpg
pf-office.jpg
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: kotashiratsuka on April 14, 2025, 03:24:17 AM
Captive Portal is not used.
captive.jpg
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: kotashiratsuka on April 14, 2025, 03:11:23 PM
I revert the patches in order and found that communication is not possible if the following commits are applied

https://github.com/opnsense/core/commit/e4f0e92dc5f3c9a521031ff91b1d2070d059383b

I referred to that commit and found the cause

It was caused by using a 10Gbp/s line and setting Shaper's default pipe to 10Gbp/s!

shaper10g.png

In my previous input, I used
https://github.com/opnsense/core/issues/5224
There was a section where I had entered 10000 Mbp/s because there was no limit on the number of Mbp/s, and I had to retype this as 40000 Mbp/s or 4 Gbp/s, or use the command revert

# opnsense-patch e4f0e92

Communication was restored with no problems.
Title: Re: With OPNsense 25.1.5, I can no longer reach the DMZ network.
Post by: tuto2 on April 14, 2025, 03:44:12 PM
> There was a section where I had entered 10000 Mbp/s because there was no limit on the number of Mbp/s, and I had to retype this as 40000 Mbp/s or 4 Gbp/s, or use the command revert

Validations were added to the GUI to prevent entries above 4Gbps a long time ago, perhaps this configuration was from before this validation was added, and now crashes due to the backend service change.

Before this patch the shaping was fully handled by IPFW, so if it broke there, traffic would likely still pass through pf. However, since pf now handles this and crashes on the pipe configuration it's reasonable to assume this would lock up traffic as well. However, since it's an incorrect configuration in both scenarios the right thing to do is to ditch the 10Gbps pipes.