squid - konfiguracia

Marian Sabo linux-cz na cps.sk
Čtvrtek Srpen 16 11:20:10 CEST 2001


Tak tu to mate:


acl all src 0.0.0.0/0.0.0.0
acl host000 src 10.10.10.0/255.255.255.255
acl host001 src 10.10.10.1/255.255.255.255

# atd - takto su definovane vsetky hosty

acl localhost src 127.0.0.1/255.255.255.255
acl fast_usr1 src 10.10.10.23/255.255.255.255
acl slow_usr1 src 10.10.10.27/255.255.255.255

acl our_lan src 10.10.10.0/24
acl cpoj_cz dstdomain cpoj.cz

always_direct allow cpoj_cz

#http_access allow host000
http_access allow host001
#http_access allow host002
#http_access allow host003
#http_access allow host004
http_access allow host005
#http_access allow host006
#http_access allow host007
http_access allow host008
#http_access allow host009
#http_access allow host010
#http_access allow host011
#http_access allow host012
#http_access allow host013
#http_access allow host014
#http_access allow host015
#http_access allow host016
#http_access allow host017
#http_access allow host018
#http_access allow host019
http_access allow host020
http_access allow host021
http_access allow host022
http_access allow host023
http_access allow host024
http_access allow host025
#http_access allow host026
#http_access allow host027
http_access allow host028
http_access allow host029


http_access allow cpoj_cz
http_access deny all



> 
> > takto mi to proste nefunguje :(((
> >
> Tak to tady cele poslete a uvidime.
> 
> -- 
>     David Trcka, network administrator




Další informace o konferenci Linux