Re: [squid-users] Squid, transparent proxy, and logs

From: <jwebb@dont-contact.us>
Date: Thu, 19 Feb 2004 19:06:40 -0500 (EST)

>
> Ok, so the kernel and proxy runs fine.
>
> What does your iptables interception rules look like?
>
> iptables-save -t nat
>
> Regards
> Henrik

We've got about 200 (private) class C's, so there are many entries that
look like this:

*nat
:PREROUTING ACCEPT [1149084:79155898]
:POSTROUTING ACCEPT [2574077:165548111]
:OUTPUT ACCEPT [1884442:115362888]
-A PREROUTING -s x.x.x.x/255.255.254.0 -i eth0 -p tcp -m tcp --dport 80 -j
REDIRECT --to-ports 8080

The 255.255.254.0 is correct.. each location has 2 class C's supernetted.
Received on Thu Feb 19 2004 - 17:13:02 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST