Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a small home network with the router capable of running OpenWRT, is there some utility or firewall rule, which can be used to Wake On LAN on request. What I think - if I want to access my media centre (using for example SSH or HTTP) and it is suspended, is it possible to catch the ICMP packet (saying the machine is offline) and send the WOL packet to wakeup the machine and resend the SSH or HTTP request? Thanks

share|improve this question

migrated from Jan 16 '11 at 17:21

This question came from our site for system and network administrators.

Interesting question! – AndrejaKo Jan 16 '11 at 17:39
up vote 1 down vote accepted

I want to do something like this too, and up till now the Apple "Sleep Proxy" was the only option I could find. "Sleep Proxy" is built in to Bonjour. There was some attempt to support this in OpenWRT but i'm not sure how far it got.

Here are some links:

Microsoft have also ripped it off:

But the iptables QUEUE idea looks pretty sweet. If you play around with this without delving into C, there are some nice looking python bindings here:
share|improve this answer

The iptables QUEUE target allows packets to be handled by a userspace program, written using libnetfilter_queue. Said program could parse the packet and then run ethtool in order to send the WoL packet to the appropriate system.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.