Tuesday, June 13, 2017

WOL Proxy - Wake On Lan through a router

I usually put my PC to sleep to conserve power. But I also sometimes need to access it from afar. In order to do this, I use WOL (Wake On Lan) from my phone over the internet.

The problem with WOL over the internet is that some routers (mine included) do not allow port forwarding of the WOL packet to a broadcast IP on my subnet. And since my PC is asleep, it loses its IP binding. Certain routers can get around this by configuring the ARP table to hold on to the IP, but mine doesn't do that as well.

To tackle the issues above, I developed WOL Proxy which is an app that can be installed on an Android device and forwards/broadcasts incoming WOL packets on the subnet. Since I had an old Android phone lying around the house, I put the app on it, and configured the port forwarding of the WOL to reach the phone. The phone in turn broadcasts the port-forwarded WOL packets and wakes the PC.

Although configuring the port forwarding itself may be difficult in some routers, the app is really easy to configure.

Let me know what you think about the app, or if you think any other features may complement it.