Problems using Gateway in rules

Started by iTimo01, February 07, 2023, 12:45:36 AM

Previous topic - Next topic
February 07, 2023, 12:45:36 AM Last Edit: February 07, 2023, 12:50:27 AM by iTimo01
I currently have a couple of Firewall Rules setup with an OpenVPN Gateway.

I'm trying to move my OpenVPN Configs over to WireGuard.
When setting up everything and changing the Gateway in the rules to the WireGuard one, it doesn't work.

Running an Packet Capture (and also observing the logs with log enabled) it seems like the OPNSense completely ignores the rules and still pushes it out to the OpenVPN gateway.

1 Rule in Question in Attachments

So i just installed a new Wireguard Server and set it up alongside the old one.
It still reproduces the same error.

If i create a Gateway Rule pointing "any" from the source IP to the Gateway, then connections that get INITIATED on the source IP get routed through the Gateway.


So while i was writing this i realized the "reply-to" field on the FW Rules.
Setting that to the correct gateway for replies works.