Login

Forgot password?

We love free and open web!

Author Topic: How to disconnect from OpenVPN on ubuntu?  (Read 29113 times)

Offline clueless

  • Newbie
  • *
  • Posts: 7
    • View Profile
How to disconnect from OpenVPN on ubuntu?
« on: May 23, 2013, 01:43:44 AM »
I am using VPNBook OpenVPN servers

I connected to their servers using this command

Code: [Select]
sudo openvpn --config /etc/openvpn/vpnbook-udp-53.ovpn --auth-user-pass /etc/openvpn/password.txt
Now how can I stop the vpn connection without rebooting the my computer?

Offline timallen

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: How to disconnect from OpenVPN on ubuntu?
« Reply #1 on: May 23, 2013, 01:44:37 AM »
To kill the OpenVPN process, execute the command below.

Code: [Select]
killall -SIGINT openvpn
More details about the signals here: http://openvpn.net/index.php/open-source/documentation/howto.html#control