cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
998
Views
0
Helpful
2
Replies

I tried to block site and I'm having problems

Staline Satola
Level 1
Level 1

!
ip dhcp excluded-address 192.168.0.1 192.168.0.10
!
ip dhcp pool LAN FAB1 DHCP
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 1.1.1.1 1.0.0.1
lease 7
!
!
!
no ip domain lookup
ip domain name yourdomain.com
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
class-map match-any url-bloquear-sites
match protocol http host "*youtube*"
match protocol http host "*facebook*"
match protocol http host "*xvideos*"
match protocol http host "*torrent*"
match protocol http host "*badoo*"
match protocol http host "*porn*"
match protocol http host "*twitter*"
match protocol http host "*bittorrent*"
!
policy-map url-bloquearsites-policy
class url-bloquear-sites
drop
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
spanning-tree portfast
service-policy input url-bloquearsites-policy
!
interface FastEthernet4
description TVBACO FIBRA 20M
ip address 192.168.100.77 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!

 

2 Replies 2

Hi Staline Satola
It could tell you what problem is occurring when you block.
If you can put photos, logs or call in private.
Feel free.

 

Best Regards,

Josiane

simply access the site as if it were not blocked