CentOS 安装HTTP代理服务器Tinyproxy

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kongdeqian1988/article/details/79042298

Tinyproxy是一个小型的基于GPL的HTTP/SSL代理程序,非常适合小型网络而且便于快速部署。这个代理程序最大的优点就是占用系统资源比较少。这里使用的系统为CentOS5.6,可以直接yum方式安装。

安装Tinyproxy

yum install tinyproxy

编辑配置文件:

vim /etc/tinyproxy/tinyproxy.conf

Port 801 //修改代理端口

修改Allow 127.0.0.1为自己IP,只允许自己使用,或者在Allow前面打#注释,允许任何IP都可以连接到Proxy:

# Allow 127.0.0.1
# Allow 192.168.1.0/25

启动Tinyproxy服务,并设置开机自启:

service tinyproxy restart

chkconfig --level 345 tinyproxy on

猜你喜欢

转载自blog.csdn.net/kongdeqian1988/article/details/79042298