Bug #12771
closed
Automatic filter reload with OpenVPN client gateway uplink happens too soon or not at all
Added by Jon8RFC . almost 3 years ago.
Updated over 2 years ago.
Plus Target Version:
22.05
Description
Not sure if this is strictly an OpenVPN client gateway issue or a gateway up/down issue in other scenarios as well, rather than making a singular fix for OpenVPN gateways.
Filter Reload seems to be set to happen when an OpenVPN client is enabled, but happens too soon in the process based on my observation, documented in the thread below.
And, it does not happen at all when an OpenVPN gateway uplink is restored in the background (as best I can infer from the thread below) when the OpenVPN client has already been enabled.
Here's the problem and a workaround to automatically reload the filter via /usr/local/sbin/ovpn-linkup , though there may be a more appropriate operative manner to accomplish this:
https://forum.netgate.com/topic/149636/problem-with-automatic-filter-reload-when-openvpn-is-in-a-gateway-group
- Related to Regression #11570: Gateway monitoring services is not always restarted on interface events, which may prevent a WAN from recovering back to an online state added
- Assignee set to Viktor Gurov
- Affected Version set to 2.5.2
- Target version set to CE-Next
- Plus Target Version set to 22.05
- Status changed from New to Pull Request Review
- Target version changed from CE-Next to 2.7.0
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
I can't say "fixed" for this issue since I have new problems in 2.6.0, so I can't give it a solid test. I also don't want to risk that the change may cause problems for others, like it seems fixes for others have caused problems for me.
I had problems going from 2.4 to 2.5 with my OpenVPN client, and now from 2.5 to 2.6 with both client and server.
Things connect without a problem, but either won't use policy-based routing correctly or seem to have no connectivity at all.
I don't know enough to easily troubleshoot where the issue exists, just need to read what others' solutions are when things go awry.
If I'm the only person who really needs that fix, maybe it's not worth the risk of causing new problems for someone else in the next version.
Thank you for taking the time to look at it.
Thanks! Seems like it's all working properly with the patches applied.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF