I got it working locally, however when going from WAN the computer would wake up only within the first 5 minutes of sleep. It has a statically assigned IP address, yet the router seems to forget it shortly after, so the forwarding stops working. I am going to try setting up the forward to the broadcast address, unfortunately the router would not allow me to enter 192.168.1.255 as the destination address, I may have to cut my local range in half to make 192.168.1.128 the broadcast address.
WOL - Wake On LAN uses "broadcasts" so Port-Forwarding isn't the issue here. The fact that it works locally suggests that your computer is configured correctly for WOL. WOL over the Internet can be problematic, as it really wasn't designed for this.
You will find some hints for troubleshooting this, by reviewing Wikipedia article:
Wake-on-LAN, particularly the
Wake on Internet section.
You might find it easier to access a local machine on your network remotely, and send the WOL packets from there. (Here for example I can login to my NAS from the Internet, so I simply installed Optware's "
wakelan" package on my NAS. When I want to wake up my Desktop PC remotely, I simply login to my NAS remotely, use "
wakelan" to wake up my desktop PC. and then I can connect to my Desktop PC about 30 seconds later.