I understand Wake-on-LAN cannot work if you're trying to wake a computer from outside the network, however, on a very far observatory, there's this server running on Ubuntu shutting off automatically on bad weather, so we want to wake it remotely over the WAN.
There are lots of computers there which I can connect via ssh, and are also on the same network as the aforementioned server.
My question is, How can I ask one of those computers to send a WoL command to server that is down?