sudo apt-get install tinyproxy
service tinyproxy start
/etc/tinyproxy.conf:
将Port默认的8888改成你想要的端口(如ljysrv上面的8990 TCP端口)
2. 将Allow 127.0.0.1注释掉
-- 启动 --
1. $cd ~/bin
2. $./tinyproxy -c ~/etc/tinyproxy.conf
-- 关闭 --
1. $killall tinyprox
相关地址:http://www.2cto.com/os/201305/208936.html
时间: 2024-12-12 20:33:18