There is no need to open/forward any ports in your router firewall. WoL is usually restricted to a single LAN subnet and works as a broadcast packet at link layer in the network stack (below the TCP/UDP layers) and so ‘ports’ have no meaning.
The WoL target MAC address is the MAC address (a globally unique identifier) of the ethernet port on the device you want to wake up. It is a 48 bit number written as 6 hex digit pairs separated by a colon ( : ).
I don’t know if it is supported on RoPieee but on the command line of a full linux distribution, you can obtain the MAC address using ifconfig
For, example, on my RPI 4 running DietPi, I can use:
WOL is not a linux function. It is a hardware function supported by the combination of the device and the ethernet adapter allowing the device to power up from a powered down state.
For example, on PC’s, it is turned on or off in the BIOS.
Reading further, it appears that the Raspberry Pi 4 does not support WoL.
Never looked into it before - my RPi’s are on 24/7/365
I try Login by SSH to RoPiee, but this type of connection doesn’t works now. I read this functions was disable one or two year’s ago.
But I ask Harry to manage new function to command line in RoPieee. Maybe my Yamaha R-N803D will receive the command line procedure. Roon got function to wakeup Yamaha device and turns on AirPlay maybe this command line will add prompt to Turn on device and change source to “Optical 2” - for me