dslreports logo

    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»


how-to block ads

This text assumes the reader will be using a computer (motherboard and BIOS) and NIC (network card) that are compatible with WoL technology and that the hardware is properly set up to do so. Some network cards must be placed into a special PCI slot on the motherboard in order work properly while others must be tethered to the motherboard by a special cable which plugs into a particular place on both the motherboard and the NIC. A general WoL FAQ can be located 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 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 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 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)

Feedback received on this FAQ entry:
  • DOM-inspector not working anymore

    2013-11-12 01:02:48

  • In Firefox you can use the DOM-inspector to change the value from the number you put to 255. Google it!

    2011-06-26 18:04:40

  • Just an FYI guys that if you setup your linksys router with a different subnet mask (ie:, then you can setup a port forwarding rule that allows broadcasting to that subnet - it just doesn't work with a subnet mask of

    2010-12-09 18:56:01

  • 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

    2010-07-17 12:05:32

  • Current Linksys routers do not support forwarding traffic to xxx.xxx.xxx.255. WOL over WAN/internet is no longer feasible with Linksys routers.

    2010-01-09 03:36:51

  • My older WRT54G doesn't allow you to specify .255 for the forward address...

    2009-07-02 22:20:00

  • Super! thanks

    2009-01-26 08:02:15

  • 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.

    2008-02-15 10:54:46

Expand got feedback?

by Gork See Profile edited by Lanik See Profile
last modified: 2005-06-22 00:17:33