cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1619
Views
0
Helpful
9
Replies

How to block port and ip Router 2900

Hello,

I'm trying to block Spotify in mi company. I can block the HTTP but https is steel working, so I need to block this with the port and ip, what it's the command to get this?

Thanks,

9 Replies 9

if you use proxy, then perhaps you can block this application there

Regards,

Rikshit

Hello, Rikshit.

I don't have a proxy, I try to block this in the router per command line

try this

class-map match-any MUSIC_SITES
match protocol secure-http

or you can match based on contents of url, this will block both http and https

class-map match-any MUSIC_SITES
match protocol http url "*spotify*"

policy-map M_SITES
class MUSIC_SITES
drop

service-policy out (INTERNET INTERFACE)

 

I try with this command but HTTPS still working.

Proxy and Firewall are the only solutions as far as I know..The above commands were available in Internet and even I was not sure if they will work. Sorry..

Regards,

Rikshit

Ok, Thankss rikshit.

so only with server proxy.

What proxy recommend you ? Squid + Squidguard?

Perhaps you can doing "nslookup www.spotify.com" and then block the IP adresses using an ACL.

Check this link :

http://www.techrepublic.com/article/block-access-to-a-web-site-using-the...

We use Sophos proxy . I don't know about squid

Regards,

Rikshit

Perhaps you can doing "nslookup www.spotify.com" and then block the IP adresses using an ACL.

Check this link :

http://www.techrepublic.com/article/block-access-to-a-web-site-using-the-cisco-ios/

Regards,

Rikshit