本文主要讲解了“centos下怎么安装配置tinyproxy”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“centos下怎么安装配置tinyproxy”吧!
centos 下安装 tinyproxyyum install -y tinyproxy启动、停止、重启# 启动service tinyproxy start# 停止service tinyproxy stop# 重启service tinyproxy restart相关配置默认配置文件路径
/etc/tinyproxy/tinyproxy.conf允许所有人使用代理,注释allow 127.0.0.1
# allow 127.0.0.1修改监听端口号, 默认 8888
port 1234代理请求过滤,示例仅允许代理请求 anoyi.com 的内容,配置如下
# 指定过滤内容的文件位置filter /etc/tinyproxy/filter# 使用 url 过滤而不是 domainsfilterurls on# 允许代理过滤文件里的地址,若不允许,此处设置为 nofilterdefaultdeny yes然后在/etc/tinyproxy/filter文件添加如下内容
anoyi.com查看代理请求日志tail -f /var/log/tinyproxy/tinyproxy.log感谢各位的阅读,以上就是“centos下怎么安装配置tinyproxy”的内容了,经过本文的学习后,相信大家对centos下怎么安装配置tinyproxy这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是云,小编将为大家推送更多相关知识点的文章,欢迎关注!