免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: xgpiao
打印 上一主题 下一主题

[网络管理] 一个月的心血!iptables+NAT+squid 透明代理上网实现方案 [复制链接]

论坛徽章:
0
51 [报告]
发表于 2003-11-14 17:44 |只看该作者

一个月的心血!iptables+NAT+squid 透明代理上网实现方案

不过squid 的日志长的很快,各位有没有什么好办法让它限制大小,比如超过多少字节就 自动删除某个日期以前的日志
尘飞扬_cq 该用户已被删除
52 [报告]
发表于 2004-01-13 21:27 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
53 [报告]
发表于 2004-05-26 21:50 |只看该作者

一个月的心血!iptables+NAT+squid 透明代理上网实现方案

我也在最近尝试着用Squid+iptables做透明代理,但没有看到网页访问速度变快,反而出了不少的问题。总是DNS解析不好,在access.log中狂出以下的错误:
2004/05/24 21:52:28| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:52:44| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:53:00| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:53:16| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:53:32| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:53:48| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:54:04| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:54:20| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:54:36| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:54:52| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:55:08| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:55:24| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:55:40| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:55:56| WARNING! Your cache is running out of filedescriptors
2004/05/24 21:56:12| WARNING! Your cache is running out of filedescriptors
2004/05/24 22:03:14| ipcacheParse: No Address records
2004/05/24 22:04:10| ipcacheParse: No Address records
2004/05/24 22:07:51| ipcacheParse: No Address records
2004/05/24 22:08:08| ipcacheParse: No Address records
2004/05/24 22:11:46| ipcacheParse: No Address records
2004/05/24 22:15:51| ipcacheParse: No Address records
请教高手,有谁做透明代理+squid成功的,给指点一下。

论坛徽章:
0
54 [报告]
发表于 2004-08-13 09:00 |只看该作者

一个月的心血!iptables+NAT+squid 透明代理上网实现方案

iptables做了nat和端口转向后,在将squid按照楼主所说配置一下,可以使用squid透明上网了,我把access.log清空观察一下,确实是通过了squid.而且
当不设置httpd_accel_host时,访问网页将返回squid提示找不到url定位的资源的错误报告页,证明确实真的通过了squid了,不是表面功夫。

论坛徽章:
0
55 [报告]
发表于 2007-04-07 20:51 |只看该作者
正在学习这个,谢谢分享。
马上实验一下。

论坛徽章:
0
56 [报告]
发表于 2007-04-08 11:15 |只看该作者
原帖由 bjchenxu 于 2003-6-27 12:29 发表于 6楼  
加个精华,鼓励原创


哈哈。。这也能上精华?
偶新到一公司,正着手公司网络的部署。
方案以经通过。。。
LINUX做路由(跟楼主的这贴子差不多);
内网WIN 2003 AD;
LAMP+postfix ;
文件服务器;

哪天有空我改改再发上来大家评价下。呵呵

论坛徽章:
0
57 [报告]
发表于 2007-04-08 11:57 |只看该作者
原帖由 shanya 于 2007-4-8 11:15 发表于 56楼  


哈哈。。这也能上精华?
偶新到一公司,正着手公司网络的部署。
方案以经通过。。。
LINUX做路由(跟楼主的这贴子差不多);
内网WIN 2003 AD;
LAMP+postfix ;
文件服务器;

哪天有空我改改再发 ...

呵,你是什么时候做的?楼主的文章是什么时候写的?没有前人的指导后人做起来是很难的
不要吃饱了打厨子念完经骂和尚过河拆桥啊

[ 本帖最后由 platinum 于 2007-4-8 11:59 编辑 ]

论坛徽章:
0
58 [报告]
发表于 2007-04-09 10:16 |只看该作者
哇。03年的贴子哇。不好意思,没看时间。
突然想起那时安装fcitx都用了好几天。

论坛徽章:
0
59 [报告]
发表于 2007-04-10 16:31 |只看该作者
xu xi zhong...........

论坛徽章:
0
60 [报告]
发表于 2007-04-11 08:11 |只看该作者
我用了30/10天就搞定.楼主确实有点那个..............
嘿嘿!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP