[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squid als transparenter Proxy: Access Denied.



On Tuesday 01 November 2005 15:06, Tobias Krais wrote:
> solangsam bin ich am verzweifeln. Ich habe auf meiner Maschine
> (localhost) Squid installiert und mittels iptables zum transparenten
> Proxy gemacht:
>
> iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 8080
>
> In der squid.conf habe ich folgendes eingetragen:
>
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> Jetzt sollte es doch funktionieren. Tut es aber nicht. Ich bekomme jetzt
> auf jeder Seite folgenden Fehler:
> -----%<------
> The following error was encountered:
>
>     * Access Denied.
>
>       Access control configuration prevents your request from being
> allowed at this time. Please contact your service provider if you feel
> this is incorrect.
> -----%<-----
>
> Wenn ich den Squid manuell als Proxy eintrage funktioniert alles
> wunderbar. Also habe ich mich an die ACLs gemacht und als einzigste
> Regel folgendes stehen lassen:
>
> http_access allow all
>
> hilft aber auch net.

Entweder ist das nicht die einzige "http_access"-Zeile oder du hast die ACL 
namens "all" verbogen. Oder du hast den Server nicht reloaded (squid -k 
reconfig).

 Christoph
-- 
~
~
~
".signature" [Modified] 3 lines --100%--                3,41         All



Reply to: