Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
WOL Over Different Subnets
« previous
next »
Print
Pages: [
1
]
Author
Topic: WOL Over Different Subnets (Read 2421 times)
Nekromantik
Jr. Member
Posts: 91
Karma: 2
WOL Over Different Subnets
«
on:
January 18, 2023, 04:33:25 pm »
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
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: WOL Over Different Subnets
«
Reply #1 on:
January 18, 2023, 06:05:58 pm »
Only if you bridge them. A WoL magic packet works on layer 2 while firewalls and routers are layer 3 devices
Logged
tiermutter
Hero Member
Posts: 1097
Karma: 61
Re: WOL Over Different Subnets
«
Reply #2 on:
January 18, 2023, 06:13:38 pm »
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/
Logged
i am not an expert... just trying to help...
spooner.arthur
Newbie
Posts: 25
Karma: 0
Re: WOL Over Different Subnets
«
Reply #3 on:
July 27, 2024, 11:30:40 am »
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
«
Last Edit: July 27, 2024, 06:12:59 pm by spooner.arthur
»
Logged
tiermutter
Hero Member
Posts: 1097
Karma: 61
Re: WOL Over Different Subnets
«
Reply #4 on:
July 27, 2024, 02:23:17 pm »
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.
Logged
i am not an expert... just trying to help...
spooner.arthur
Newbie
Posts: 25
Karma: 0
Re: WOL Over Different Subnets
«
Reply #5 on:
July 27, 2024, 06:14:28 pm »
Hi,
I finished the configuration and test it.
Everything works.
Thank you very much.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
WOL Over Different Subnets