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.
Leaving home network
- openvpn_inc
- OpenVPN Inc.
- Posts: 1332
- Joined: Tue Feb 16, 2021 10:41 am
Re: Leaving home network
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
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
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support