Difference between revisions of "Privoxy"

From ElectroDragon
Jump to navigation Jump to search
(No difference)

Latest revision as of 09:38, 8 October 2019

  • 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 www.google.com
curl -sL www.pornhub.com
curl -sL www.youtube.com


HTTP to Socks5 by Privoxy

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

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