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
In home wifi wireguard gets activated due to almost concurrent calls (same second) to start/stop VPN. Second call is lost while VPN is being established.
I have a configuration depending a condition matching the SSID. If matched, turn off wireguard, else turn on wireguard. The phone apparently detects a brief wifi outage (<1s) which then triggers the wireguard on script. However, immediately, wifi connection is restored triggering the off script. Wireguard is still busy establishing the tunnel and so ignores the second call. As a result, VPN is enabled in home wifi :-|
Manually triggering a refresh on the home screen "fixes" the situation and correctly turns VPN off.
It would be good to prevent the same chain to be evaluated for some time (few seconds) or the same target to be triggered.
A simple solution could be a "wait" profile command.
The text was updated successfully, but these errors were encountered:
In home wifi wireguard gets activated due to almost concurrent calls (same second) to start/stop VPN. Second call is lost while VPN is being established.
I have a configuration depending a condition matching the SSID. If matched, turn off wireguard, else turn on wireguard. The phone apparently detects a brief wifi outage (<1s) which then triggers the wireguard on script. However, immediately, wifi connection is restored triggering the off script. Wireguard is still busy establishing the tunnel and so ignores the second call. As a result, VPN is enabled in home wifi :-|
Manually triggering a refresh on the home screen "fixes" the situation and correctly turns VPN off.
It would be good to prevent the same chain to be evaluated for some time (few seconds) or the same target to be triggered.
A simple solution could be a "wait" profile command.
The text was updated successfully, but these errors were encountered: