Question Wake on LAN - packet sent from router works, from application not

Jul 21, 2023
2
0
10
Hi,
I have Asus DSL-AX82U router with static public address, behind it there are three computers. I would like to remotely connect to specific PC via RDP.
The problem is, I cannot wake up any of them via an android app neither connected through external network (WAN), nor through the same network (WiFi).
I have found that I can login to the router and sent the magic packet from its web interface to specific MAC. It wakes up any of that three computers so the PCs themselves are correctly set.
Does anyone has any idea why computer can be woken up by magic packet sent from router but not from android app?
Thank you very much.
 
You have a couple issue. First there is no such thing as wake on "WAN". Everything that attempts make this work is a hack. The key issue is ARP entry for the device times out in the router.

Many so called wake on lan apps I think are made by idiots. Wake on lan has no concept of IP address. Wake on lan sends a packet to the broadcast mac address of the network with the mac you want to wake in a special pattern in the data payload.
There is no IP addresses or port etc. Many of these apps have major bugs in them.

Since your router will send the WoL message for you that tend to be the best way to get this to work when you need to remotely activate them from the internet.

The other solution is to just not use WoL. It tends to be very flaky mostly because microsoft has defined their own proprietary wake methods and the machine is not shut down in the proper state. What you can do is just use the low power modes for the machines. They are extremely efficeint on modern machine and use very little extra power. The method that tends to work much better than WoL is to use the option in the bios that boots on power restore and then use those fancy power outlet that let you turn the power on/off remotely.
 
Jul 21, 2023
2
0
10
You have a couple issue. First there is no such thing as wake on "WAN". Everything that attempts make this work is a hack. The key issue is ARP entry for the device times out in the router.

Many so called wake on lan apps I think are made by idiots. Wake on lan has no concept of IP address. Wake on lan sends a packet to the broadcast mac address of the network with the mac you want to wake in a special pattern in the data payload.
There is no IP addresses or port etc. Many of these apps have major bugs in them.

Since your router will send the WoL message for you that tend to be the best way to get this to work when you need to remotely activate them from the internet.

The other solution is to just not use WoL. It tends to be very flaky mostly because microsoft has defined their own proprietary wake methods and the machine is not shut down in the proper state. What you can do is just use the low power modes for the machines. They are extremely efficeint on modern machine and use very little extra power. The method that tends to work much better than WoL is to use the option in the bios that boots on power restore and then use those fancy power outlet that let you turn the power on/off remotely.
Thank you, Bill!