Introducing PureSquare – for security beyond VPNs

Visit our website

Don’t worry about forgetting your passwords ever again with the all-new password manager. Try PureKeep

How to Setup PPTP for Raspberry Pi Desktop (Debian)

Jun 04, 2020
Dec 05, 2022
Download PDF

You can either use the manual configuration, or you can use the command line. If you choose to use the manual configuration, you’ll need to install the ppp-linux package. In the /etc/ppp/peers directory, you can create a file with any name that you like. For instructions on how to launch the program, you can run the following command: The best way to configure a VPN on a Raspberry Pi is to run this command.

The following is required for setting a PPTP-VPN connection on Raspberry Pi.

  • 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)
  •  Go to the Menu bar and select/ open the Terminal from there.
open-Terminalon Raspberry Pi
  •  Now you need to install PPTP packages. Type the following to install it:
    1. sudo bash
    2. sudo apt-get install pptp-linux
  •  Now to create a PureVPN profile, run the following command:
    1. sudo nano /etc/ppp/peers/purevpn
  • Enter the following information:

pty “pptp –nolaunchpppd –debug”
name purevpn0sxxxxx #enter your purevpn username in place of purevpn0sxxx
password xxxxx #enter your purevpn account password in place of xxxxx
remotename PPTP
maxfail 0

  • Save and exit the editor.
  • In order to connect to the VPN, run the command:
    1. sudo pon purevpn
  •  You are connected to PureVPN now, to check your current IP and location run the command:

sudo curl

  •  In order to disconnect to the VPN, run the command:
  • sudo pkill pppd
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 )