From charlesreid1

Overview of connecting to Private Internet Access (a VPN service) from a Linux machine

CLI OpenVPN Method

If you want to use OpenVPN on the command line to connect to PIA VPN, see Kali/OpenVPN/PIA

GUI Managed Method

This approach will create your network interface in OpenVPN and configure it to connect to PIA's VPN servers automatically..

First make sure everything is up to date:

sudo apt-get update

Next, install the OpenVPN plugin for Network Manager:

sudo apt-get install network-manager network-manager-openvpn

If you are running Gnome Network Manager, you can install the OpenVPN plugin for the Gnome Network Manager:

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

Finally you can set things to be automatically managed:

sudo vim /etc/NetworkManager/NetworkManager.conf

change managed=false to managed=true

Link: https://www.privateinternetaccess.com/forum/discussion/18003/openvpn-step-by-step-setups-for-various-debian-based-linux-oss-with-videos-ubuntu-mint-debian


Flags