WoLf or Wake On Lan Forwarder is a small app that runs on most machines and waits for a magic packet on one interface then forwards on the local network.
To fetch from GitHub
git clone https://github.com/depicus/WoLF.git
To compile on
OSX
gcc wolf.c -o wolf
then to run
./wolf
or simply fire up the XCode project file.
Linux
as per OSX
Windows