Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an Ubuntu box that I can wake on lan (WOL) in my local network.

My router setup is as follows:

ISP > Modem > Router > Ubuntu box

I am not able to wake the Ubuntu box from outside my network, although I have forwarded port 7 and 9 (both UDP and TCP) in the router to the ubuntu box.

Am I forgetting something? Should I change modem settings in order to get WOL-over-ethernet working?

Thanks in advance,

M0s..

share|improve this question

1 Answer 1

When the computer is asleep, it cannot reply to the router's ARP requests, so you must either add a static ARP entry into the router, or forward the packets to the subnet broadcast address. (It doesn't have to be port 7 or 9; any UDP port will work fine.)

Also make sure that your "Wake on LAN" tool is sending the magic packets to the right address.

share|improve this answer
    
Thank you for your reply! –  Vincent Sep 9 '12 at 14:55
    
Thank you for your reply! Could you get me started on how to forward the packets to the subnet broadcast address? Thank you! –  Vincent Sep 9 '12 at 15:05
    
@M0sthated: Try entering 192.168.1.255 or similar as the forward-to address? (network_address | ~netmask) –  grawity Sep 9 '12 at 15:54
    
Alright, so my netmask is 255.255.254.0 and my router's IP is 192.168.1.1. Using an IP calculator (jodies.de/…) I now know that the broadcast address is 192.168.1.255. In my router there are several fields that need to be filled out for port forwarding. Could you tell me which goes where? Thanks in advance! These are the fields: PORT RANGE - LOCAL IP - LOCAL PORT - PROTOCOL (tcp/udp) - PROTOCOL NO. –  Vincent Sep 10 '12 at 16:26
    
@M0sthated: 9-9 / 192.168.1.255 / 9 / udp / ??? –  grawity Sep 10 '12 at 16:55

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.