VPNStatus
VPNStatus copied to clipboard
IgnoredSSIDs does not work
I am using VPNStatus version 1.4 with following config:
% defaults read org.timac.VPNStatus
{
AlwaysConnectedRetryDelay = 30;
IgnoredSSIDs = "MyWifi";
IgnoredVPNs = "Work,Little Snitch,Tailscale Tunnel";
Services = (
{
AlwaysConnected = 1;
Identifier = "468EFCE5-A03A-46DB-9700-4E05D92F342C";
}
);
}
The test procedure:
- connect to OtherWifi -> VPN is connected
- switch to MyWifi -> VPN still connected Or:
- disconnect from Wifi -> VPN disconnected, no other connection available
- connect to MyWifi -> VPN connected
Running Ventura 13.4 and IKEv2.
Thanks for the bug report!
-
Regarding you steps 1 and 2: If you switch from one WiFi (OtherWifi) where the VPN is connected to another WiFi (MyWifi), the VPN won't automatically be disconnected. Do you have in practice this use case with 2 different WiFi?
-
For the steps 3 and 4, that is indeed not the expected behavior. If you are not connected to the WiFi and connect to "MyWifi", VPNStatus shouldn't automatically connect to the VPN. I just tried to reproduce this issue and can't reproduce it.
Note that the SSIDs are case-sensitive, can you please double-check that you used the correct SSID? Alternatively, you could try to print wifi.ssid to see what is the WiFi SSID seen by VPNStatus: https://github.com/Timac/VPNStatus/blob/8fe60978d8647caaecd2f26462200f07819ba96e/Common/ACConnectionManager.m#L233