Created
June 30, 2015 11:36
-
-
Save guileen/5380ab0ae2ed37176cb5 to your computer and use it in GitHub Desktop.
安装http代理,vpn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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