Wake on Lan (over Internet)

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Wake on Lan (over Internet)

Post by Gort9k »

Hola:
So far this wake on lan works, on a LAN, but now I'm trying to do it over internet. I want to be able to turn my office computer on from home. I've read that it can't be done over internet, but, then again I've read that it can be done. Is there any special software that allows WOL over internet, let's call it Wake on Internet (WOI). And what about routers, ports, ip addresses..., etc.
Gracias
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

Looking for information on this wake on lan subject, I arrvied at http://www.solarwinds.net. In this site I found they have a Wake on lan software, that, they claim, coud awake a computer using Internet. Has anybody any knowledge of this program?

Thanks
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

The WOL does not care if the Magic Packet comes over LAN or WAN (Internet).

However if you have a Network with (few computers) and Firewalls they need to be configure in order to let the WOL In.

First make sure that WOL work locally. Then make sure that you know how to get to your computer from remote place through the Internet. Then Open all the appropriate ports.

The WOL GUI link on the page that I posted above makes it very easy to do all of this (Free).

It was down today but it is On now.

:rtfm:
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

Hi:
Let me disturb you a bit more, JackMDS, in this WOL matter.
Thanks for you adressing me to tha Internet site, I've found what I looked for at http://www.depicus.com/wake-on-lan/wake-on-lan-gui.asp
So, if I read things staright, all I have to do is to open a port in the remote computer, let's say port 5678 (for example), dorward that port to my computer, and then at home start up the small progarm I downloaded from Depicus, fill in the fields, and that's all.
Just one thing about the subnet mask field: what do I fill in here, 255.255.255.0 will do?

Thanks
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

Yeah that is basically it.

When you connect to the Network from the outside. The "Outside" Computer is not aware of which "Inside LAN" computer it goes too.

It uses your external IP and subnet to take you to your Router.

From the Router it will go to the computer which has the an open port that matches the one in the WOL-GUI.

There is an elaborate Help here: http://www.depicus.com/wake-on-lan/what-is-wake-on-lan.asp
Jack.
Microsoft MVP - Networking.
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

Thanks a lot, JackMDs:

Thanks to your help I have been able to do this Wake On Internet, following your advice I could wake my computer remotely. Now I can start (awake) my PC and, with the help of PcAnywhere, do a bit of work withou leaving the computer on for a full weekend.

Thanks again
Ajsie
Member
Posts: 24
Joined: Sun Jun 27, 2004 2:19 am

Have to have router?

Post by Ajsie »

Hi!! I have followed your conversations and all other information sources around the web and i think i have a clue on how to start up a remote computer with lan.

But I have a simple question.

You see, I only have one computer in my home with no router. So then how can I do to wake up this computer from anywhere else in internet?

I have really tried lots of stuff. You cant unless you have a router (and at least 2 computers?).

Hope someone is answearing me =)
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

You can not do it without a Router since while your computer is a “Sleep” you do not have a Live connection to the Internet.

You need a Router (whether you have one computer or Network) to keep the connection a live independent of the computer. :nope:

You can find inexpensive Wired Router for $10-$20.

:thumb:

Link to: Wake On LAN (WOL) - Start a Network Computer Remotely.

:D
Jack.
Microsoft MVP - Networking.
kwauhk

Post by kwauhk »

Dear JackMDS

I need the same features too. I already tried the setup based on your suggested website. But still fail. My PC can wake up when I send the magic packet within same network. But cannot success via internet. I already forward the corresponding port to that PC. Still not work. Please kindly help.

Thank You in advance

BR
kwauhk
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

kwauhk wrote:Dear JackMDS

I need the same features too. I already tried the setup based on your suggested website. But still fail. My PC can wake up when I send the magic packet within same network. But cannot success via internet. I already forward the corresponding port to that PC. Still not work. Please kindly help.

Thank You in advance

BR
kwauhk
Make sure that the correct port is forwarded to the WOL computer's LAN IP. Use the WOL GUI utility. Make sure that the utility is configured to the same port that is the one that is opened in the Router.

Good Luck. :thumb:
Jack.
Microsoft MVP - Networking.
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

