Block Youtube website on RB750 but want to allow some IP

Block Youtube website on RB750 but want to allow some IP to access youtube.

Could all friend can share me the configure?

regards,
Piseth

Set up web proxy. Then you can allow/block websites in access list.

Yes, I have try Web proxy is working, but I want to use Firewall to block and allow.

Can you share?

Can web proxy block contents and Direct specific IP to access website?

Yes web proxy can block IP adresses and domain names

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.

BTW you can use content filtering in IP Firewall too..

/ip firewall filter add chain=forward content=youtube action=drop. it helps sometime.

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).$

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

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.

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.