Networking – Is it possible to WOL over the internet via UnifiedRemote (VPN)

networkingvpnwake-on-lan

I recently got a new app which supports Wake-On-Lan by MAC address in the network. My question is: Is it possible to turn on my computer using this when not in the network, but instead having a VPN to it?

If I have (for example) a Raspberry Pi in my network which acts as a VPN server, can I connect to it and then use Wake-On-Lan commands?

I plan using L2TP VPN.

Image for reference

Best Answer

WOL is a Layer-2 protocol, which means it will not work over the VPN itself (unless your VPN is a L2 bridge, which I doubt).

But what you can do is SSH into your RPi and issue the WOL command from the RPi itself, which should work (as the RPi is on the same L2 network as your target device)

Related Question