|
我用FC6 + iptables + squid2.6,兩張 lan card,一張對外及對內,
以下係cache.log
2007/01/24 17:43:36| clientReadRequest: FD 12 (192.168.0.45:2609) Invalid Request
我試過係squid.conf 改做 http_access allow all
而iptables 我改到完全開放.
兩句係iptables
iptables -t nat -A POSTROUTING -o eth1 -s 192.168.0.0/24 -j SNAT --to-source 202.82.xx.xx
iptables -t nat -A PREROUTING -i eth0 -s 192.168.0.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-port 3128
以下是IE畫面
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 root. |
|