Created
September 12, 2013 16:04
-
-
Save weilu/6539993 to your computer and use it in GitHub Desktop.
Proxy: Have you tried turning it off and on again on Mac OS X?
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
# on | |
sudo networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080 | |
ssh -D 1080 -i ~/.ssh/proxy.pem [remote-user]@[remote-server] | |
# off | |
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment