depicus

changing the digital world one bit at a time...

Wake on Lan Forwarder (WoLf)

Using WoLf

Background

In the good old days it was easy to just use your router to forward WoL packets but broadcast storms and other DOS attacks forced manufacturers to close off port forwarding on the broadcast address.

Using a WoLf

You can use anything that will let you compile c code, I've tested on a Mac and PC but I'm going to run through how to get it running on a Raspberry Pi as they are so cheap and ideal for this.

Download your Raspberry Pi image from the Raspberry Pi Foundation and install as per normal. I use Etcher to write the image to disk.

Configure your Pi - there's more info about configuring headerless in the video below.

Next grab the code from Github and compile with gcc wolf.c -o wolf and then run with ./wolf

If you want to run as a service on Debian based systems there is more information in the video and in this gist.