I was willing to post this in the home network community, but it is not active at all... So I hope this is the right place, as I use a self hosted wireguard and pihole.
I'm just a hobbyist whose first language is not English, so please, bare with me :)
So I use Wireguard Easy to create a tunnel to my home network to use pihole on my phone and access my services from outside.
I have an app to wake my home computer on LAN that is working fine when I'm home.
I'd like to be able to wake it from outside and I don't know how.
A few things are bugging me.
If I'm connected to my home network, shouldn't I be able to WoL my computer as long as I use my tunnel ?
And, on some occasions, I was able to WoL my PC when I wasn't home (I remember doing it once when I was visiting my parents).
If I understand your post correctly, you have 2 PC’s at home: one running wireguard, and one you want to wake using WoL.
This is similar to my setup, where I have a server and a personal desktop. When I want to wake my PC remotely, I just ssh to the server and use the server to wake the desktop.
Connecting to the server and telling it to wake your PC seems easier than trying to redirect your phone’s WoL app over wireguard.
You just need to send a magic packet to the machine you want to wake up. You need to make sure said machine even supports WoL first, and enable that in the BIOS and OS, where applicable.
I use the “wakeonlan” package. Simply install it, ssh to your server, and run “wakeonlan xx:xx:xx:xx:xx:xx”, where “xx:xx:xx:xx:xx:xx” is the Mac-adres of the PC you’re trying to wake.