If you have the need to wake up machines on your local LAN from the outside, there are a few steps you need to take to get it working with OpenWRT (12.09)
- Select an unused IP address (which you are certain will never, ever be used). I will be using 192.168.1.254 in the following
- Log into OpenWRT and go to System → Startup → Local Startup (the text input at the bottom of the page) and add this line above exit 0:
ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
- Save (or Submit depending on the theme used)
- Go to _System _→ Software and verify the package ip is installed. If not, do so.
- Go to _Network _→ Firewall → Port forwards and add a new rule like this:
(select custom to enter the internal IP address).
- Save and apply
- Reboot the router
That’s it. Now wake on lan should work from the WAN (Internet) as well.
This is what it looks like in the WoL Wake On Lan Wan Android app: