Given:

  1. ASUS RT-N13U router
  2. A computer connected to it that you need to wake up from the phone
  3. Access to the settings of the router from the outside

When I enter the home network from the phone and send a broadcast to 192.168.1.255 , everything works and the computer turns on. But when I tried to wake the computer from the outside, I suffered a setback.

I tried to redirect all incoming connections of the router directly to the computer ( 192.168.1.2 ), but after a couple of minutes after the computer was turned off, the router stopped sending the packet.

IP to the computer is tied at the DHCP level on the router, but if I understand correctly, for success, it must be tied somehow stronger to a specific router connector or something like that. I tried to configure port 9 forwarding from outside to 192.168.1.255 , but the router does not perceive this redirection adequately.

In addition to the standard settings of the router there is access to the console. The set of possibilities there is very limited, but still. I see three strategies for solving the problem, but I cannot implement any of them, in which I ask for help:

  1. Configure somehow the correct broadcast redirection
  2. Using the console to bind IP to the computer
  3. Send package directly from the router console

If someone has ideas how to implement any of the options, I will be grateful for the help.

    2 answers 2

    It is possible to turn on the computer from the outside, if there is a device inside the locale that sends the same MAGIC PACKET, the router itself can be such a device. As far as I saw, in the native firmware ASUS RT-N13U there is no such function, but you can install the firmware dd-wrt (available at http://www.dd-wrt.com/site/support/router-database), openwrt or analogs suitable for your router.

    After the firmware, it will be possible to use Wake-On-LAN directly from the router via the Internet.

      If you are behind NAT, this is not possible. Forwarding ports, as you have tried, is not solved. Only via LAN. From here a completely crazy idea: forward the VLAN to your LAN, and wake the computer from there! The idea is purely theoretical, I have never tried it in practice. But what if it works?