Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac 通过命令行更改代理配置 #34

Open
iliuyt opened this issue Mar 11, 2019 · 0 comments
Open

mac 通过命令行更改代理配置 #34

iliuyt opened this issue Mar 11, 2019 · 0 comments

Comments

@iliuyt
Copy link
Owner

iliuyt commented Mar 11, 2019

使用Alfred切换网络代理
参考内容

# 设置自动发现代理
networksetup -setproxyautodiscovery <networkservice> <on off>
# 设置自动代理配置
networksetup -setautoproxyurl <networkservice> <url>
# http代理
networksetup -setwebproxy <networkservice> <on off>
networksetup -setwebproxy <networkservice> <url><port>
# https代理
networksetup -setsecurewebproxy <networkservice> <on off>
networksetup -setsecurewebproxy <networkservice> <url><port>

#其他类似可以去网上直接查networksetup即可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant