Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know how to connect to an openvpn via a command line in Windows XP. What I can't figure out is how to end the connection. Any thoughts?

share|improve this question
add comment

4 Answers

they often have the command

vpnc-disconnect

share|improve this answer
add comment

You can stop the service with:

net stop openvpnservice
share|improve this answer
add comment

press F4 (it's listed in the title bar of the command window).

share|improve this answer
    
-1 they're looking for command line, not keyboard shortcuts –  Mark Henderson Apr 8 '12 at 20:56
    
That's the correct answer: When you're starting openvpn.exe on command line, the only way to disconnect is to hit F4. CTRL-C is ineffective. –  Nicolas Guillaumin Jun 30 '13 at 7:33
add comment

Refer below link, that might help you...

http://pwnt.be/2009/08/01/automating-openvpn-connection-on-windows-xp

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Mark Henderson Apr 8 '12 at 20:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.