Wake on LAN between subnets

Started by sqlstatement, May 20, 2023, 09:35:35 PM

Previous topic - Next topic
May 20, 2023, 09:35:35 PM Last Edit: May 20, 2023, 10:21:12 PM by sqlstatement
Hello,

I've been trying to set up Wake on LAN (via Homebridge) since yesterday and haven't managed to get it working yet.
My setup consists of a Raspberry Pi sitting at 10.0.20.99/24 and a PC sitting at 10.0.10.188/24.
As far as I understand, I need a subnet-directed broadcast to be able to send broadcasts across subnets.
By that logic, 10.0.10.255 should work, it passes through the firewall according to the logs, but does not show up on the PC subnet (validated with Wireshark).
I have tried using udpbroadcastrelay with a few different options, but when I feed it broadcast addresses (attempted with 10.0.10.255 and 255.255.255.255) it refuses to start, so I'm running out of ideas.

I'd appreciate any help with this :)

Validated with WireGuard or Wireshark?

Have you tried only entering the Relay Port 7 without the Broadcast Address?

If you don't manage to get the broadcast working, you could use static DHCP mappings as a workaround with ARP Table Static Entry enabled, and use the devices' IP address as the WoL target. I used that to get WoL over WireGuard VPN working, since it doesn't support broadcasting.


Validated with Wireshark, sorry for the typo

I'm seeing port 9 being used, and yes, I've tried setting just the port without the broadcast, to no avail. (It does seem to run, but nothing is being forwarded according to Wireshark)

I'll definitely look into the solution you proposed and report back, since I've pretty much given up on the broadcast approach by now.

Quote from: sqlstatement on May 20, 2023, 10:24:51 PM
Validated with Wireshark, sorry for the typo

I'm seeing port 9 being used, and yes, I've tried setting just the port without the broadcast, to no avail. (It does seem to run, but nothing is being forwarded according to Wireshark)

I'll definitely look into the solution you proposed and report back, since I've pretty much given up on the broadcast approach by now.

Have you managed to get this working?