WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   squid proxy (http://www.wcm.at/forum/showthread.php?t=143501)

CM²S 31.08.2004 19:17

squid proxy
 
hallo,

liebe leute

ich hab nen squid laufen mit einigen acls (erlaubte domainen)
jetzt hab ich eine

acl dst 0.0.0.0/0 dst_all
acl ....
acl...

und als letzte diese hier, die verhindern soll, das alle anderen domainen, die nicht in den acl´s drin stehen , geblockt werden.

http_access deny dst_all


aber irgendwie ziehts nicht...


der squid lest doch seine conf von oben nach unten oder??

Ciao
CM²S:heul:

callas 01.09.2004 09:36

squid-doku:

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# acls for my network addresses
acl my-iplist-1 src 192.168.1.0/24
acl my-iplist-2 src 10.0.0.0/255.255.0.0
# Check that requests are from users on our network
http_access allow my-iplist-1
http_access allow my-iplist-2
icp_access allow my-iplist-1
icp_access allow my-iplist-2
# allow requests from the local machine (for testing and the like)
http_access allow localhost
# End of locally-inserted rules
http_access deny all


Alle Zeitangaben in WEZ +2. Es ist jetzt 11:07 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag