wakeonlan from remote host
Posted
by
takeshin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by takeshin
Published on 2011-01-01T16:25:34Z
Indexed on
2011/01/01
16:58 UTC
Read the original article
Hit count: 418
I have setup wake on lan
service on my server. Everything works fine on local area network:
root@server$: poweroff
user@local$ wakeonlan AA:BB:CC:DD:EE:FF
and the server wakes up.
AA:BB:CC:DD:EE:FF
is a MAC address of my server
, which has IP 192.168.1.2
and hostname: example.com
. It is connected to the router, which has IP 192.168.1.1 (public: xxx.xxx.xxx.xxx)
When the server is up, I can ping:
ping example.com
or login via ssh:
ssh [email protected]
So far, so good. Now I'm able to wake the server up from local area, but how to wake the server from the remote location?
I tried: user@local$ wakeonlan -i xxx.xxx.xxx.xxx AA:BB:CC:DD:EE:FF
, but it does not work (nothing happens;).
Do I have to configure my router somehow to forward magic packets? How?
© Ask Ubuntu or respective owner