|Home||Reviews||Tools||Forums||FAQs||Find Service||ISP News||Maps||About|
how-to block ads
here. This text was written mainly to indicate how to forward the proper port through a Linksys router in order to utilize WoL technology through the router.
In order to use WoL (Wake on LAN, aka: RWU or remote wake up) to wake up a computer from over the Internet the appropriate port needs to be forwarded from the WAN side to the LAN side of the router. Since a computer that is not turned on doesn't have an IP address, the packet sent to wake the computer needs to be forwarded to all computers on the LAN side of the router in order to ensure it gets to the computer it is destined for. This "magic packet," which can be sent using software available from different sources, contains a special string designed to work with WoL as well as the MAC address of the network card in the computer which should wake up. Because the MAC address of the correct machine is included in the packet, only the machine that is supposed to wake up actually will.
To set up port forwarding in the router go here (default). The port that needs to be forwarded will vary depending on what software you're using to send the magic packet, but the normal port used for WoL is 9. UDP is the protocol that needs to be forwarded; it is not necessary to forward the TCP protocol. The IP address that the packet needs to be forwarded to will change depending on the network mask you are using on your LAN. The default network mask is 255.255.255.0. If you are using this mask, you should forward traffic destined to your WoL port to xxx.xxx.xxx.255. If you are using the default settings in the router, this address would probably be 192.168.1.255. The 255 in the address, using the default network mask, signifies that the router should forward any information sent to the indicated port to all computers on the LAN side. If you are using the router's default settings with a program that sends the "magic packet" to port 9, basically just forward all UDP traffic on port 9 to 192.168.1.255. If there is an option for external and internal ports, the same port number should be used for both external and internal.
WoL tool allows you to wake a computer remotely over the Internet through a browser. On this page they indicate UDP port 9 is what the tool uses, but as of this writing the magic packet is actually sent through UDP port 32767. So, if you're using this tool be sure to forward port 32767 through the router.
While it is possible to locate software that will send WoL "magic packets" via a quick search in your favorite search engine, a couple of sites offering such software are:
Depicus (also provides info on WoL)
AMD (also provides info on WoL)
Thank you for this page. Although I had this in mind that power off computer does not have IP address, still I was mentioning it's IP at router that I statically assigned to my pc for remote access and administration purpose. Giving in broadcast address of subnet, as you have mentioned, really makes sense. I will try and hopefully it will work.
In Firefox you can use the DOM-inspector to change the value from the number you put to 255. Google it!
My older WRT54G doesn't allow you to specify .255 for the forward address...
Current Linksys routers do not support forwarding traffic to xxx.xxx.xxx.255. WOL over WAN/internet is no longer feasible with Linksys routers.
Just an FYI guys that if you setup your linksys router with a different subnet mask (ie: 255.255.255.128), then you can setup a port forwarding rule that allows broadcasting to that subnet - it just doesn't work with a subnet mask of 255.255.255.0
Excellent information. For those not using Linksys routers (such as me with a Connectgear WR460N), the $^%$#$ router will not allow port-forwarding to a broadcast address (router designers provide an error message saying "must specify an address between .1 to .254") on LAN targets. Mother of God. I think I can do this in Linux using iptables however. Greg