QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1261|回复: 0

请教SQUID透明代理问题。

[复制链接]
发表于 2006-10-30 11:48:08 | 显示全部楼层 |阅读模式
各位大虾:
    我在我的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

请高手给予指点!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 19:39 , Processed in 0.040710 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表