Wake on Wan

Sep 7, 2018
3
0
10
Hi there!


I would like to make WOL working on my AC66U b1, with the 3.0.0.4.384_32738 firmware.

The problem is, that on lan, I can wake up the PC either with its own IP, or the broadcast IP (192.168.1.255). But through internet, it will only wake up within a few minutes of shutdown.

Probably, after shutdown, I cant reach the IP of the PC, due to ARP table cache timeout, it gets deleted from the router s memory.

I'm not sure, but that's what I found on other forums also.

Do I have to flash a 3rd party firmware? If yes, would merlin asuswrt be good for this, or only ddwrt has this capability?


Thanks in advance,
Aaron
 
Solution
It is not a ping command. The wake on lan application encapsulates the packet in a IP header and gets forwarded to some ip and port. This is the part that technically violates the WoL protocol but all PC seem to not care if there are IP headers in the packet.

You need to have a static mac entry for that dummy IP to the broadcast mac address not "no mac address"

The hackers now if they find the port you are using send packets to that port which are now broadcast to every machine in your network. They can run a denial of service directly against your all your devices at the same time.

The session to the router is HTTPS encrypted on most modern routers. If you are that worried then add a VPN to the router and admin the router via...
The arp is the problem and I am pretty sure the merlin can accomplish this. It is one of those nasty putting stuff in the JFFS/scripts file if I remember right.

I would have to check to see if the feature was migrated to the merlin firmware but the factory image has a WoL feature. You remotely access the router and then it has a page that you can request the router to send the WoL packet on your behalf. Since it is a actual WoL packet everything work great.
 


So, its not just a reachable feature through getting into the router remotely, I can also just do it the "old" way, I can just ping a port? Because I want to use it with Wake on Lan for Android, that's an app, that pings a specific port through ip/hostname with a mac address included.

 
I assume from the reading you have done you know there is no such thing as wake on "WAN". No matter how much the phone app guys think you can it does not exist.

Everything revolves around nasty static ARP hacks. Very technically the pc should not accept a IP header in the packet but most do. Most also should ONLY accept traffic sent to the broadcast mac address but some respond to their own mac. You should map a dummy ip to the broadcast mac and port forward that IP. Years ago you used to be able to port forward the broadcast IP of a subnet and then send packet to that. Problem is it quickly becomes a denial of service attack that can attack all machines on your local network.
 



Yepp, that's exactly what I read, that nowadays remote lan became "such a threat" (honestly, they)can get all my idiotic selfies, or even fb password to write to my wall as me that I'm gay... Threat, my...), that manufacturerers make it very uncomfortable to do wake through internet.

So, what I need to do, is set a static arp line, only with a nonexistence IP, no Mac adress, then port forward 7/9 udp to that ip, and when pinging, target that dummy ip with the real pc I wanna wake up?

Thank you
 
It is not a ping command. The wake on lan application encapsulates the packet in a IP header and gets forwarded to some ip and port. This is the part that technically violates the WoL protocol but all PC seem to not care if there are IP headers in the packet.

You need to have a static mac entry for that dummy IP to the broadcast mac address not "no mac address"

The hackers now if they find the port you are using send packets to that port which are now broadcast to every machine in your network. They can run a denial of service directly against your all your devices at the same time.

The session to the router is HTTPS encrypted on most modern routers. If you are that worried then add a VPN to the router and admin the router via VPN.
 
Solution
Do you have any other PC's you leave on 24/7?
remoteing into them using a pinhole like teamviewer or google remote desktop and then triggering WOL works well.

I'm pretty sure teamviewer even has a wol on the client which can be triggered from the app.
 
Curiously wake on wan has always worked for me, and wo having doing anything to the arp table. Used to run on a Sonicwall firewall and most recently pfsense, I've just verified my wake box MAC does get timed out and no longer on the firewall's arp table.

I use depicus.com to wake: my public ip, target MAC, mask 255.255.255.255, port 7.

My firewall port forward: tcp/udp, port 7 to target IP (static).

My target box sleeps on ACPI mode 3. Suspend I believe Intel calls it.

Again, am running my arp on default, didn't change anything.
 
ACPI is not standard WoL it is one of the extensions that make this topic massively confusing since not all devices support it the same way and of course microsoft has gotten involved and messes with the bios settings. True wake on lan the os is completely shutdown with only the bios and ethernet port active. I think they called that s5. I lost track of this mess. We stopped using it long ago when servers came with out of band management ports and we even had power management devices for those cases you had to power cycle the units.

 
APCI 5 is complete shutdown same as when issued a Windows shutdown command. A while back I measured, I hooked up a watt meter on my box and found out APCI 5 sucks about the same amount of power as ACPI 3, so I went, why bother, just ACPI 3 it, and it wakes up much faster. If this is what preventing ppl from Wake-on-Wan, well personally I have no sympathy.
 
That is pretty much why I don't bother with WoL on my personal machines. My UPS tells me how much power machines take and even when they drop into the low power mode it is not much more than any of the special suspend modes so I pretty much just have my machine on all the time.
 
When I said sucks power I mean during standby mode, not when fully powered on.

I think maybe people get enamored with the idea, wow I can wake this box up from dead off remotely, not realizing even in a shutdown state, it's sucking power, PC have this thing called standby power (for the rest of you who are reading) and it's always on even when your box is shutdown.