Hello at all
On a customer I use the Mikrotik’s webproxy as a “webfilter”. I mean, block the ports 80 an 443 with a firewall rule, enable the proxy on windows in internet options and use the webproxy as a whitelist, accepting only the webpages that users should access.
The problem now is that I need permit access to the embebbed Youtube video in another page (in this case humand.co) without permit explicitly youtube.com, only the embebbed player. I search and found a google page with info about the embebbed player, but when I permit (for example) youtube.com/iframe_api (with asteriscs) don’t hit the allow rule if i try navigate in the page courses of humand.co (where they have the embedded videos)
https://developers.google.com/youtube/player_parameters?hl=en
Also, there are different videos on this page and I didn’t find a pattern in the url (Using chrome development tab) to use this to allow only these embedded videos.
I know that the webproxy is not made for that, but is there any way to permit a certain traffic without permit directly the access to YouTube.com? This is my export of the Webproxy, when i try permit the embebbed player of youtube
add dst-host=humand.co
add dst-host=app.humand.co
add dst-host=api2.amplitude.com
add dst-host=1flow.app
add dst-host=cloud
add dst-host=mongodb-realm.com
add dst-host=amazonaws.com
add dst-host=youtube.com/iframe_api
add dst-host=youtube.com/embed
add dst-host=youtube.com/s/player
add dst-host=play.google.com
add dst-host=googlevideo.com
add action=deny