I don't think the router will forward the magic packet or it won't get through at all. Then it starts a vm with that mac address. I modified it to listen promiscuously to the local network for upd port 7, 9 and ether proto 842 and it decodes those packetes and searches for mac address repetitions. Also to clarify how the Virtual Machine WOL works, it uses a wol python script that I modified. And since you have the device list, you could add a toggle to each device to enable this proxy functionality so you have a whitelist feature already built in. What I meant by proxying was doing the same thing you already do with virtual machines but instead of waking a virtual machine you send an etherwake to the right device. The difference to just forwarding the magic packet from the router straight to that device would be that the magic packet is broadcastet instead of redirected to a specific ip which allows it to wake devices that are off. Most most likely a script you'd have to run on an outside computer plus port forwarding in the router.Ĭouldn't it just, when it receives a magic packet for a specific mac address, check if the wol device list contains a matching device and after verifying, that magic packet proxying is enabled for that device, etherwake it just like the wake button on the gui does? I'm not sure about the client side implementation. The server side part of magic packet proxy should be possible after looking through some wol proxy daemons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |