So, with my HTTPS web server, I'll be able to redirect the HTTPS requests to the proxy and show the alert?
I'm already working on a laboratory, lets see what happens.
I can't get it work
ros code
/ip firewall nat
add action=redirect chain=dstnat comment=\
"Payment" dst-port=80 protocol=tcp \
src-address-list=aviso to-ports=999
add action=redirect chain=dstnat dst-port=443 protocol=tcp src-address-list=\
aviso to-ports=999
/ip proxy access
add dst-host=*.youtube.com path=/embed/JP4XikcBfdg
add action=deny dst-port=443 redirect-to=192.168.100.31
add action=deny dst-port=80 redirect-to=10.0.3.2:89
In my second web server I redirect all http to https, and the https is working. I realized that when add the dst-nat for 443 port, even that youtube is first in access, the http can't see the video. If I disable the 443 dst-nat, it work good, and the http request can see the video.
Requesting a HTTP page, the redirection works perfect.
Requesting a HTTPS page, the page stay loading and doesn't work.