Thanks for replying.
What I do is execute the following php script under from my website.
I have a dyndns-address (eehost.com) connecting to my public ip, and send a magic packet to port 7 on my this.
The packet contains the mac-address for my pc.
My linksys router forwards all incoming packets on port 7 to 10.0.0.127, which is the broadcast address of my network.
I have been using logmein, but I think this is a better solution when I want to start the ftp service on a computer no powered on.
Main Topics
Browse All Topics





by: fmarshallPosted on 2009-01-16 at 15:01:04ID: 23398350
How do you send a packet from the outside world using a private range address like 10.0.0.x? Routers aren't supposed to propagate packets destined for such addresses over the internet. It could mean any of millions of physical destinations using that address range privately.
I took you to mean that "it is impossible to use static IP addresses on the router" ... meaning the computers on the LAN. But I guess not. I guess you mean the router has a dynamically-assigned public IP address, right?
You need a packet on the LAN that's addressed to the appropriate computer and you have a dynamically-assigned public IP address.
Once you get past the public IP address then I assume you could address the appropriate computer via a port assignment - but I don't know that for sure. Since you have the port forwarding set up OK then what happens if you do this:
Send a packet to the computer (public IP:port)at a time when you know what the public IP address and forwarded port is such as:
209.206.111.33:9230
If this works, then you know it's only the public IP address you need later on.
You can deal with the IP address issue with a dynamic DNS service. Take a look at www.DynDNS.com. You'd have to have something running on your LAN to update the IP address with them. So, if the WOL implies that there is no computer running that's on the LAN then you'd be out of luck.
But, if you have a computer running on the network then it's probably simpler to take control of it using LogMeIn and let it send the packet inside the LAN.