OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: bedub1 on November 18, 2023, 03:19:03 AM

Title: VPN & Gateway issues recently
Post by: bedub1 on November 18, 2023, 03:19:03 AM
After the couple past updates, at least 2 of us are having issues with VPN's and the Gateways. 

These are outbound Wireguard VPN's, from OPNsense, to PIA.  We have firewall rules setup to route traffic over these VPN tunnels.  After rebooting, the VPN tunnel will come up, but the traffic won't be routed over the tunnel, until we modify a firewall rule.  Then the rules are followed and traffic flows properly.

It's being discussed here:  https://github.com/FingerlessGlov3s/OPNsensePIAWireguard/issues/49
Title: Re: VPN & Gateway issues recently
Post by: DEC670airp414user on November 18, 2023, 10:48:31 AM
I am getting dejavu here from an issue I used to have with another product.

under firewall - settings - advanced.   do you have  Skip rules    Skip rules when gateway is down

unchecked?    because I believe you need that unchecked to help with this
Title: Re: VPN & Gateway issues recently
Post by: freaky-m0 on November 18, 2023, 12:18:17 PM
I have the same problem. But the setting you mentioned is unchecked.

(https://forum.opnsense.org/index.php?action=dlattach;topic=37076.0;attach=30949)

The rule is working and active. I can see this in the firewall logs (I have loggging enabled on this rule). But the gateway is ignored/not reached. When I watch the packets on the Interfaces they don't leave the Gateway Interface.
Title: Re: VPN & Gateway issues recently
Post by: Seaside on December 08, 2023, 08:14:42 PM
I think I have the same issue:

https://forum.opnsense.org/index.php?topic=37433.0
Title: Re: VPN & Gateway issues recently
Post by: freaky-m0 on January 04, 2024, 04:07:19 PM
I updated to 23.7.10 today and it seems to be fixed.

Changelog:
o plugins: os-wireguard fix for missing firewall reload
o plugins: os-wireguard-go fix for device registration