Skip to content

Instantly share code, notes, and snippets.

View myafeier's full-sized avatar

Joffre myafeier

  • kunming,china
View GitHub Profile
@myafeier
myafeier / gist:c8cfc58117f6afc58aac72a154375fed
Created October 8, 2019 07:26 — forked from jordelver/gist:3073101
Set the Mac OS X SOCKS proxy on the command line

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

Set the SOCKS proxy to local SSH tunnel

networksetup -setsocksfirewallproxy "Ethernet" localhost 8080

To clear the domain and port