You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
Is there a way to prevent "infinity" reconnection when the OpenVPN server is shut down? I have the following rules:
let onDemandRule = NEOnDemandRuleConnect()
onDemandRule.interfaceTypeMatch = .wiFi
let onDemandRule1 = NEOnDemandRuleConnect()
onDemandRule1.interfaceTypeMatch = .cellular
var extra = NetworkExtensionExtra()
extra.disconnectsOnSleep = false
extra.passwordReference = passwordReference
extra.onDemandRules = [onDemandRule, onDemandRule1]
When the server is shut down, the app keeps trying to reconnect endlessly. Is there a way to avoid this? I cannot "ping" the server because when the OpenVPN server is shut down, I don't have an internet connection as the app keeps trying to reconnect.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello everyone,
Is there a way to prevent "infinity" reconnection when the OpenVPN server is shut down? I have the following rules:
let onDemandRule = NEOnDemandRuleConnect()
onDemandRule.interfaceTypeMatch = .wiFi
let onDemandRule1 = NEOnDemandRuleConnect()
onDemandRule1.interfaceTypeMatch = .cellular
var extra = NetworkExtensionExtra()
extra.disconnectsOnSleep = false
extra.passwordReference = passwordReference
extra.onDemandRules = [onDemandRule, onDemandRule1]
When the server is shut down, the app keeps trying to reconnect endlessly. Is there a way to avoid this? I cannot "ping" the server because when the OpenVPN server is shut down, I don't have an internet connection as the app keeps trying to reconnect.
The text was updated successfully, but these errors were encountered: