1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting WOL packet to come in through tomato/wrt?

Discussion in 'Tomato Firmware' started by bradtem, Jan 20, 2007.

  1. bradtem

    bradtem Network Guru Member

    Tomato has a page in the web interface to command a WOL packet for a device on the network, and that's great, but I want to automate it so that, from outside my natted LAN, I can wake up a machine on the internal network.

    I tried a variety of ideas -- static ARP scripts that were suggested, subnetting to a /25 network and forwarding udp port 9 to (broadcast address) and the rest, but I didn't get any joy.

    I found one thing to work, if you have enabled ssh on your WRT, namely you can say ssh root@yourwrtoutside "ether-wake mac-address". I guess that's not too bad but it's not nearly as simple as sending a WOL packet and having it forwarded onto the local ethernet where a machine, in spite of having no ARP, will see it and wake up.

    Any other success stories?
  2. Max Monroe

    Max Monroe LI Guru Member

    I can't give you an answer to that, I'd just like to mention that I also am interested in a simple way for external WOL; Sure, the web interface would be simple enough, but enabling external access to it is not exactly a bright idea, is it...? I guess the ssh would be a way to do it, but I was also wondering if there would be a simpler way that wouldn't require me to actually log into the router to do WOL. So, I second that: If anybody knows how to do it, or why am I going about it in a completely wrong way, please, by all means... :idea: speak up.

  3. dg7raj

    dg7raj Guest

    I tried WOL via WWW and it works fine now (after a few hours :) )

    I use this Posting: WakeUp On Lan (Not working) - thank you scatman

    With Tomato 1_04 I do this:

    - Port Forward:

    UDP 9 9 wol
    - Telnet or SSH the Router and type:

    Tomato  v1.04.0944
    BusyBox v1.2.2 (2007.01.24-17:12+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    # ip neigh add lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
    (may put this in a startscript - i did not test it)
    ---edit: put this line in Administration/Scripts/Firewall - works after reboot

    - it is good to add the MAC/IP of the Computer wanting to wake up in BASIC/Static DHCP

    I start my PC via Web with a cgi-script (source from here: VDR-Wiki WOL German)

    This works fine for me, Clemens
  4. davemuk

    davemuk LI Guru Member

    I've just tried all of this with 1.06 and it doesn't work for me.

    The device is there along with the port forward rule, but when I send the WOL packet, nothing happens (it does wake the PC up if I go through the tomato WOL page).

    I'm using this tool to send.

    I've run the WOL monitor on the target PC to see if the packets get through. If the WOL port forward rule is routed to that PC it does, it doesn't when the rule points to It seems as though the broadcast isn't working ?


Share This Page