I’ve not heard of any non-standard port usage by QNAP for WoL.
Is your NAS failing to respond to its magic packet?