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

Squid als transparenter Proxy: Access Denied.



Hallo zusammen,

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.

Ich bin jetzt so langsam echt am verzweifeln. Könnt ihr mir helfen?

Grüssle,

Tobias



Reply to: