Created
January 8, 2019 11:50
-
-
Save yo-bur/b2c338e0c4481dd117ad2d73a6d1a044 to your computer and use it in GitHub Desktop.
Mac PPTP VPN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo pppd file "${BASH_SOURCE%/*}/config.vpn" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo killall pppd | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment