norbert32
Goto Top

Squid auf W2K8 Server läuft nur lokal

Der Zugriff der Clients auf Squid auf einem Windows 2008 Server geht aus dem internem Netz nicht, aber lokal.

Hallo allerseits,

ich habe auf einem Windows 2008 Server Squid 2.7 installiert. Der Zugriff aufs Internet über den Squid-Proxy funktioniert aus irgendwelchen Gründen nur lokal. Versuche ich aus dem internen Netz auf den Squid zuzugreifen scheitert das Ganze..
Hier meine Konfiguration:

#Recommended minimum configuration:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32

acl localnet src 192.168.0.0/16	# RFC1918 possible internal network

acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow localnet
http_access deny all

icp_access allow localnet
icp_access deny all

http_port 3128

cache_dir ufs c:/squid/var/cache 10000 40 256
access_log c:/squid/var/logs/access.log squid
visible_hostname proxy
dns_nameservers 192.168.0.10 10.0.2.1

acl block_domain srcdomain "c:/squid/etc/domains.deny"  
acl block_domain_rev dstdomain "c:/squid/etc/domains.deny"  

http_access deny block_domain
http_access deny block_domain_rev

acl porn url_regex -i "c:/squid/etc/domains.regexp"  
acl notporn url_regex -i "c:/squid/etc/domains.exclude"  

http_access allow notporn
http_access deny porn

Hat jemand eine Idee, woran das liegen kann....?

Danke schonmal, Norbert

Content-Key: 180870

Url: https://administrator.de/contentid/180870

Printed on: April 25, 2024 at 19:04 o'clock

Member: LordXearo
LordXearo Feb 22, 2012 at 10:54:54 (UTC)
Goto Top
Hallo,

sorry aber, ist dein Lokales Netz auch dieses : acl localnet src 192.168.0.0/16 ?

Gruß

Xearo
Member: norbert32
norbert32 Feb 22, 2012 at 19:58:47 (UTC)
Goto Top
Hallo Xearo,

jepp. Es könnte sogar auf 192.168.0.0/24 eingeschränkt werden...

Gruß,
Norbert
Member: norbert32
norbert32 Feb 24, 2012 at 04:28:23 (UTC)
Goto Top
Hallo,

ich trau es mir fast gar nicht zu sagen... face-wink Ich hab die Windows Firewall geflissentlich ignoriert.... face-sad

Mit der richtigen Regel funktioniert es....
Danke trotzdem für die Unterstützung,
Norbert