I like to have my homeserver (running Ubuntu) automatically powered on when I am connecting via SSH from the internet.
I successfully configured the server to listen for Wake On LAN (WOL) magic packets on the local network. I can poweroff the server and then send a WOL magic package with wol to start the server. Everything is working :)
But i like to go further: My router (Apple Airport Extreme) is capable of Wake On Demand (WOD). But how can I register my server (e.g. with Avahi) to the router, so that it knows to wake the server when connecting via SSH?
Edit: Some details: If the server is already running, i can connect from the internet via SSH; port forwarding is correctly set up.