Installing On Linux/Debian (OpenVPN)

Installing On Linux/Debian (OpenVPN)

  • Created: This is a guide on how to install DefenceVPN OpenVPN on Linux/Debian and other distros.

Step 1. Install Openvpn
Open the terminal and run the following command:
# sudo apt-get install openvpn

Step 2. Choose a server & Connect
#cd /etc/openvpn
#ls
Choose the server you wish to connect to from the server status page and download the .ovpn file and ca certificate.

Open the CA certificate and copy the contents inside the .ovpn file like so;

<ca>
CERT_FILE_CONTENT_COMES_HERE
</ca>

Now run openvpn as run:
# openvpn /etc/openvpn/SERVER-NAME-HERE.ovpn Enter your credentials and you should now be successfully connected. Enjoy and use responsibly.

Step 3. Change Namserver (Optional)
Incase any domain / websites not responding for you. This might be a problem with the nameserver.
# vim /etc/resolv.conf
Add the following:
Nameserver 80.67.0.2

Share on Twitter


Copyright 2019 © DefenceVPN