1.安装tinyproxy
yum -y install tinyproxy
2.修改配置
vim /etc/tinyproxy/tinyproxy.conf # 修改代理服务端口 Port 8888 # 注释 #Allow 127.0.0.1 # 解开注释 DisableViaHeader Yes
3.启动命令
systemctl start tinyproxy.service
systemctl restart tinyproxy.service
systemctl stop tinyproxy.service
systemctl status tinyproxy.service
systemctl enable tinyproxy.service
4. 关闭防火墙
systemctl status firewalld.service