Command Line Setup in Debian Linux

#install the PPTP software

apt-get install pptp-linux

#edit /etc/ppp/chap-secrets

vi /etc/ppp/chap-secrets

and insert the following:

Username PPTP Password *

# replace Username with your PureVPN username
# replace Password with your PureVPN password

#create /etc/ppp/peers/pure-us7 with something like the following:

vi /etc/ppp/peers/pure-us7

and add tthe following details:

pty "pptp us7.purevpn.net --nolaunchpppd"
 name purevpnXXXX
 remotename PPTP
 file /etc/ppp/options.pptp
 require-mppe-128
 refuse-eap noauth

Adding a route to the routing table

To automatically add an entry whenever a VPN connection is established create and edit the /etc/ppp/ip-up.d/pure-us7-route

vi /etc/ppp/ip-up.d/pure-us7-route

Add the following content

#!/bin/bash
route add -net 10.0.0.0/8 dev ppp0

Make the file executable

chmod +x /etc/ppp/ip-up.d/pure-us7-route

Now Connect VPN:

pppd call pure-us7

To check the logs run this command:

tail -f /var/log/messages

Caution: If you are looking for higher security, then please follow this guide to disable your IPv6

Rate This Article

  • PureVPN Team

    Hi,

    Thanks for reaching out to us. Having connected with VPN please check your IP first at http://www.ip2location.com to verify either you are connected to VPN or not. If you are connected to router please make sure PPTP/L2TP pass through option should be enabled in your router.

    Feel free to contact us if you have further question/suggestion!

  • PureVPN Team

    Hi,

    Thanks for your precious suggestion. You know when we send ‘credentials’ email it contains two kinds of credentials first, VPN username and password and Second, Member Area credentials, some users does not differentiate between two so, we write ‘purevpnXXXX’ in out tutorials to make it clear that VPN username looks like this.

    I hope now you are clear about this, if you still have any question or suggestion do write to us, we will be more than happy to hear from you!

  • PureVPN Team

    Hi,

    I am sorry for the inconvenience. Could you please share with us which server address you are using so that we can assist you accordingly.