ubuntu12.04--change socks5 to http by proxy
来源:互联网 发布:福州几个打车软件 编辑:程序博客网 时间:2024/06/18 00:56
1.
sudo apt-get install privoxy
2.
sudo vi /etc/privoxy/config
modify two places as fellows:
listen-address localhost:8111
forward-socks5 / 10.7.211.16:1080 .
Note:the dot at the last should be reserved, do not remove it.
3.
sudo /etc/init.d/privoxy start
或者sudo /etc/init.d/privoxy restart
如果失败,可以从/var/log/privoxy/logfile查看原因,如果permission deny,则需修改步骤2中的监听端口
4.
telnet 127.0.0.1 8111
connected to 127.0.0.1
5.
修改System Settings 里面的Network,将HTTP_PROXY, HTTPS_PROXY, FTP_PROXY修改为127.0.0.1, 端口号为8111
6.
修改.bashrc文件中的
export http_proxy=http://127.0.0.1:8111
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export https_proxy=$http_proxy
7.
修改.subversion目录下的servers文件
[global]
http-proxy-exceptions = *.**.com;127.0.0.1;10.*.*.*;localhost
http-proxy-host = 127.0.0.1
http-proxy-port = 8111
sudo apt-get install privoxy
2.
sudo vi /etc/privoxy/config
modify two places as fellows:
listen-address localhost:8111
forward-socks5 / 10.7.211.16:1080 .
Note:the dot at the last should be reserved, do not remove it.
3.
sudo /etc/init.d/privoxy start
或者sudo /etc/init.d/privoxy restart
如果失败,可以从/var/log/privoxy/logfile查看原因,如果permission deny,则需修改步骤2中的监听端口
4.
telnet 127.0.0.1 8111
connected to 127.0.0.1
5.
修改System Settings 里面的Network,将HTTP_PROXY, HTTPS_PROXY, FTP_PROXY修改为127.0.0.1, 端口号为8111
6.
修改.bashrc文件中的
export http_proxy=http://127.0.0.1:8111
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export https_proxy=$http_proxy
7.
修改.subversion目录下的servers文件
[global]
http-proxy-exceptions = *.**.com;127.0.0.1;10.*.*.*;localhost
http-proxy-host = 127.0.0.1
http-proxy-port = 8111
0 0
- ubuntu12.04--change socks5 to http by proxy
- socks5 proxy for http proxy
- socks5 proxy 转换 http proxy 的方法
- Socks5代理Socks5 Proxy
- change default shell from dash to bash in ubuntu12.04
- python socks5 proxy实现
- How to By Pass Proxy
- XDB: Utility package to change the HTTP and FTP ports used by XML DB
- XDB: Utility package to change the HTTP and FTP ports used by XML DB.
- how to enable /disable networking by command in ubuntu12.04
- Script to change gateway by command
- CentOS搭建Socks5 Proxy代理服务器
- socks5 转 http 代理
- how change oracle oem https to http
- How to use http-proxy for svn
- How to configure subversion's http proxy
- convert ssh tunnel to http proxy
- 在linux下为 git socks5 proxy
- 基于XMPP协议的aSmack源码分析(链接)
- 网络基本知识
- 数据库索引原理(oracle10g宝典17章读书笔记)
- 【bzoj1391】order
- double 到 string 的转换
- ubuntu12.04--change socks5 to http by proxy
- ABI和API的区别
- ubuntu12.04解决ssh连不上
- 线性拟合——离群点outliers的处理
- lcp+dp Codeforces611D New Year and Ancient Prophecy
- 2016 新年新气象
- install rpmbuild on rhel/fedora
- LeetCode95 Unique Binary Search Trees II
- kvm raw qcow2 example