安装 TinyProxy
yum -y install tinyproxy
配置 TinyProxy
vim /etc/tinyproxy/tinyproxy.conf
修改 Port 端口,默认为 8888
Port 8888
注释掉 Allow,表示放行所有
Allow 127.0.0.1
Allow 192.168.0.1
Allow xxx.xxx.xxx.xxx
隐藏掉Via请求头部,去掉下面的注释
DisableViaHeader Yes
启动或停止命令
/bin/systemctl start tinyproxy.service
/bin/systemctl stop tinyproxy.service
日志文件默认在
/var/log/tinyproxy/tinyproxy.log
感谢您的支持,写的文章如对您有所帮助,开源不易,请您打赏,谢谢啦~