cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get wake on lan to work from the internet

pawelw
Tuning in

I think I've set everything up correctly, but for some reason I can only get my home PC to wake up when connected to the same network (using public IP). From outside it doesn't work. What I've done:

  • enabled all the relevant settings in BIOS and Windows
  • assigned a static internal IP to my computer
  • set port forwarding and triggering on the Hub for port 9 for the magic packet
  • also tried disabling firewall

I can wake up the PC from suspend and power off from another device, but only when connected to the same network. What am I missing?

1 ACCEPTED SOLUTION

Accepted Solutions

The hub needs to know the mac address (if the target is awake, it uses arp for that) . You could try reserving the ip - where you tell the its mac address. Some firmwares support doing it like that.

See where this Helpful Answer was posted

12 REPLIES 12

Tudor
Very Insightful Person
Very Insightful Person

From memory I believe Wake on LAN does not work across the internet. That’s why it’s called ……. LAN not Wake on WAN.


Tudor
There are 10 types of people: those who understand binary and those who don't and F people out of 10 who do not understand hexadecimal c1a2a285948293859940d9a49385a2

I think the name is rather historical and refers to a standard, it doesn't matter whether the magic packet originates on local network or outside, theoretically.

The hub needs to know the mac address (if the target is awake, it uses arp for that) . You could try reserving the ip - where you tell the its mac address. Some firmwares support doing it like that.

It worked, woohoo! Thanks a lot!

Now, if only I could have an easy solution to the dynamic ip issue.. It seems I need another device to update ip if using things like ddns, which kind of defeats the purpose of WOL. Anyway, in practice the ip from Virgin is unlikely to change for a while, I think.

legacy1
Alessandro Volta
Other way around it is to have a small PC on the network you can log in and run wake on lan
---------------------------------------------------------------

Did the computer sleep for a while, before you tested it? Just to make sure the arp entry doesnt time out

No, I'll test it again after a longer time

Unfortunately, it stops working after a while. I recall actually the same situation before, even without adding the MAC in the DHCP settings.. Is there any way to fix this?

"Now, if only I could have an easy solution to the dynamic ip issue"

Allocate device's LAN IP from the DHCP Reserved list so it becomes a known LAN IP.