OpenVPN ubuntu 18.04 terminal command

 

Start OpenVPN  on Ubuntu 18.04 client

 This make OpenVPN start on Starting up

sudo openvpn --client --config /etc/openvpn/client.con

Ubuntu 18.04 LTS Set Up OpenVPN Server In 5 Minutes - nixCraft

 

with NetworkManager

sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome

Using OpenVPN With Ubuntu-Mint Network Manager - OctaneVPN Help & Support

OpenVPN on Ubuntu 18.04 | The Cloistered Monkey

 

 

Stop OpenVPN  on Ubuntu 18.04 client

  1. Kill a connection by searching for the active connection

  2. ps aux | grep openvpn

  3. Note the PID of the active connection; kill the connection with

  4. sudo kill -2 *PID*

 

Remove OpenVPN  on Ubuntu 18.04 client

 

First, fix any dependencies problem that you might occur, by adding --fix parameter on apt.

sudo apt -f install

Then remove the openvpn package:

sudo apt purge -y openvpn


OpenVPN client software download

openvpn.net