05-31-2014 07:27 AM - edited 03-04-2019 11:04 PM
i am trying to block torrent on cisco Router 3845 using NBAR but it is not blocking torrents. how can i block it properly. my NBAR config is as below.
class-map match-any p2p
match protocol bittorrent
match protocol edonkey
match protocol fasttrack
match protocol gnutella
match protocol kazaa2
match protocol winmx
match protocol blizwow
match protocol fatserv
match protocol gopher
match protocol kali
match protocol Konspire2b
match protocol youtube
!
!
policy-map p2p-Drop
class p2p
drop
interface GigabitEthernet0/0.4
description Servers-&-Switches-Vlan
encapsulation dot1Q 4
ip address 192.168.4.1 255.255.255.0
ip nbar protocol-discovery
ip nat inside
ip virtual-reassembly in
ip policy route-map PBR
service-policy input p2p-Drop