kwauhk:
I've achieved WOL following the advice of JackMDS. Just let me direct your attention to a small point (how clever I am!):
When using thw WOL utility you fill in the fields for (in this order): mac address, ip address, subnet mask, internet or LAN, and remote port number.
Well, when you push the wake me up button, in the bottom line of the utility screen, you can see the small dog running, and the message Magic Packet Sent to .....(here should appear the remote computer IP). Make sure the IP that you see is the remote IP address of the computer you want to wake up.
In order to get this, you should modify the subnet mask.
If, let's assume your remote computer is at

IP - 217.98.141.31
Subnet - 255.255.255.192

You should modify the former subnet like this 255.255.255.236.
In the way you'll see the magic packet send to 217.98.141.31.

Of course, you'll have to open the port you are using in your router, and point to the computer you want to wake up.
You should, also, go into the computer bios and make sure the WOL option is activated. And, finally, instruct the computer NIC to accept WOL.

Think this is all.
Ken Heaton

Post by Ken Heaton »

I can't get WOL to work over internet:
I'm specifying:
WAN IP address (router) - Mac address for computer I want to wake up - subnet mask specified in the router interface - remote port number 5850 is opened up on router and specified in the WOLGUI.exe.

I notice on the bottom of the WOLGUI, next to the running dog, it specifies the WAN IP address: ##.##.###.255. This WAN IP address is correct except for the 255 at the end, (should be 120).

It's not working for me............

Do I need a special router??

Thanks..........
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

Gort9k wrote:kwauhk:
I've achieved WOL following the advice of JackMDS. Just let me direct your attention to a small point (how clever I am!):
When using thw WOL utility you fill in the fields for (in this order): mac address, ip address, subnet mask, internet or LAN, and remote port number.
Well, when you push the wake me up button, in the bottom line of the utility screen, you can see the small dog running, and the message Magic Packet Sent to .....(here should appear the remote computer IP). Make sure the IP that you see is the remote IP address of the computer you want to wake up.
In order to get this, you should modify the subnet mask.
If, let's assume your remote computer is at

IP - 217.98.141.31
Subnet - 255.255.255.192

You should modify the former subnet like this 255.255.255.236.
In the way you'll see the magic packet send to 217.98.141.31.

Of course, you'll have to open the port you are using in your router, and point to the computer you want to wake up.
You should, also, go into the computer bios and make sure the WOL option is activated. And, finally, instruct the computer NIC to accept WOL.

Think this is all.

I think this is the answer to your question. You should modify the subnet in order to get the right IP for your computer. At leats that is what I've done.

Have luck!
vergus

About Wake On Land

Post by vergus »

First you will have to excuse my english.

There is one thing I do not get it, when you are trying to wake any pc using the internet, you need to open a port in your router and then forwarded to the desired ip pc, rigth????. But REMEMBER THAT PC WILL BE OFF, THERE FOR THAT IP WILL NOT BE REACHED.

Please feel free to email me at mfernandez@speedycomputers.us

I am been trying to wake a pc over the internet and make all the arragement describe in all the web sites related to this topic but still can't wake the pc, may be the router is a sh.......
Gort9k
Regular Member
Posts: 229
Joined: Wed Feb 28, 2001 12:00 am

Post by Gort9k »

Hi, vergus:

As for this wake on lan business..., well, it can be a real pain in the...

Anyway, at lest theoretically, is a straightforward matter.

You say that the pc you're trying to awake will be off, but this is a mistake. The pc is NOT off, you might see it like that, but it is waiting. If it were off no one in this world could awake it.

The produre (at least what I do) is like this:

- Select a port in your router (normally I use the one suggested by Depicus, 7 udp) and forward it to the pc you want to activate
- Activate wake on lan in the computer BIOS
- Activate wake on lan in the computer NIC
- Put the right values in the little (and invaluable) utility from Depicus
(mac address, IP address, subnet mask, and selected port)

Tha's all. One thing to remember is to modify the subnet mask, in order to get the right ip address.

Lets say you have an IP address: 213.47.155.152, and a subnet mask: 255.255.255.192. You'll have to modify the subnet mask to 255.255.255.231 to have the magic packet sent to the right IP.

I have to say that, there are some instances in what I can not get this thing to work. Using Depicus sniffer I can see the magic packet reaching the pc but after turning it of there is no way to make it awake.

Perhaps someone that knows a lot more than me, have an explanation.

