WakeOnLan by access

Hi.

I have a home server which is running OpenMediaVault with Docker images. As it is for my personal use and while I am not using it (80% of the day it is not used), I would like to keep it shut down.

But when I try to access it, it would turn the server on.

For example, I am running a Jellyfin server on 192.168.xxx.50:8096.

On GoogleTV, when I run the Jellyfin client, it will try to connect to the server.

Can MikroTik router intercept this connection attempt and send the packet to wake the server?

How can I achieve it?

Thank you.

Local or remote?

Like this?
http://forum.mikrotik.com/t/how-to-allow-remote-wake-on-lan-through-firewall-without-completely-compromising-security/146723/1

or this:
http://forum.mikrotik.com/t/run-scrip-when-traffic-is-detected/138712/1

or this:
http://forum.mikrotik.com/t/trigger-event-on-port-access-e-g-send-wol-packet/51866/1

Or using the /tool wol:
http://forum.mikrotik.com/t/wake-on-lan/57248/1

Just in case, there are some devices that won’t “respond” properly to a broadcast WOL, so there is a manual workaround to send unicast WoL packet:
http://forum.mikrotik.com/t/tool-wol-target-ip-address/175220/1