Ubuntu 下面 gSTM + Privoxy 实现 http 代理
时间:2016-05-08 23:31 来源:linux.it.net.cn 作者:IT
启动GSTM,Add一个SSH代理,输入HOST为ssh.sshcenter.info,Login为SSH账号;
添加一个dynamic的端口
下载安装privoxy
-
sudo apt-get install privoxy
安装后只需要改动一点配置/etc/privoxy/config,让privoxy开启socks转http。在config中找到下面粗体的一行,把注释的#去掉,将端口号改为上面gstm中设定的即可。
listen-address localhost:8118
#forward-socks5 / 127.0.0.1:7070
然后重启
-
sudo /etc/init.d/privoxy restart
(责任编辑:IT)
启动GSTM,Add一个SSH代理,输入HOST为ssh.sshcenter.info,Login为SSH账号; 添加一个dynamic的端口 下载安装privoxy
安装后只需要改动一点配置/etc/privoxy/config,让privoxy开启socks转http。在config中找到下面粗体的一行,把注释的#去掉,将端口号改为上面gstm中设定的即可。
listen-address localhost:8118
然后重启
(责任编辑:IT) |