blocco dei siti

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
spidernet
Cisco power user
Messaggi: 84
Iscritto il: ven 21 mag , 2010 2:53 pm

salve a tutti ragazzi,
avrei bisogno del vostro aiuto.
ho installato un cisco 877 in un istituto scolastico e mi hanno chiesto giustamente il blocco dei siti vietati....

come posso procedere?
devo sapere per forza gli indirizzi di ogni singolo sito da bloccare o c'è qualche funzione che posso abilitare?
Avatar utente
crisalf76
Cisco fan
Messaggi: 52
Iscritto il: dom 25 ott , 2009 11:21 pm
Località: Napoli
Contatta:

Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink:
Avatar utente
zot
Messianic Network master
Messaggi: 1274
Iscritto il: mer 17 nov , 2004 1:13 am
Località: Teramo
Contatta:

consiglio spassionato..... opendns o squid con un buon database
Se c'è soluzione perchè t'arrabbi?
Se non c'è soluzione perchè t'arrabbi?


http://www.zotbox.net
Avatar utente
zot
Messianic Network master
Messaggi: 1274
Iscritto il: mer 17 nov , 2004 1:13 am
Località: Teramo
Contatta:

consiglio spassionato..... opendns o squid con un buon database
Se c'è soluzione perchè t'arrabbi?
Se non c'è soluzione perchè t'arrabbi?


http://www.zotbox.net
spidernet
Cisco power user
Messaggi: 84
Iscritto il: ven 21 mag , 2010 2:53 pm

appena posso proverò...

grazie sei stato molto gentile
crisalf76 ha scritto:Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink:
spidernet
Cisco power user
Messaggi: 84
Iscritto il: ven 21 mag , 2010 2:53 pm

appena posso proverò...

grazie sei stato molto gentile
crisalf76 ha scritto:Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink:
Rispondi