blokovanie urcitych adries

Ivo Hazmuk ivo at vutbr.cz
Fri Jul 18 06:43:33 CEST 2003


> Mozes to prosim konkretizovat, lebo mne obmedzovanie akosi nefunguje? Co
> konkretne treba vlozit do squid.conf, aky riadok?

Treba:
# regex matching on whole URL
acl UTOK url_regex cmd.exe

# dalsi access listy
acl SMTP port 25
acl GETPOST method GET POST

# povol pouze pristup do adresaru /go - predelat na case insensitive
acl DOMENA url_regex login.domena.cz/go
acl DOMENA url_regex [Ll][Oo][Gg][Ii][Nn].[Dd][Oo][Mm][Ee][Nn][Aa].[Cc][Zz]/[Gg][Oo]
acl DOMENA url_regex 192.168.1.3/go
acl DOMENA1 dstdomain .domena.cz

redirector_access allow DOMENA
redirector_access deny all

http_access deny UTOK
http_access deny SMTP
http_access allow DOMENA GETPOST DOMENA1
http_access deny all

	I.




More information about the Users-l mailing list