Mac OS X socks proxy

Modified:
Created:

[TOC]

Set the Mac OS X settings from command line:

Set proxy settings for a device:

networksetup -setsocksfirewallproxy "Ethernet" localhost 9999

To clear settings for a device:

networksetup -setsocksfirewallproxy "Ethernet" "" ""

To turn the proxy on or off:

networksetup -setsocksfirewallproxystate "Ethernet" off/oo