I have a wireless AP setup with one LAN port connected to the main router and another to a windows PC (which is turned off). Note that the connection to the main router is through a LAN port, not the WAN port.
How do I get the router to correctly forward the magic packet (for wake-on-lan) to the 'right' LAN port? This seems to work sporadically, and not at all after some time (indicating some sort of cache is being flushed).
For reference, the IP address my PC grabs (static) is 192.168.37.202, with the AP assigning itself the IP address 192.168.37.201 (no DHCP running on the AP).
This would work fine if I plugged the AP's WAN port to the router and then did normal port-forwarding of port 9. Unfortunately other requirements preclude me from using that setup, as the windows PC must directly access the subnet/IP range that the router is giving out.