Privoxy

From ElectroDragon
Revision as of 09:36, 8 October 2019 by Chao (talk | contribs) (Created page with "* To bring a bridge from SOCKS5 to http * Setup privoxy sudo apt install privoxy nano /etc/privoxy/config add lines ''' remove line listen-address 127.0.0.1:8118''' first i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • To bring a bridge from SOCKS5 to http
  • Setup privoxy
sudo apt install privoxy
nano /etc/privoxy/config
add lines

remove line listen-address 127.0.0.1:8118 first in config file section 4.1

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