Autostart OpenVPN based on WiFi Network
Posted: Thu Apr 20, 2017 7:10 pm
Currently running OpenVPN GUI v10 on a Windows 10 laptop.
I am using OpenVPN to connect to my home network whenever I'm out of the house. I'd like for OpenVPN to automatically startup and connect to my preferred server (home network) whenever I'm not at home; more specifically, I'd like to be able to specify which WiFi networks should trigger OpenVPN to run and connect. I found a few threads about autostart, but I think I'll need some kind of script to be able to specify when to auto-connect based on which WiFi network is connected. If I've overlooked something obvious, I apologize in advance -- I used to consider myself technically savvy until I read some of these threads.
I am using OpenVPN to connect to my home network whenever I'm out of the house. I'd like for OpenVPN to automatically startup and connect to my preferred server (home network) whenever I'm not at home; more specifically, I'd like to be able to specify which WiFi networks should trigger OpenVPN to run and connect. I found a few threads about autostart, but I think I'll need some kind of script to be able to specify when to auto-connect based on which WiFi network is connected. If I've overlooked something obvious, I apologize in advance -- I used to consider myself technically savvy until I read some of these threads.