centos设置用socks5代理

http://www.privoxy.org/sf-download-mirror/Sources/

tar axf privoxy-3.0.28-stable-src.tar.gz
cd privoxy-3.0.28-stable
yum -y install gcc autoconf
useradd privoxy



autoheader  &&  autoconf
./configure
make && make install

编辑/usr/local/etc/privoxy/config

isten-address 127.0.0.1:8118  
forward-socks5t   /               10.0.0.254:10808 .

启动
/etc/init.d/privoxy start

export http_proxy=http://127.0.0.1:8118
export https_proxy=http://127.0.0.1:8118
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。