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
networksetup -setsocksfirewallproxy "Ethernet" "" ""
To turn the SOCKS proxy off
networksetup -setsocksfirewallproxystate "Ethernet" off