Regards
JackMDS
Advanced Member
Posts: 835
Joined: Wed Apr 11, 2001 12:00 am

Post by JackMDS »

It is the MAC number that counts, the ATX power supply keeps the WOL circuit On even when the PC is Off.

If your Router has IP reservation reserve the IP that is associated with the PC's MAC number, or use static IP.

:thumb:
Jack.
Microsoft MVP - Networking.
Skully0815
New Member
Posts: 3
Joined: Thu Mar 09, 2006 5:14 am

Post by Skully0815 »

Hey guys,

following this conversation has been helping me greatly. Special thanks to JackMDS. Now I was hoping you might be able to help me with my problem in this matter.

Im using the WakeOnLanGui.exe tool that was suggested above. I have forwarded port 9 UDP to IP 192.168.2.255 (all PCs in that subnet, am I right?) (all PCs in the LAN have IPs like 192.168.2.x). The mac address is certainly correct. I have also adjusted my subnet mask, so it sends the magic package to exactly my WAN IP address. Now, I tried this whole thing from my laptop, to turn on my PC. The laptop is also part of this network, so I am not sure if that might be the problem. When I select "Local Subnet" for Send Options, the PC wakes up just as normal, because it just sends the magic packet locally. However when I select "Internet" nothing at all happens. I am sure I have forwarded the port right, as I am familiar with doing that for BitTorrent or my local webserver for example.

Do you have any idea what could be the problem?
Thanks in advance! Skully
Skully0815
New Member
Posts: 3
Joined: Thu Mar 09, 2006 5:14 am

Post by Skully0815 »

I have sorted my problems, and written an article on this topic and Remote Desktop. If youre interested, the address is: http://forum.boysen.be/viewtopic.php?t=44
mrmaxi

Post by mrmaxi »

Skully0815 wrote:... I have also adjusted my subnet mask, so it sends the magic package to exactly my WAN IP address.
Could you kindly explain to me how to "adjust" subnet mask ?
I had to use 255.255.255.255 instead of my "natural" subnet 255.255.255.0 ... but I'm not sure if it's correct because wol-over-internet sometimes doesn't work ! :mad:
Skully0815 wrote: Now, I tried this whole thing from my laptop, to turn on my PC. The laptop is also part of this network, so I am not sure if that might be the problem.
YES this is the problem, you can't send traffic starting from your wan-ip and directed to the same (yours) wan-ip!
To test it use the Depicus wep-page: http://www.depicus.com/wake-on-lan/woli.aspx
it's ok ! :D
anry555

Post by anry555 »

Skully0815 wrote: I have forwarded port 9 UDP to IP 192.168.2.255 (all PCs in that subnet, am I right?) (all PCs in the LAN have IPs like 192.168.2.x).
How did u assigned port 9 to X.X.X.255 IP? I can only assigned to X.X.X.254 max.
Pakime

Post by Pakime »

I've the date of the last reply, hope I'm not too late... Well, the thing is, I wanted to implement the Wake on Wan feature when I came about this thread... Followed every suggestion, from opening a port, forwarding that port in my router, and enabling it on the pc's firewall... It works 100% when I wake from the local subnet, but when I try the Depicus webpage, it only works 'bout 2% of the time... When it has worked over the internet, it has been triggered by another pc in the local network, I have never been succesful in waking it up from outside local network... Sometimes when it works, I shut down the pc I want to awake, without changing anything, and when I try again, it doesnt work!... Any ideas on why is this happening??
lenwest
Regular Member
Posts: 290
Joined: Mon Apr 15, 2002 7:58 pm
Location: Toronto

Post by lenwest »

Just for the heck of it, I followed all of the above suggestions and find that connecting over the LAN is simple and instant using the Depicus WOL utility.
However, over the Internet, no matter how I play with changing the subnet's last 3 digits, it always fails. I see others have had the same problem as well.

Port 9 is forwarded in the router to the static IP of the intended computer and port 9 is specified in the utility. To those who advised changing the last 3 digits of the subnet, please elaborate. My subnet is 255.255.255.0
To what should I change it, and why - what's the rationale for the changed number? I tried different combinations and even found one that had the IP (by the running dog) end up the same as the intended IP, it still wouldn't start up the remote computer.
graysky
Member
Posts: 56
Joined: Thu May 03, 2007 3:05 pm

