Skip to content

Instantly share code, notes, and snippets.

@mybeky
Created December 25, 2014 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mybeky/501925fc6db937220308 to your computer and use it in GitHub Desktop.
Save mybeky/501925fc6db937220308 to your computer and use it in GitHub Desktop.
# Turn On
networksetup -setsocksfirewallproxy Wi-Fi 127.0.0.1 7070
networksetup -setsocksfirewallproxy Ethernet 127.0.0.1 7070
networksetup -setsocksfirewallproxystate Wi-Fi on
networksetup -setsocksfirewallproxystate Ethernet on
# Turn Off
networksetup -setsocksfirewallproxystate Wi-Fi off
networksetup -setsocksfirewallproxystate Ethernet off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment