Hey guys I hope this is the right place for this, as Ive been having some troubles recently with a new setup.
Well I decided to turn my custom desktop into a server/remotedesktop for me and my family to use. I have a Verizon FIOS router as the main that leads to a D-Link 825 that most everything else (including this desktop) is connected to.
Now I had to port forward twice to get the remote desktop and server connections to work (first from the FIOS router, then to the Dlink, finally reaching the desktop). However the problem of course is that this only works when the computer is on, and I dont want to leave it on.
Yes, I do have WOL enabled in the BIOS and my network adapter is configured correctly (in fact I had it setup so ANYTHING could wake it up, instead of just a magic packet, the result was the computer would wake up intermittently, I solved it by allowing only magic packets to wake it up, but since the change I cant wake it at all, all virus/firewalls are set to full allow for these ports/rules)
I would prefer to wake it from OFF (hibernate) but from SLEEP will do just fine as well.
Anyways this is what I have so far. I created a port forwarding rule on the FIOS router to set it to forward, using the UDP policy/command from any port to port 2727 (wanted to get away from the standard port 9 for WOL) to the D link router, then another rule on the Dlink router to forward from port 2727, to 2727 again using UDP to my desktop (correct IP and MAC address)
When I go to send the packet from say my laptop or phone, I use my IP address (in my mind, visually, this means it (the magic packet) is trying to enter first from the FIOS router as its first in the chain) but what Im also not clear on is: do I use the MAC address of the D link router when I send the packet or the MAC of the desktop? Ive tried both and neither wake the computer. Port 2727
Ive searched the internet plenty and Ive tried everything I can think of. This is the first time Ive done quite a bit of tinkering network-wise, as well as setting up any sort of server/remote desktop, so any help would be appreciated![]()
Oh and pardon the long read![]()
-
-
ALLurGroceries  Vegan Vermin Super Moderator
I have set this up before (err actually not behind 2 routers... lol) with a box on the LAN (ideally the router) that has etherwake on it, it's available in certain builds of busybox or as a standalone ipkg for various platforms. This requires ssh access though. If you want to go a step further you can make a php or cgi script that will run the necessary command so that you just need to visit a webpage instead of ssh. Ideally you have this web server set up on the router too.
The MAC addy has to be for the machine to wake, since this is the only way the magic packet is going to reach it. -
WOL doesn't support forwarding for security reasons.
I'm not saying it can't be done in a roundabout way, but it will not work just by port forwarding.
You need a subnet directed broadcast, and I would imagine, most consumer level routers will not support it.
WOL behind 2 routers
Discussion in 'Networking and Wireless' started by CrappyAlloy, Mar 10, 2011.