[prev in list] [next in list] [prev in thread] [next in thread]
List: squidguard
Subject: Re: Web server on same machine
From: WA Support <support () wildapache ! net>
Date: 2003-09-12 19:07:32
[Download RAW message or body]
IMHO, it sounds like a nameserver/routing issue.
Murrah Boswell
> barry@postman.co.za wrote:
>
> Hi all
>
> I am running squid and squidguard and all is working fine (well,
> nearly).
>
> Squid is running transparently on port 3128. I redirect traffic with
> the following firewall rules :
>
> iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 -d 192.168.5.1/24
> --destination-port 80 -j ACCEPT
> iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 -d 192.168.2.3/24
> --destination-port 80 -j ACCEPT
> iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 --destination-port
> 80 -j REDIRECT --to-ports 3128
> The first rule is for traffic on eth1 and the second for eth0. These
> rules make sure that web request for web server
> on the same machine does not go through the proxy but to the web
> server.
>
> The problem i'm having is with redirecting banned users to a
> local page liek this :
>
> redirect http://192.168.5.1/xml/forbidden.php
>
> This just times out.
>
> When I use a domain name instead of the ip like above it takes forever
> to work.
>
> Does anyone have any ideas on what the problem might be ?
>
> Thanks
> Barry
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic