Page 1 of 1
Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 11:56 am
by piseth
Block Youtube website on RB750 but want to allow some IP to access youtube.
Could all friend can share me the configure?
regards,
Piseth
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 12:01 pm
by mrz
Set up web proxy. Then you can allow/block websites in access list.
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 12:05 pm
by piseth
Yes, I have try Web proxy is working, but I want to use Firewall to block and allow.
Can you share?
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 1:42 pm
by piseth
Can web proxy block contents and Direct specific IP to access website?
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 2:56 pm
by Krusty
Yes web proxy can block IP adresses and domain names
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 3:16 pm
by mrz
If you don't want to use web proxy, then you will have to find all youtube server addresses, add them to address list and then based on address list add firewall rules.
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 6:47 pm
by vik1988
BTW you can use content filtering in IP Firewall too..
/ip firewall filter add chain=forward content=youtube action=drop. it helps sometime.
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 7:29 pm
by Akaii
here is a little something i use to limit youtube use winbox to create a l7 pattern for youtube maybe you can use that and drop the connection? to youtube
^.*(get|GET).+(youtube|googlevideo).*$
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Mar 06, 2012 11:26 pm
by glucz
it is just an idea, but you could try
1, enable DNS
2, set up an IP list (ex: youtubeOK) of local IP addresses that you want to allow access to youtube
3, redirect UDP and TCP port 53 traffic to your router where source IP is not on youtubeOK list
4, set up a static IP DNS entry for *.youtube.com 1.1.1.1 and *.youtu.be 1.1.1.1
Possibly you will have to add a few other cctld variations of the name as they run under different domains in different countries, but it should be less work than IP hunting.
GL
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Fri Mar 09, 2012 5:17 am
by piseth
Thanks for all comment.
Do you have any idea to allow on firewall? I don't want to use web proxy on my local network because in my ISP also have web proxy.
regards.
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Fri Mar 16, 2012 7:09 am
by vik1988
BTW you can use content filtering in IP Firewall too..
/ip firewall filter add chain=forward content=youtube action=drop. it helps sometime.
Re: Block Youtube website on RB750 but want to allow some IP
Posted: Tue Jul 10, 2012 4:15 pm
by dunga
hello all,
how can someone limit the bandwidth usage of youtube. I dont want to block it but reduce the bandwidth it uses. I want to do it for all my lan conneted system. I m using hotspot and i want a firewall filter or queue that will enable me achieve such.