So I managed to get Wake on LAN working when im on the local network last night using my phone, it works perfectly.
However when I am on an external network I cannot wake the computer.
I have currently forwarded port 9 to my PC (though how does the router know which one when the computer is off (static ip configured))
I have DynDns sorted on the modem to forward the external ip to a hostname and I have pinged said host and it is correctly pointing to my connection. I also know that its correct as I can access the modem remote management (albeit user name and password isnt working for unknown reason on remote only)
I have correctly entered the MAC address of the computer to be woken so I am now at a loss as to why I cannot get it to wake.
My router is the Thomson Modem / Router UPC provide with 100meg connections.
Try opening port 32767 to UDP too.
Also, you may need to assign a static IP address to your pc by MAC address to ensure that it's always the same IP address, so that when you open port 32767 it gets routed to eg. 192.168.1.102
Thanks ill try that tonight, I have a static IP configured in Windows there is no method that I am aware of on the Modem of forwarding to a MAC address though.
Okay so to come back to this,
I had the WoL working externally for a time but it randomly stops working for no apparent reason. I have the right IP and MAC address and the ports are forwarded correctly but it will not wake.
I can then log into the router/modem (on the local network) and it will start working again so I assume that the router is blocking it somehow? Its a UPC Thomson modem / router. Any ideas?
never actually tried it, i have WoL on my router, so i log into that remotely and use it from there to wake up PC's on the LAN and it works every time. not the solution you are looking for i know, but it might be something to think about for the future.
I would if I could but my router doesn't have the option and I dont really have the money or the inclination to buy a new one. Ill struggle on im sure
if its a regular thing, would it be feasible to set a wake alarm in the bios of the pc('s) in question?
Nah its just when and if I wanted to wake it to remote desktop in.
did you try a low power suspend instead of a shutdown? might be more reliable that way maybe?
Will try that tonight and see if it makes any odd's, cheers
depending on your motherboard, it should support various suspend states, so give them all a test drive and see how you go.
Thing is it will ALWAYS wake when im on the local network... so that leads me to believe it might be the modem / router blocking it?
i was just wondering if you could do that, maybe a reboot of the router before the WOL request might fix the problem? probably like using a hammer to put in a screw, but it might work.
the reason it seems to work randomly is because after a certain amount of time when you shut down the computer the router "forgets" the machine and no longer routes packets to it , to solve this you simply need to force tbe router to send the wake up packet to all devices attached to it
you can do this by forwarding to the broadcast address of your network
this is usually as follows
if your ip is 192.168.1.x then the broadcast address is likely 192.168.1.255
but it will depend how your router is configured
so you should be able to port forward to that address instead of the machines ip and it shold work all the time
works for me anyway
I cant log into the router externally because for some reason the Username and Password are different to when you log in on the local network and I cannot find hide nor hair for it. I even posted on boards and got nada.
I will try that solution out and come back to you