Setting proxy for Windows CMD and Linux Terminal

setting proxy for Windows CMD and Linux Terminal

Linux Terminal:

set http_proxy=http://127.0.0.1:8118
set https_proxy=http://127.0.0.1:8118

set http_proxy=
set https_proxy=

more ref: Setting proxy for apt from terminal

Windows CMD:

format:

set HTTP_PROXY=http://user:[email protected]:port

examples:

set HTTP_PROXY=http://127.0.0.1:8118
set HTTPS_PROXY=http://127.0.0.1:8118

Use Privoxy to transfer SOCKS to HTTP/HTTPS or Proxifier to manage the proxy

猜你喜欢

转载自www.cnblogs.com/sonictl/p/11248627.html