Mau video anda ditayangkan disini?? Chat with Us!!!

Saturday, November 23, 2019

PPTP VPN ON MAC OS X SIERRA, HIGH SIERRA AND MOJAVE FOR FREE

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

Automator

You can automate it with Automator. Just 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.

KILL
sudo killall -HUP pppd

1 comment:

  1. Thankful to you for sharing this key information! Need you will stick doing such an activities you're doing. Website: Error Code 0xc0000185

    ReplyDelete

We are Live for Sharing, kunjungi juga www.sewaalatbayijambi.com