WOL Over Different Subnets

Started by Nekromantik, January 18, 2023, 04:33:25 PM

Previous topic - Next topic
Hello

I have 2 LANs in my home one for Wired and one for wireless.
I want to use a client on my wifi device to send WOL packet to a device on the wired network.
Is there any relay or proxy on opnsense that will work for this?

Thanks

Only if you bridge them. A WoL magic packet works on layer 2 while firewalls and routers are layer 3 devices

I created a german tutorial to send WOL over VPN to LAN subnet. Should work for you too: https://www.heimnetz.de/anleitungen/firewall/opnsense/opnsense-wake-on-lan-ueber-vpn/
i am not an expert... just trying to help...

July 27, 2024, 11:30:40 AM #3 Last Edit: July 27, 2024, 06:12:59 PM by spooner.arthur
Hello,
I read your instruction and I have two questions:
I only want WoL in the OpenVPN Tunnel, then I only need the Interface OpenVPN and no WAN, right?
I send the Magic Packets with a PowerShell Script.
What do you mean with local network and remote network?
My VPN Network is 10.8.0.x, my Client is in local Network 192.168.0.x
In the VPN Tunnel I have to send the Magic Packet to 192.168.0.255, right?

Thanks, Regards
Arthur

I don't understand the first question...
Second question:
Normally, wol tools will send magic packets / Broadcasts only to their LAN but not VPN. To do so, the tool must be instructed to send it to the remote network, in your case 192.168.0.255 if this is a /24 subnet, yes.
I have never sent wol via PS... It needs an option to define the remote remote network, then it will sent through VPN according to the routing table.
i am not an expert... just trying to help...

Hi,
I finished the configuration and test it.
Everything works.
Thank you very much.