How to setup OpenVPN for Raspberry Pi Desktop (Debian)

Jun 04, 2020
Feb 03, 2021
Download PDF

The following is required for setting an OpenVPN connection on Raspberry Pi desktop.

  • A working installation of Debian (This guide uses the official supported Raspberry Pi operating system based on Debian Buster, version February 2020)
  • Own a premium PureVPN account (If you do not already own one, you can buy a subscription from here)
1 First, open the web browser (Firefox) and download the PureVPN OpenVPN configuration files by clicking here and extracting them.

2 Now rename the extracted folder to OVPNfiles.

3 Now go to the Menu bar and select/open the “Terminal” from there.

4 Now you will need to install OpenVPN packages. Type the following to install it:

  • sudo bash
  • sudo apt-get install openvpn
5 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 setup OpenVPN for Raspberry Pi Desktop (Debian)

6 Now move to the directory where we have copied the OVPNfiles folder i.e. /etc/openvpn:

  • cd /etc/openvpn/
7 In order to connect to the VPN, run the command:

  • sudo openvpn de2-ovpn-tcp-tcp.ovpn

(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)

8 You will be immediately prompted to enter the Auth Username and Auth Password, enter your PureVPN username and its password respectively:

9 You are now connected to PureVPN, the second last line will indicate your current VPN IP address which in this case is

Moreover, You can also verify your VPN IP and location from the website:

How helpful did you find this answer?

Comments (0 )