Skip to main content
All CollectionsPureVPNOther Devices Guides
How to setup OpenVPN for Raspberry Pi Desktop (Debian)
How to setup OpenVPN for Raspberry Pi Desktop (Debian)

Looking to set up OpenVPN on Raspberry Pi? Here is the easy-to-follow guide for you.

Updated over 3 years ago

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

  1. A working installation of Debian (This guide uses the official supported Raspberry Pi operating system based on Debian Buster, version February 2020)

    1. Own a premium PureVPN account (If you do not already own one, you can buy a subscription from here)

  • 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:

  1. sudo bash

    1. 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:

  1. cd Downloads/

    1. sudo cp OVPNfiles/* /etc/openvpn

How to setup OpenVPN for Raspberry Pi Desktop (Debian)

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

  1. cd /etc/openvpn/

    1. 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)

  1. You will be immediately prompted to enter the Auth Username and Auth Password, Enter your PureVPN credentials. Here is how you can find your VPN credentials.

  2. (For further instructions on how to check your active PureVPN username and password click here.)

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

Moreover, You can also verify your VPN IP and location from the website:
www.ipaddress.com

Did this answer your question?