I am trying to send the WOL command from ssh as follows:
/tool wol mac=MY:MAC:ADD:RESS interface=ether2
tool wol mac=MY:MAC:ADD:RESS interface=ether2
/tool wol mac=MY:MAC:ADD:RESS
tool wol mac=MY:MAC:ADD:RESS
when I take a tcpdump on the target machine, I get no response
[root@localhost ~]# tcpdump -i ens33 -l port 9
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens33, link-type EN10MB (Ethernet), capture size 65535 bytes
I also try listening on port 7.
I then send a wolcmd command from another pc:
wolcmd MY:MAC:ADD:RESS 192.168.88.200 255.255.255.0 9
Wake on Lan signal sent to MAC Address 00e04db025d4
via Broadcast Address 192.168.88.255 on port 64291
We should send 102 bytes we sent 102 bytes ... all done
And I get the response that it was received
08:44:28.039127 IP 192.168.88.254.60279 > 192.168.88.255.discard: UDP, length 102 <-
So it works from workstation to workstation but not from router to workstation. It doesn’t matter what port.