- Change your router's subnet mask to 255.255.255.128
- In your router's port forwarding (also called virtual server) section, make sure you have the forwarding IP set to XXX.XXX.XXX.127, regardless of what the IP of the device you want to wake is (mine is 192.168.0.112)
- Use UDP port 9
This should forward the magic packet correctly. This worked with my DIR655 router and should work for others.