Wake On Lan over the internet

RejectedPotato

Reputable
Jan 1, 2015
65
0
4,640
Been trying to set up WOL so it works over the internet. It seems to works just fine on the local network.

I've already opened the necessary port and yet I can't seem to get WOL to work from another network. I'm using an android app (Unified Remote) and TeamViewer to try to wake my PC. All the preferences on the app are configured properly, not sure what I'm missing.
 
Solution
Your major problem is there is no such thing as Wake on "WAN". You can it to partially work by port mapping but the major flaw to this method is the assumption that a machine that is off has a IP address. Until the OS on the machine is fully activated there is no IP stack running. WoL is dependent on the machine keeping only the nic active which only understands mac addresses.

What will happen if you just use simple port mapping it might function for a period of time. Depends how strictly the PC follows the WoL standard. After the ARP entry times out in the router it will try to remap the ip to mac and will get no response (since the OS is not active) and drop the packets.

There is a hack that will work with routers running...
Your major problem is there is no such thing as Wake on "WAN". You can it to partially work by port mapping but the major flaw to this method is the assumption that a machine that is off has a IP address. Until the OS on the machine is fully activated there is no IP stack running. WoL is dependent on the machine keeping only the nic active which only understands mac addresses.

What will happen if you just use simple port mapping it might function for a period of time. Depends how strictly the PC follows the WoL standard. After the ARP entry times out in the router it will try to remap the ip to mac and will get no response (since the OS is not active) and drop the packets.

There is a hack that will work with routers running third party firmware but few if any consumer firmware loads. What is required is the ability to set a static ARP entry. You map some unused IP address to the broadcast mac FF:FF:FF:FF:FF:FF. You then port forward to that unused IP address. This will cause the incoming WoL packets to be sent to the broadcast mac.

This can be a risk because someone can run denial of service attacks against all the machine on your network by sending data to that port.

 
Solution

RejectedPotato

Reputable
Jan 1, 2015
65
0
4,640


My router just so happend to have ARP binding. Got it to work, thanks.