|
kamarale
23 posts
|
How do I block msn (and skype for example) on a Cisco router?? Thanks. |
|
luismg
130 posts
![]() |
I'll explain with megaupload site class-map match-any BADURLS match protocol http host *rapidshare.com* match protocol http host *rapidshare.de* match protocol http host *4shared.com* match protocol http host *mediafire.com* match protocol http host *sendspace.com* match protocol http host *hotfile.com* ! ! policy-map BLOCKURLS class BADURLS drop And on the interface you prefer you apply this with interface wan service-policy output BLOCKURLS Change the string for the msn servers and skype ones |
|
luismg
130 posts
![]() |
Oops it didn't format the text, I will attach it to the post File Attachments |
|
kamarale
23 posts
|
Thanks,I know how to block URLs but not apps like msn or skype. |
|
luismg
130 posts
![]() |
The fact is that there is no spoon, go and block https://Login.live.com or just as I said live.com http access and nobody will be able to login to msn messenger I get the login url from here: http://support.microsoft.com/kb/927847/en-us And do the same with https://login.skype.com or do this match protocol skype and drop it in the policy-map Hope this works for you. |
|
joshlowe
101 posts
|
Another useful tip when blocking things like MSN, is to match based on the user-agent string. For example, all packets sent by Windows Live Messenger (MSN) contain a user-agent string of "Live Messenger" in the HTTP header. You can match user-agent strings using the MQC like this: class-map type inspect http match-any NO_MSN match request header user-agent regex BLOCK_MSN You need to have a parameter map (called BLOCK_MSN in this example) that contains the regex for the user-agent you're blocking ("Live Messenger" in this case). Then you create the appropriate policy map to filter matches to the NO_MSN class. Do a search for user-agent and the program you want to block and you should find links to sites that will tell you what user-agent strings to filter. Hope this helps, Josh |
|
ciscocrank
29 posts
![]() |
thankx luismg it great way . but joshlowe I don't know if it is work in all cisco IOS I have cisco 2900 series and (match request header user-agent regex) is not found thankx |
Viewing 1 - 7 of 7
- 1


