Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Problems using Gateway in rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problems using Gateway in rules (Read 804 times)
iTimo01
Newbie
Posts: 4
Karma: 0
Problems using Gateway in rules
«
on:
February 07, 2023, 12:45:36 am »
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
«
Last Edit: February 07, 2023, 12:50:27 am by iTimo01
»
Logged
iTimo01
Newbie
Posts: 4
Karma: 0
Re: Problems using Gateway in rules
«
Reply #1 on:
February 07, 2023, 03:55:14 pm »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Problems using Gateway in rules