Currently, I have the OpenVPN windows service set up, and it runs well. I wanted to know if there was a way to make it connect to the VPN whenever I am not connected to my home network (connected to any other network besides my home's).
Whenever I am on my home network I do not want to use the VPN because it is not necessary, but then if I disconnect from my home's Wi-Fi and connect to a different network, I want to also be automatically connected to my VPN.
I was looking in the windows services GUI and I saw some properties of the services called "Start parameters" and thought that that might be what I need to use.
The command used to start the service from the command line is:
"C:\Program Files\OpenVPN Connect\ovpnconnector.exe" start
(The OpenVPN server I am connecting to is run off of a computer at home)