Skip to content

Instantly share code, notes, and snippets.

@guileen
Created June 30, 2015 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guileen/5380ab0ae2ed37176cb5 to your computer and use it in GitHub Desktop.
Save guileen/5380ab0ae2ed37176cb5 to your computer and use it in GitHub Desktop.
安装http代理,vpn
sudo apt-get install texinfo
curl -L https://github.com/jech/polipo/archive/polipo-1.1.1.tar.gz -o polipo-1.1.1.tar.gz
tar xzf polipo-1.1.1.tar.gz
cd polipo-polipo-1.1.1 && make all
# TODO edit config.sample to /etc/polipo/config
# ssh -N -L 8123:localhost:8123 user@host
# export http_proxy http://localhost:8123
# $ ssh -f -C -L 8124:localhost:8123 trurl polipo
# $ polipo parentProxy=localhost:8124
# ssh -N -L 8123:0.0.0.0:8123 user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment