This is a discussion on Re: [squid-users] Squid, transparent proxy, and logs within the Squid Users forums, part of the Web Server and Related Forums category; > > Ok, so the kernel and proxy runs fine. > > What does your iptables interception rules look like? &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> > 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. |