• Level up your digital security with the all-new password manager.

Introducing PureKeep, a premium password manager. You can keep your passwords safe and accessible whenever you need them. Get Started

How to setup OpenVPN for Raspberry Pi Desktop (Debian)

Jun 04, 2020
Oct 04, 2022
0 Comments
Download PDF

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

Things to Consider:

  1. You have a working internet connection.
  2. A working installation of Debian (This guide uses the official supported Raspberry Pi operating system based on Debian Buster, version February 2020)
  3. A Premium PureVPN account (If you haven’t bought yet click πŸ‘‰ here to buy).
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:
    1. sudo bash
    2. 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/
    2. sudo cp -r OVPNfiles/* /etc/openvpn
How to Setup OpenVPN on Raspberry Pi
  • Now move to the directory where we have copied the OVPNfiles folder i.e. /etc/openvpn:
    1. cd /etc/openvpn/
    2. In order to connect to the VPN, run the command:
    3. 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 172.94.11.149

Moreover, You can also verify your VPN IP and location from this πŸ‘‰ link

To disconnect from the VPN, press Ctrl+C in the same terminal or in another terminal enter sudo killall OpenVPN.

Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

How helpful did you find this answer?

Comments (0 )