OPNsense Forum

English Forums => General Discussion => Topic started by: corysimon on August 06, 2025, 10:31:38 PM

Title: WireGuard Gateway Issue
Post by: corysimon on August 06, 2025, 10:31:38 PM
Hello,
I'm facing a challenge that I can't quite solve. I'm trying to set up a WireGuard gateway group with Policy-Based Routing (PBR) for clients to use it as their default gateway. I followed the "road warrior" guide, and everything works fine for a few minutes.

It seems like the issue might be related to having two ISP gateways. When they switch due to latency or other reasons, I lose all outbound internet access. It could also be a DNS problem, as I have Unbound running. Has anyone else encountered a similar issue? I even tried setting up static routes to force traffic from the WireGuard tunnel out through a single interface, but that didn't work either. Thanks for your help!