Pages

Thursday, 19 April 2018

在终端里面,设置mac系统的socks proxy

networksetup -setsocksfirewallproxy "Wi-Fi" localhost 8080
To clear the domain and port
networksetup -setsocksfirewallproxy "" "" ""
To turn the SOCKS proxy off
networksetup -setsocksfirewallproxystate "Wi-Fi" off
from https://gist.github.com/jordelver/3073101
实际上,就是设置mac系统的默认浏览器safari的代理。
-------
相关帖子:https://briteming.blogspot.com/2018/05/mac-proxysetup.html

No comments:

Post a Comment