• Our hottest-selling 5-year plan at 89% off is ending tonight at 11:59 PM.

  • Upgrade my plan now ** Few Hours Left **

Don’t miss this last call! We’re saying good-bye to our 89% off hottest selling 5-year plan tonight. Upgrade now!  

How to Setup PPTP for Raspberry Pi Desktop (Debian)

Jun 04, 2020
Aug 16, 2022
0 Comments
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 ukl1.pointtoserver.com –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
require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
noauth
debug
persist
maxfail 0
defaultroute
replacedefaultroute
usepeerdns

  • 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 ipinfo.io

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