diveDylan / blog

My blog, detail is in the issues list
2 stars 0 forks source link

PPTP VPN on MAC OS X Sierra #18

Open diveDylan opened 4 years ago

diveDylan commented 4 years ago

原文(自备梯子):PPTP VPN ON MAC OS X SIERRA, HIGH SIERRA AND MOJAVE FOR FREE

主要有三种方式: 1、PPTP-VPN(傻瓜式操作) 2、Shimo--国内资源和教程 3、DIY

DIY pptp vpn

以下代码皆在命令行中执行:

## step 1: create a serve file
sudo touch /etc/ppp/peers/vpn.yourserver.com

## step2: edit the file ,copy the content
sudo nano /etc/ppp/peers/vpn.yourserver.com

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

## step3: exec the command
sudo pppd call vpn.yourserver.com