timmuh
Apr 27, 2021 - 01:47
Hello everyone!
I have problem with AnyConnect VPN.
when my iPhone changes the connection from the Wi-Fi to the mobile Internet, my VPN is disconnected and I have to go to the app and connect it again. the logic is this: when the phone is disconnected from the WiFi and mobile data is enabled, Anyconnect should connect automatically. I tried to do this using automated Apple commands, but it didn't work because when changing the network from WiFi to mobile data, the commands app sends a request to run the command, that is, it doesn't connect automatically in the background mode.
Is it possible to somehow run a python script to enable the vpn from the ios settings?
* list item