setup sslocal config.json listen localhost 1080 portinstall polipoadd next line into etc/polipo/config:socksParentProxy=localhost:1080service polipo restartint console use:export http_proxy=http://localhostok!ex:https://github.com/clowwindy/shadowsocks/wiki/Convert-Shadowsocks-into-an-HTTP-proxy