From ElectroDragon Wiki
Revision as of 21:38, 8 October 2019 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • To bring a bridge from SOCKS5 to http
  • Setup privoxy
sudo apt install privoxy
nano /etc/privoxy/config
add lines

remove line listen-address first in config file section 4.1

forward-socks5 / . # here is the local sock5 proxy address, or ethernet socks5 proxy address 
listen-address     # HTTP代理地址
restart -> sudo /etc/init.d/privoxy restart
  • Setup the http proxy to use
export http_proxy=""
export https_proxy=""
export ftp_proxy=""
export ALL_PROXY=""
  • done and test
curl -sL
curl -sL
curl -sL


HTTP to Socks5 by Privoxy

# 把 HTTP 流量转发到本机 的 Shadowsocks
forward-socks5 / .

# 可选,默认只监听本地连接
# 可以允许局域网中的连接