mostafa faridi wrote:
> I install squid 2.6 on Debian 4 and I think everything is good but when
> I type
>
Packaged squid or self-built? Which release number?
> *
> ** tail -f /var/log/squid/access.log
>
> *do not show me any thing and I think squid do not make log
> this is my IPtables rule
>
> *# Generated by iptables-save v1.3.6 on Tue Feb 19 18:08:20 2008
> *nat
> :PREROUTING ACCEPT [117:16009]
> :POSTROUTING ACCEPT [2:111]
> :OUTPUT ACCEPT [23:3703]
> -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
> -A POSTROUTING -o eth0 -j MASQUERADE
> COMMIT
> # Completed on Tue Feb 19 18:08:20 2008
> # Generated by iptables-save v1.3.6 on Tue Feb 19 18:08:20 2008
> *filter
> :INPUT ACCEPT [1186:117352]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [550:173868]
> -A FORWARD -i eth1 -j ACCEPT
> COMMIT
> # Completed on Tue Feb 19 18:08:20 2008
>
> *where I make mistake ??
NAT looks okay to me.
Might be your squid build (needs --enable-linux-netfilter) or something
in the config.
What does /var/log/squid/access.log say?
What is your config (without the comments)?
Amos
-- Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security advisories out on all earlier releases.Received on Wed Feb 20 2008 - 02:09:41 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST