What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-N66U WakeOnWAN?

Inzann

New Around Here
Hello guys! I wonder if its possible to wake my PC up from WAN? I got it working on LAN using the aicloud app on iPhone but as soon as I leave lan it doesn't work obviously. I want to know if there is any way I can wake my PC from my iPhone being away from home.

What would be the easiest way to achieve this? I am fairly new with these more advanced networking features. Thanks in advance. :)
 
I read that you have to broadcast the WOL (or rather WOW) packet to all your PCs in your LAN, since the N66U doesn't support port forwarding to a specific MAC address and the ARP protocol (IP to MAC address translation) in your router only works if your target PC is completely on. Many seem to use port 9 (discard port) as the target port. So what you have to do is to configure port forwarding for your router with the following settings:

  • Service Name: Wake on WAN
  • Port range (public): any dynamic port (e.g. 55555)
  • Local IP: broadcast address of your LAN (e.g. 192.168.1.255 for a 192.168.1.0/24 subnet)
  • Local port: 9 (discard port)
  • Protocol: UDP

(Input of broadcast addresses seem to work in N66U - won't be supported by all routers.)

And then route your WOL packet from the internet with any tool you desire (which supports IP addressing, not only MAC) to your public IP with port 55555 (i.e. xxx.xxx.xxx.xxx:55555) which is translated by your router to 192.168.1.255:9.

If I am wrong what I am saying here, correct me. ;)

EDIT:

Found two tools for iPhone and Android (which support IP and port addressing), but there are certainly more of these tools. Only FYI.


EDIT 2:

Hm, you can input a broadcast address into the port forwarding input mask, but the broadcasting itself doesn't really work. Seems that only unicast works.

Btw as RMerlin mentions and suggests in this thread you should be cautious to use this port forwarding technique since it introduces a security risk (there is no authentication, everyone might send such a WOL packet). Better use VPN to bind your IP to your LAN and then use WOL as usual.
 
Last edited:
AiCloud should also work from outside of your network if properly configured.
 
Any idea what I might have missed out when configuring aiCloud? I will try the above mentioned solution as well and see if it works but I would prefer if I could get it all done with aicloud. When I disconnect from my WIFI and try to send wake signal it says that it has been sent but the computer doesn't wake.
 
Any idea what I might have missed out when configuring aiCloud? I will try the above mentioned solution as well and see if it works but I would prefer if I could get it all done with aicloud. When I disconnect from my WIFI and try to send wake signal it says that it has been sent but the computer doesn't wake.

Make sure your DDNS is properly configured, and that your modem is bridged and not set as a router (which would firewall your Asus router from outside access).
 
Make sure your DDNS is properly configured, and that your modem is bridged and not set as a router (which would firewall your Asus router from outside access).

I don't have a modem AFAIK, the cable goes directly from the wall into my RT-N66U router. Also I wonder if a DDNS is necessary since I have a static IP.
 
I don't have a modem AFAIK, the cable goes directly from the wall into my RT-N66U router. Also I wonder if a DDNS is necessary since I have a static IP.

AICloud configures itself using the DDNS of the router. I'm not sure if you can manually specify an IP instead, it's been a while since I looked at AiCloud.

There might still be a modem on the provider's side (be it from the Internet provider, or the owner of the place), as Ethernet doesn't run in the streets :) Simplest way to see is to check on the router's main page - is your Internet IP a public one, or a private one (i.e. 10.x.y.z or 192.168.x.y)?
 
Any idea what I might have missed out when configuring aiCloud? I will try the above mentioned solution as well and see if it works but I would prefer if I could get it all done with aicloud. When I disconnect from my WIFI and try to send wake signal it says that it has been sent but the computer doesn't wake.

On iphone/ipadLTE, sometimes you just have to start completely over configuring Aicloud.

In the past, here's how I've configured it on iphone/ipad(LTE)

1. setup ddns on router
2. download app to iphone/ipad
3. set it up on iphone/ipad only (run the wizard)
4. after you've got it working both locally and remotely, then turn on the password protection on the router.

