disconnect script

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
danielbaza
OpenVpn Newbie
Posts: 1
Joined: Mon Oct 22, 2012 3:27 pm

disconnect script

Post by danielbaza » Mon Oct 22, 2012 3:59 pm

Hi!

Could someone tell me what is the command that disconnects the vpn connection form comand line, which also disables the tun device. (os windows)
I know how the connect command looks like:

openvpn.exe --config conf.ovpn --log-append test.txt -- >and other params


it is connecting properly, tun device is goin up, and connection working fine,
but when it comes to disconnecting, openvpn is being killed, but tun is still up!
and i rly dont know how to put tun donw.


thanks in advance
daniel

Post Reply