x:>netsh
netsh>winhttp
netsh winhttp>
netsh winhttp>set proxy 127.0.0.1:1080
netsh winhttp>reset proxy
show proxy
set http_proxy=http://http.proxy.com:12345
set https_proxy=http://https.proxy.com:23456
set socks5_proxy=socks5://https.proxy.com:23456
git config --global http.proxy %http_proxy%
git config --global https.proxy %https_proxy%
git config --get http.proxy
git config --get https.proxy
git config --global --unset http.proxy
IE/Chrome: 注册表
路径:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
键:ProxyEnable:1 ProxyServer:11.1111.11:111
Firefox: prefs.js文件
路径:C:\Users\li\AppData\Roaming\Mozilla\Firefox\Profiles\ncc8unbx.default\prefs.js
内容:
user_pref("network.proxy.http", "11.11.11.11");
user_pref("network.proxy.http_port", 333);
user_pref("network.proxy.socks", "11.11.11.11");
user_pref("network.proxy.socks_port", 333);
user_pref("network.proxy.ssl", "11.11.11.11");
user_pref("network.proxy.ssl_port", 333);