The following is required for setting an OpenVPN connection on Raspberry Pi desktop.
How to Download OpenVPN files.
First, open the web browser (Firefox) and download the PureVPN OpenVPN configuration files by clicking 👉 here and extracting them.
Now rename the extracted folder to OVPNfiles.
Now go to the Menu bar and select/ open the Terminal from there.
Now you will need to install OpenVPN packages. Type the following to install it:
- sudo bash
- sudo apt-get install openvpn
Now access the directory/ folder where you have downloaded the OpenVPN files (i.e. the Downloads folder) then copy and replace OVPNfiles to /etc/openvpn:
- cd Downloads/
- sudo cp OVPNfiles/* /etc/openvpn
How to set up OpenVPN on Raspberry Pi.
Now move to the directory where we have copied the OVPNfiles folder i.e. /etc/openvpn:
- cd /etc/openvpn/
- In order to connect to the VPN, run the command:
sudo openvpn de2-ovpn-tcp.pointtoserver.com
(In this case the Germany TCP server is used to connect to the VPN as an example. You are free to choose any server that best fits your requirements from the list above)
You will be immediately prompted to enter the Auth Username and Auth Password, Enter your PureVPN credentials. Click 👉here to know how to find your VPN credentials.
You are now connected to PureVPN, the second last line will indicate your current VPN IP address which in this case is 18.104.22.168
Moreover, You can also verify your VPN IP and location from this 👉 linkDelete