Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was just wondering if there was a way to change the port that WakeOnLan is configured on (default port 9)?

I'm using 64bit Ubuntu 13.04.

I figured worst case I can route it using iptables from a different port to port 9, but if I can configure the port it's a cleaner solution.

Thanks in advance.


share|improve this question
up vote 1 down vote accepted

For anyone viewing the post I ended up just routing the requests using iptables:

Something like iptables -t nat -A PREROUTING -p udp -d --dport 14000 -j DNAT --to

with port 14000 forwarded on my router allowed me to use WoL over the internet on port 14000.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.