remote wake on lan not working

Hi,

I have my media mounted from a nas using nfs. I would like to turn it off when not used after an hour or so. I figured out how to do this, and now I’m trying to wake it up when needed. I saw that kodi has an option to try to wake up a remote server, but for some reason that fails. If I want to start a movie from the library, the server is not woken up.

I can wake it up in my router and on my pc using the etherwake command, so it should not be an issue with the server or the network.

What can I do to so Kodi can wake it up?

Thx.