$IPTABLES -t nat -A PREROUTING -p tcp -s 172.16.0.0/18 \ --dport 80 -j REDIRECT --to-ports 3128
John Hansknecht wrote:
On Thu, 2003-02-27 at 09:47, Rick Matthews wrote:
How are you identifying your source group(s)? You may have lost
your ID method by going to a transparent proxy. You can look in squid's access.log and see what information squid has to send to
squidGuard.
I started checking logs, and I have found that the squid access log is
empty.... At this point I believe the error is in my iptables redirect.
The lines I have are;
$IPTABLES -t nat -A PREROUTING -p tcp -s 172.16.0.0/18 \
--destination-port 80 -j DNAT --to-destination 0/0:3128 $IPTABLES -t nat -A PREROUTING -p tcp -s 172.16.0.0/18 \
--destination-port 443 -j DNAT --to-destination 0/0:3128 These lines are producing these errors;
iptables v1.2.5: Bad IP address `0/0'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Bad IP address `0/0'
Try `iptables -h' or 'iptables --help' for more information.
I know this is a squid list ... but does anything see anything wrong
with these iptables commands.
