Last active
August 30, 2016 18:49
-
-
Save tschaefer/c9d91ec9c2c24daee74a84645077acfd to your computer and use it in GitHub Desktop.
OpenVPN MacOS DNS
This file contains 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
... | |
script-security 2 | |
up bin/up.sh | |
down bin/down.sh | |
... |
This file contains 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/sh | |
/usr/sbin/networksetup -setdnsservers Wi-Fi EMPTY |
This file contains 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/sh | |
/usr/sbin/networksetup -setdnsservers Wi-Fi 10.1.2.32 10.1.2.42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ sudo openvpn --config config.ovpn --up-restart