hey. i have wake on lan on my xpenology box working.
you just need to enable in the bios: poweron by pci/pcie or both if you have
then also enable it in DSM
i have an android Phone and use the app Wake On Lan https://play.google.com/store/apps/details?id=co.uk.mrwebb.wakeonlan&hl=nl
in the app set the mac adress to the one dsm is saying not the one your network card has
for the hostname/IP/Broadcastadress you will need to fill in your external ip. you can look that up on this website:http://www.whatsmyip.org/
for the port just use any port like 5000 or 5001.
after thats done port forward that port on your modem. (if you have 2 routers and have your xpenology box on the second router you will need to port forward twice. the first one needs to port forward the port to the second router and then the second router will port forward it to the xpenology box).
it should work by now but if it doesnt bind the mac adress of DSM to the ip your nas is on like 192.168.0.105.
it can be called ARP binding or IP & MAC Binding
i hope this helps