Community discussions

MikroTik App
 
homeboy
just joined
Topic Author
Posts: 15
Joined: Tue Jul 10, 2007 10:59 am

How to block YouTube

Tue Jul 10, 2007 11:04 am

How do you block this site using the mikrotik?
 
User avatar
dibatech
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Tue Apr 04, 2006 10:14 am

Re: How to block YouTube

Tue Jul 10, 2007 5:47 pm

1. Do a host lookup under your favourite OS example..

[TestBox]# host youtube.com
youtube.com has address 208.65.153.253
youtube.com has address 208.65.153.251
youtube.com mail is handled by 10 sjl-mbox1.sjl.youtube.com.

It should show which ip's handle the site.

2. add these ip's to a address list..

/ ip firewall address-list
add list=youtube address=208.65.153.251 comment="" disabled=no
add list=youtube address=208.65.153.253 comment="" disabled=no

3. You can block the site by adding drop rule under:

/ip firewall filter add action=drop dst-address-list=youtube chain=forward

Haven't checked this properly but should work.

Now the only question is why?
 
channelasian
newbie
Posts: 28
Joined: Thu Jun 11, 2009 8:55 am

Re: How to block YouTube

Sat Nov 28, 2009 3:42 am

not work for me.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to block YouTube

Sat Nov 28, 2009 5:03 am

Look up web proxy on the wiki and install it transparently, then look up web proxy rules and use them to block Youtube (and Facebook, since I believe you're in that thread, too).

Who is online

Users browsing this forum: GoogleOther [Bot], neitro and 110 guests