VPN with auto connect/disconnect based on WIFI iOS

jj2d2

New Member
I have played with NordVPN and PIA in the past, they both have a feature where you can add your wifi names that you don't want to use vpn on. with that setting, if you leave your house the vpn will connect, but when you get back home and join your home wifi, it will auto disconnect. I no longer use those services, but want that same thing but for my home VPN. I have a vpn capable router at my house (I use unifi). I can successfully vpn into it using its wifiman app and teleport. that does not allow me to automate the connect/disconnect. is there a VPN app that I can use to connect to my home VPN that will auto connect/disconnect based on what WIFI I am connected to?
 
Hmm, you could probably do that with the travel router and just auto teleport but then it's extra hardware.

Not really aware of any ssid name based ones though, most folks would just auto teleport via any available connection. Enterprise solutions like GlobalProtect can determine if you're on their own LAN or not and avoid tunneling from inside but that's more like 'buy an expensive palo alto firewall' which is out of scope.

It seems like a lot of folks do powershell stuff for that kind of thing
 
I have my doubts there's anything that automated with Unifi for iOS. I know Samsung's "modes and routines" can trigger VPN automations for what you're trying to achieve though but it won't work with Teleport. You'd have to set up wireguard manually or through Identity and then export the credentials.
 
Haha I totally didn't read the IOS part. I'm sure you could python something of your own or have codex do it but it'd be a manual pain.
 
OH, I found something! based on Intel_Man's comment on wireguard, I downloaded the wireguard app for iOS. I can scan the QR code in my router for wireguard settings, then at the bottom there is the option to set SSIDs to exclude. so the system should (and has so far with limited testing) connect on any wifi or cellular connection not my home ssid, then auto disconnect when I connect back to my home SSID.
 
Nice, looks like that feature was actually added in around 2021 or so, so I'm totally behind the times for that client.

Glad you found a solution.
 
Back
Top