ChinaUnix.net
相关文章推荐:

tinyproxy 配置

安装tingyproxy服务器 #apt-get install tinyproxy 配置/etc/tinyproxy/tinyproxy.conf User nobody Group nogroup Port 6464 #Listen 219.147.187.186 #注释之后可以侦听所有网卡的请求 #Bind 219.147.187.186 #DianXin Bind 221.207.231.52 #WangTong Timeout 600 DefaultErrorFile "/usr/share/tinyproxy/default.html" StatFile "/usr/share/tinyproxy/stats.html" Logfile "/var/log/tinyproxy.log" LogLevel Info PidFile...

by CUDev - Linux文档专区 - 2007-07-11 15:54:27 阅读(1107) 回复(0)

相关讨论

现在有这样一个测试需求: 在Linux系统的PC上,想使用tinyproxy禁止www.baidu.com的访问,tinyproxy.conf中设置的代理端口号是8888,过滤文件/etc/filter中的内容是baidu.com,注释掉Allow的相关行,即任何主机都可以使用这个代理。 然后将80端口的数据重定向到8888端口:iptables -t nat -A OUTPUT -t tcp --dport 80 -j REDIRECT --to-ports 8888,此处使用OUTPUT链而不是PREROUTING链,是因为PC不是网络数据中转设备。...

by chenghanshuang - Linux系统管理 - 2013-09-22 13:51:20 阅读(3859) 回复(7)

想对代理的目标访问机器做一些限制,限制其只能够访问限定的主机。本来想修改tinyproxy的代码,一直找借口拖延,今天亮亮找我下载论文的时候,我想起这件事来。 拿出tinyproxy的代码,发现有个filter_init还有filter_url等函数,猜想tinyproxy已经有了filter功能了。 查看/etc/tinyproxy/tinyproxy.conf中: # # The location of the filter file. # #Filter "/etc/tinyproxy/filter" # # Filter based on URLs rather than dom...

by CUDev - Linux文档专区 - 2008-04-22 15:24:55 阅读(885) 回复(0)

配置文件如下: debian:/etc/tinyproxy# cat tinyproxy.conf User nobody Group nogroup Port 8888 #Listen 192.168.0.1 #Bind 192.168.0.1 Timeout 600 DefaultErrorFile "/usr/share/tinyproxy/default.html" StatFile "/usr/share/tinyproxy/stats.html" Logfile "/var/log/tinyproxy.log" LogLevel Info PidFile "/var/run/tinyproxy.pid" no upstream "hit.edu.cn" no upstream "202.118.224.0/24" no upstream "202.118.226...

by CUDev - Linux文档专区 - 2007-10-26 22:03:44 阅读(1150) 回复(0)

请问用tinyproxy如何修改或插入 http body? 有详细的介绍文档吗?

by 69762595 - Linux系统管理 - 2014-07-13 11:17:05 阅读(917) 回复(0)

今天,中午的时候,想起下午的实验,在实验室不能够访问外网,就想做一个代理。 估计是那个实验室开了校内,或者是欠费了,只能够访问校园网。 实验室 ==> xxx.xxx.xxx.46[校园网某代理] ==> xxx.xxx.xxx.2[网通代理]==>出国访问 好在xxx.xxx.xxx.46我有管理权限,就使用tinyproxy架设了一个代理,tinyproxy配置就是上面的那一篇文章,实际上就是开了upstream proxy。 no upstream xxx.xxx.xxx.0/24[校园网网段] upstream xxx....

by CUDev - Linux文档专区 - 2007-10-26 22:23:13 阅读(1095) 回复(0)