I currently administer a network. I use a Cisco 2821 as my gateway.Please i will need a configuration to block some users on my Network from accessing the following sites: www.facebook.com, www.youtube.com, Yahoo Chat.
The best way to accomplish this is using a proper proxy with content filter - there are options ranging from very expensive to free.
(Try IPCOP with squidguard addon for example)
A very quick and dirty way to block facebook using only your router is to route all traffic to facebook Ip addresses to null
ip route 22.214.171.124 255.255.255.255 null0 ip route 126.96.36.199 255.255.255.255 null0 ip route 188.8.131.52 255.255.255.255 null0 ip route 184.108.40.206 255.255.255.255 null0 ip route 220.127.116.11 255.255.255.255 null0
If you want to only block access for certain users, then this is possible using Policy Based Routing
ip access-list extended ACL_BLOCK_FACEBOOK
permit ip 192.168.1.0 0.0.0.255 host 18.104.22.168 permit ip 192.168.1.0 0.0.0.255 host 22.214.171.124 permit ip 192.168.1.0 0.0.0.255 host 126.96.36.199 permit ip 192.168.1.0 0.0.0.255 host 188.8.131.52 permit ip 192.168.1.0 0.0.0.255 host 184.108.40.206
deny ip any any
route-map RM_BLOCK_FACEBOOK permit 10 match ip address ACL_BLOCK_FACEBOOK set ip next-hop null0 ! route-map RM_BLOCK_FACEBOOK permit 20 !
description Inside Interface
ip policy route-map RM_BLOCK_FACEBOOK
This assumes the users you want to block are in the range 192.168.1.0/24
However this is easily circumvented by people using open proxies.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...