I have got it working. Nordvpn was causing the problem. Although I have whitelisted the subnet 192.169.1.0/24 in nordvpn, I must disconnect from the vpn server first to get gWakeOnLan (and tools like that probay also) to send a magic packet for the omv-server to receive.