Page 1 of 1

Leaving home network

Posted: Tue May 03, 2022 10:11 am
by zkab
I have installed OpenVPN in Windows11 at my notebook ... if works OK.
Want to start OpenVPN when I leave my home network and terminate OpenVPN when I return.
I have Googled alot but can't find any solution.
I can't be the only one who have this common problem.
Appreciate your input.

Re: Leaving home network

Posted: Wed May 04, 2022 2:26 pm
by openvpn_inc
Hi zk,

If you are talking about OpenVPN Connect, it is not designed to work that way; it is designed to try to always remain connected. Perhaps you'd have better luck trying with the community (open source) client? I think you should be able to script something in PowerShell to check the connection and start or stop it as appropriate, when the home network is detected?

I'm not a Windows user, so I don't know details, but I do know that PowerShell has lots of cmdlets and extensive documentation.

regards, rob0