PPTP VPN on MAC OS X Sierra, High Sierra and Mojave for FREE

PPTP VPN app for mac

Introduction

PPTP VPN is no longer supported on macOS Sierra and High Sierra and that is just fine, because there are some security issues. What is not fine that in corporate environment the inertia is so big, that this can take years to stop using PPTP VPN.

So you have basically  3 options:

  1. change your job
  2. use some of third-party software (shimovpn (Paid), FlowVPN (Free but sucks))
  3. DIY
PPTP VPN ON MACOS SIERRA AND HIGH SIERRA NO LONGER AVAILABLE

PPTP VPN ON MACOS SIERRA AND HIGH SIERRA IS NO LONGER AVAILABLE

DIY Solution

I’m going to cover the third one here and its quite simple. Open terminal and create file with name of your vpn server in /etc/ppp/peers/

sudo touch /etc/ppp/peers/vpn.yourserver.com

If you get error, because the peers folder doesn’t exist, create it with mkdir /etc/ppp/peers command). Then edit this newly created file

sudo nano /etc/ppp/peers/vpn.yourserver.com

Copy paste and fill your details

plugin PPTP.ppp
noauth
remoteaddress "------vpn.yourserver.com------"
user "------USERNAME------"
password "------PASSWORD------"
redialcount 1
redialtimer 5
idle 1800
# mru 1368
# mtu 1368
receive-all
novj 0:0
ipcp-accept-local
ipcp-accept-remote
refuse-eap
refuse-pap
refuse-chap-md5
hide-password
mppe-stateless
mppe-128
# require-mppe-128
looplocal
nodetach
ms-dns 8.8.8.8
usepeerdns
# ipparam gwvpn
defaultroute
debug

And finally run pppd deamon

sudo pppd call vpn.yourserver.com

If you get PPTP error when reading socket : EOF just try run the command again, or comment out the the line with ms-dns 8.8.8.8

Alternatively you can create this file anywhere and run it as

sudo pppd file ~/Desktop/path-to-your-file/vpn.txt

VPN.app

If you want to have nice shiny app that let you connect to VPN instead of writing command again and again in terminal, you can use automator to create one.

Open Automator and select app. Then drag and drop “Run AppleScript” from left pane. And insert following line:

do shell script "pppd call VPN.YOURSERVER.COM" with administrator privileges

Now save it to Application folder and you can run it as regular app. It will ask you for administrator privileges every time because it runs pppd command. When you run it you can see little gear in you status bar indicating VPN runs and get error prompt any time VPM fails.

Free VPN PPTP app for mac

References

[1] malucelli.net

Buy me a coffeeBuy me a coffee