Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Rob

share|improve this question

1 Answer 1

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 192.168.0.12 --dport 14000 -j DNAT --to 192.168.0.12:9

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

share|improve this answer

Your Answer

 
discard

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.