Hint: If you try to mess with aicloud settings on the router first (before you've run the app wizard), there's a high probability that you won't be able to connect remotely. The iphone app will automatically toggle on aicloud on the router. If you try to toggle it on manually, it will cause the problem that you're experiencing. Just let the iphone app do the work. All you really have to do is setup ddns and then after it's all setup, I would advise to follow step 4 for security.
Sometimes you just have to start over. Turn off aicloud on router and delete the app from your phone. And start completely over.....with step 1 above. Once you get it set up, it's reliable. I've never used the WOL function so I can't help you there. I have N66U in AP mode at the moment so I can't test either.
 
Last edited:
The first test I would do however is to see if you are able to access the AiCloud web interface from outside of home, to confirm whether you do have remote access to your router or if something ahead of your router is firewalling it.
 
AICloud configures itself using the DDNS of the router. I'm not sure if you can manually specify an IP instead, it's been a while since I looked at AiCloud.

There might still be a modem on the provider's side (be it from the Internet provider, or the owner of the place), as Ethernet doesn't run in the streets :) Simplest way to see is to check on the router's main page - is your Internet IP a public one, or a private one (i.e. 10.x.y.z or 192.168.x.y)?
I am connected to my cities fiber network so I have a public static IP.
WAN IP: 85.230.xx.xx. It seems from reading your responses that the only way for me is to start over with AIcloud and remove all traces and then do the DDNS part as well. I don't see why its necessary for a static IP though but I will give it a go.

And no I am not able to connect to my router from outside my local network (I have no idea how to set this up). :P
 
Last edited:
I am connected to my cities fiber network so I have a public static IP.
WAN IP: 85.230.xx.xx. It seems from reading your responses that the only way for me is to start over with AIcloud and remove all traces and then do the DDNS part as well. I don't see why its necessary for a static IP though but I will give it a go.

And no I am not able to connect to my router from outside my local network (I have no idea how to set this up). :P

Just make sure that AiCloud is enabled. Then, with either your phone connected to 3G/LTE or from a computer outside of home, try to access AiCloud using any regular web browser:

https://85.230.xx.xx/

(make sure you access it over HTTPS and not HTTP)

If you can't connect, then it means your ISP has a device in front of your router that's blocking inbound connections to port forwards.
 
I am connected to my cities fiber network so I have a public static IP.
WAN IP: 85.230.xx.xx. It seems from reading your responses that the only way for me is to start over with AIcloud and remove all traces and then do the DDNS part as well. I don't see why its necessary for a static IP though but I will give it a go.

And no I am not able to connect to my router from outside my local network (I have no idea how to set this up). :P

Yes, that's what I'm telling you from my own personal experience with iphone and ipad with aicloud. You have to start completely over with your setup. Turn off aicloud on router (Turn off Cloud Disk and Smart Access). Delete the iphone app from your phone. Start over. Let the app do the work. Don't go in to your router settings and enable aicloud. The iphone/ipad app wizard will do that for you automatically.

Aicloud setup (for remote access) on iphone/ipad is fussy.

I have dynamic public IP address so I use ddns. I never tried to set it up without ddns, so I can't really say there.
 
Last edited:
Just make sure that AiCloud is enabled. Then, with either your phone connected to 3G/LTE or from a computer outside of home, try to access AiCloud using any regular web browser:

https://85.230.xx.xx/

(make sure you access it over HTTPS and not HTTP)

If you can't connect, then it means your ISP has a device in front of your router that's blocking inbound connections to port forwards.

I tried this and got it working from outside my LAN. I had to enable a setting in the administration tab (allow access from other WAN devices).

Anyways I also got the wake on WAN to work, this is how I did it.

1. Install aicloud on iPhone
2. Do the install wizard to connect to router
3. Do the manual add wake on lan (difference I made here is that I entered my WAN IP instead of the IP of router) Also note that I didn't add my DDNS here since I have a static WAN IP so it wasn't necessary.
4. Tried the WoL function first while connected to my WIFI and it worked
5. To make it work outside the LAN I had to open port 9 on the machine I wanted to wake (maybe it works open the port on the router IP as well, never tested.).
6. Tried waking from outside LAN (WAN) and it worked.


So finally I got it to work and I'd like to thank you all for your advice. :)
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top