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
hi.
yudeMacBook-Air:~ brite$ networksetup -setsocksfirewallproxy "Ethernet" localhost 1080
** Error: The parameters were not valid.
yudeMacBook-Air:~ brite$
你的命令“networksetup -setsocksfirewallproxy "Ethernet" localhost 8080”不对吧?