Skip to content

Instantly share code, notes, and snippets.

@yo-bur
Created January 8, 2019 11:50
Show Gist options
  • Select an option

  • Save yo-bur/b2c338e0c4481dd117ad2d73a6d1a044 to your computer and use it in GitHub Desktop.

Select an option

Save yo-bur/b2c338e0c4481dd117ad2d73a6d1a044 to your computer and use it in GitHub Desktop.
Mac PPTP VPN
plugin PPTP.ppp
noauth
remoteaddress "<HOST>"
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
#!/bin/bash
sudo pppd file "${BASH_SOURCE%/*}/config.vpn"
#!/bin/bash
sudo killall pppd
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment