-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I exit a client in windows elegantly and securely? #598
Comments
Assuming you are referring to situations where OpenVPN client is started from a script (say, powershell) or a service, here are a few ways: (i) openvpn.exe client responds to CTRL_C_EVENT and CTRL_BREAK_EVENT -- these are internally handled the same way as as a SIGTERM on POSIX systems. Attach to the console of the process and use (ii) On windows you can start openvpn.exe with (iii) If you start the client with the If running interactively from the command line there are number of keyboard shortcuts to restart, stop etc. These are displayed when the process is started. Tap adapters can be listed using |
Sorry, my comprehension may be a bit poor, and I don't know how to use it on the second point. I looked through the parameter document and didn't understand it, can you explain it more clearly or give an example? Thanks, in addition I'm using a different language to call openvpn |
This issue tracker is for reporting bugs -- for help ask on users mailing list or openvpn forum. I responded assuming that probably docs are a bit lacking on what you asked. But if you do not have the technical know-how to follow what I wrote, just use OpenVPN-GUI as a front-end. |
I want to gracefully stop a client under Windows, is it possible?
Also, is there an out-of-the-box command to detect if the machine has a tap-windows6 virtual NIC available?
The text was updated successfully, but these errors were encountered: