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 would like to be able to use the Wake-On-LAN feature to be able to turn on the two computers attached to my router when i am out of the house using my WAN IP Address.

Router = 81.210.109.0
PC A = 192.168.0.2
PC B = 192.168.0.3

Now i have set port forwarding up on my router which takes incoming connections of UDP port 9 and then forwards the packet to LAN server 192.168.0.2

How would i go about choosing which LAN computer i would wake when my router only allows my to forward a port to a single computer, Or is this even possible?

Thanks for any input on the matter

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

It is not possible. (At least, not in the way to asked.)

You need an unique combination of IP and port number to determine what to do with it. In your case you want:

  • External IP 81.210.109.0, port 9, forwarded to 192.168.0.2, port 9
  • External IP 81.210.109.0, port 9, forwarded to 192.168.0.3, port 9

There is no way your router will known which of those two rules to use.

What you can do is is to forward a port to another port number. For instance:

  • External IP 81.210.109.0, port 9, forwarded to 192.168.0.2, port 9
  • External IP 81.210.109.0, port 9999, forwarded to 192.168.0.3, port 9
    (Or any other unused port number).

Alternatively, you may be able to log in on the router and sent the the WakeOnLan locally to the right PC, or wake PC A, log in on PC A and send a WoL packet to PC B.

share|improve this answer
    
Thanks thats the logical thing to do, Sadly my router doesnt have the capability to assign incoming data from one port to a different port. It only has to ability to assign incoming data to a specific machine. –  user199250 Feb 14 '13 at 14:59
add comment

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.