当前时区 GMT+8, 现在时间是 2008-8-22 10:34 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 请教SQUID透明代理问题。
ww2008
新手上路
Rank: 1



UID 229314
精华 0
积分 3
帖子 1
阅读权限 10
注册 2006-10-30
状态 离线
发表于 2006-10-30 11:48  资料  短消息  加为好友 
请教SQUID透明代理问题。

各位大虾:
    我在我的LINUX FIREWALL上配置了SQUID2.6,设置好squid.conf文件后,在IE上设置代理服务器地址、代理端口后就可以使用SQUID代理上网的,但是我在iptables上设置透明代理却出现了这样的情况:
The following error was encountered:

Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:

Missing or unknown request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT requests
Illegal character in hostname; underscores are not allowed
Your cache administrator is webAdmin

--------------------------------------------------------------------------------

Generated Mon, 30 Oct 2006 03:24:31 GMT by firewall (squid/2.6.STABLE4)

注:(SQUID的监听端口是 17991)
iptables 规则链:
nat表
-A PREROUTING -s 192.168.10.13 -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 17991
filter表
—A INPUT -i eth1 -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -m multiport --dports 17991 -j ACCEPT

请高手给予指点!

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP