Confirm that the server firmware and network card driver support Wake-on-LAN. Record the target MAC address, standby power supply method, and shutdown method. First, send a Magic Packet from a local computer on the same subnet to verify the device can wake up. Many devices only allow waking through a wired interface and specific power states.
Have the gateway send to the correct LAN
Log in to the OpenWrt trusted management interface or VPN. On the corresponding device or VLAN, invoke the WoL tool. Disable public network broadcast forwarding. Devices on different subnets are communicated via the router's own packet forwarding to the target LAN; broadcast traffic does not cross routing boundaries by default.
Separate validation of wake-up packet and actual server boot
First, power on a previously powered-off device within the same LAN, noting the network interface and target MAC address. Then, from the authorized management interface, have OpenWrt send packets to the correct VLAN.
After sending packets, first check the link and wait for the server's application port to become available. Test with sleep and shutdown scenarios. Set a timeout for automatic tasks and verify failure cases via console output or power state checks.
The target should be powered on and exhibit verifiable business responses. If the router sends packets but the device does not respond, first check BIOS settings, perform power-off and power-on cycles, and verify VLAN broadcast scope.
Check the terminal output

Comments