Post by graysky »

lenwest wrote:My subnet is 255.255.255.0
To what should I change it, and why - what's the rationale for the changed number? I tried different combinations and even found one that had the IP (by the running dog) end up the same as the intended IP, it still wouldn't start up the remote computer.
Anyone answer this question? I have the same setup with the correct port opened and forwarded in the router, but still the packets don't get through... how should one select the last digit of the subnet? Say the IP ends in 109... what should you select?
garsar1

Post by garsar1 »

Here's what I had to do with my router:

Instead of using the broadcast address on the router, I set up a static DHCP connection in my router using the target PC's IP and it's MAC address.

Then I forwarded the intended port to that IP address.

When I use the Depicus wake on LAN from the web page, I change the subnet to all 255's so that the packet is only sent to my public IP Address. From there, my router will forward it to the intended port which is tied to my target PC. It may also broadcast it over your private network.


To troubleshoot:

Make sure you can wake your PC from inside your network, then you know all your hardware is configured correctly.

Then use the WakeOnLan monitor program and another PC to send magic packets over the internet while monitoring the target PC. If you get the notification that a packet was received, then turn your PC off and try it then.

If it still doesn't work, then you'll have to make sure you read up on your specific router, because that's the only thing halting the packet from reaching your target PC.
SEEYOUTHERE
New Member
Posts: 5
Joined: Sun Jun 06, 2010 8:45 pm

curiosity

Post by SEEYOUTHERE »

Excuse me if this sounds dumb... but wake on lan makes sense turning your computer on over the wireless internet to prevent having to leave it on all the time. But, once youve turned it on from a remote location how do you turn it off?
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

There is a shutdown command in dos I belive you have to do there might be a way to do it using remote desktop/
Comptia a+ n+
SEEYOUTHERE
New Member
Posts: 5
Joined: Sun Jun 06, 2010 8:45 pm

Post by SEEYOUTHERE »

ahhh ok i wasnt sure if you could access the command prompt from the remote computer. If that is possible then this is simple thats great. Does anyone know about the ring on feature? i know its simialar you just have to call thee modem. However trying this, the only thing that happened, was nothing. Does the computer haved to be wired directly to the modem
User avatar
YeOldeStonecat
SG VIP
Posts: 51171
Joined: Mon Jan 15, 2001 12:00 pm
Location: Somewhere along the shoreline in New England

Post by YeOldeStonecat »

You don't need the local command prompt on the remote PC to shut it down.
You can shut to computers remotely through at least sseveral methods....some of which include:

"Shutdown" command at the command prompt, you can use this to shut down and even reboot the local computer, or a remote computer.
shutdown \\receptionpc /r would reboot a computer named "receptionpc". We often use scripts of batchfiles utilizing this command when doing network wide installs from a server. Obviously you need administrator privileges...you cannot do this to any computer remotely.

Using MMC Computer Management snap-in. Right click and manage computer, select the one you want to manage, in properties, advanced tab, you have the usual start button options there. Also need local admin privileges for this..similar to above, great for networks where you can control the network from a domain controller.

From Remote Desktop, on servers you have the option to shutdown or reboot, but notice on desktop OS's those are missing. Fret not....just hit "Alt + F4" and there are your shutdown and reboot options.
MORNING WOOD Lumber Company
Guinness for Strength!!!
leecavturbo
New Member
Posts: 7
Joined: Sat Aug 19, 2006 6:17 pm

Post by leecavturbo »

Hi chaps, sorry for the old thread bump.
i'm having this issue of only being able to wol from internet for a short time after shutdown.
wondered if there are now definative solutions.
fwiw. my pc will wake after long periods if wol from internal lan. so it would appear my nic is listening infinitely.
i have a netgear router wgr614v9 as my head router i.e internet modem then this router. there are several other router between the head and the pc. i haven't messed with any port forwarding on the other routers. needed? dhcp on first router only
i have forwarded the port on head router and static ip'd the pc i want to wol.
as said it does wol from wan but only for a short period after shut down.
to add i'm sending the magic packet from a smart phone. i watched my nic led's and absolutely every time i press send packet via 3g(internet) the nic's led's respond so i presume some action is happening although pc doesn't wake!
what to do?
tia
Post Reply