jonlai9 Posted March 24, 2011 Share Posted March 24, 2011 I've configured my server to wake on LAN using wolcmd right now. Is it possible to also configure the server to wake on WAN? I have a Linksys WRT54G with Tomato. This would be very convenient for apps like subsonic. Thanks. Link to comment
keland44 Posted March 24, 2011 Share Posted March 24, 2011 i haven't used tomato in years but I use ddwrt what i did was setup a no-ip.org account and then set that up in ddwrt and enabled myself to be able to access my router from anywhere on the internet using my no-ip.org address. I setup links on my phone that point to no-ip.org/wol.asp and have my password info setup and saved and i just wake my system up that way i'm sure these options are in tomato especially if you were already able to setup your wolan Link to comment
bubbaQ Posted March 25, 2011 Share Posted March 25, 2011 WOL uses MAC address, which does not pass through a router. You can use Tomato, but you have to log into the management interface from the WAN, and then tell it to send a WOL to the machine on your local LAN. Link to comment
jonlai9 Posted March 25, 2011 Author Share Posted March 25, 2011 WOL uses MAC address, which does not pass through a router. You can use Tomato, but you have to log into the management interface from the WAN, and then tell it to send a WOL to the machine on your local LAN. Great! But how would I do that? Link to comment
bubbaQ Posted March 25, 2011 Share Posted March 25, 2011 You have to enable access to Tomato's admin interface to the Internet (WAN). Link to comment
jonlai9 Posted March 25, 2011 Author Share Posted March 25, 2011 You have to enable access to Tomato's admin interface to the Internet (WAN). How do I do that with Tomato? Any way to do it without VPN? As it doesn't seem like Tomato supports VPN and I don't want to install another firmware and lose all my settings. Link to comment
bubbaQ Posted March 25, 2011 Share Posted March 25, 2011 Set "Remote Access" on the Administration page in Tomato to HTTP or HTTPS.... then you can get to it from the outside. It's a huge security risk, however. Better have a good password, or you'll be hacked in 24 hours or less. Link to comment
jonlai9 Posted March 25, 2011 Author Share Posted March 25, 2011 Set "Remote Access" on the Administration page in Tomato to HTTP or HTTPS.... then you can get to it from the outside. It's a huge security risk, however. Better have a good password, or you'll be hacked in 24 hours or less. That doesn't sound good at all. Is there a safer way? All I'm looking to do is wake up the server, don't necessarily need access to the router. Link to comment
StevenD Posted March 25, 2011 Share Posted March 25, 2011 Instead of opening up my router to the world, I remote into one of my desktops on my LAN, then run a script that wakes stuff up. Link to comment
jonlai9 Posted March 25, 2011 Author Share Posted March 25, 2011 Instead of opening up my router to the world, I remote into one of my desktops on my LAN, then run a script that wakes stuff up. That would only work if you have a computer that's online, though. I want to be able to wake my server when no computer on the network is on, if possible. That leaves the router as that's the only device on the network that's always on. Link to comment
Joe L. Posted March 25, 2011 Share Posted March 25, 2011 Then an answer might be a new router that does support VPN. (or can be flashed with firmware that does) Link to comment
Haenchensd Posted March 26, 2011 Share Posted March 26, 2011 I have my server setup to wake on WAN. I also have DD-WRT. I tried initially to have port 9 forwarded to my server's IP, but for some reason that wasn't working. I now have port 9 forwarded to the broadcast IP and it works beautifully. Link to comment
jonlai9 Posted March 26, 2011 Author Share Posted March 26, 2011 I have my server setup to wake on WAN. I also have DD-WRT. I tried initially to have port 9 forwarded to my server's IP, but for some reason that wasn't working. I now have port 9 forwarded to the broadcast IP and it works beautifully. Can you talk about how you did it and perhaps some instructions? Did you use VPN? How difficult was it? Thanks. Link to comment
Haenchensd Posted March 26, 2011 Share Posted March 26, 2011 I will on Monday, out of town at the moment and I can't access my router for security reasons. Really, I think I just told it to forward all incoming traffic on port 9 to 192.168.1.254 (I think, whatever your broadcast IP is) and then just use my WOL client like normal with my DynDNS address as the IP. It works both from my iPhone WOL app and also from web page based WOL apps. Link to comment
jonlai9 Posted March 28, 2011 Author Share Posted March 28, 2011 I will on Monday, out of town at the moment and I can't access my router for security reasons. Really, I think I just told it to forward all incoming traffic on port 9 to 192.168.1.254 (I think, whatever your broadcast IP is) and then just use my WOL client like normal with my DynDNS address as the IP. It works both from my iPhone WOL app and also from web page based WOL apps. Thanks! Port 9 is only used for WOL right? So it shouldn't create any additional security problems for the rest of the network? Link to comment
defected07 Posted March 28, 2011 Share Posted March 28, 2011 Thanks! Port 9 is only used for WOL right? So it shouldn't create any additional security problems for the rest of the network? It's actually a "discard" port (according to the internet), and used for test purposes. Follow this chart, from SpeedGuide.net (someone chime in if inaccurate) Well Known Ports: 0 through 1023. Registered Ports: 1024 through 49151. Dynamic/Private : 49152 through 65535. Link to comment
bubbaQ Posted March 28, 2011 Share Posted March 28, 2011 I'd be interested in what WOL client would perform this trick ... it shouldn't work. Link to comment
jonlai9 Posted March 30, 2011 Author Share Posted March 30, 2011 I'd be interested in what WOL client would perform this trick ... it shouldn't work. It shouldn't work? What do you mean? If a connection to the local network can be established, can't you just use whatever WOL client I typically use? Link to comment
bubbaQ Posted March 30, 2011 Share Posted March 30, 2011 Because every WOL client I have ever used sends the WOL payload as a non-routable broadcast.... not a packet directed to a particular IP. Link to comment
dgaschk Posted March 30, 2011 Share Posted March 30, 2011 You can port forward/map packets that come in on port 9 to the broadcast address. Some routers will not map to the broadcast address unless you change the subnet mask. If you establish a VPN you should be able to broadcast directly. Link to comment
bubbaQ Posted March 30, 2011 Share Posted March 30, 2011 If you are in Calif, and you use a WOL client that sends the broadcast payload, it won't get to port 9 on your router in Florida in the first place .... w/o some VPN or VLAN setup. Link to comment
defected07 Posted March 30, 2011 Share Posted March 30, 2011 How difficult/expensive is it to set up a VPN at home? Link to comment
dgaschk Posted March 30, 2011 Share Posted March 30, 2011 If you are in Calif, and you use a WOL client that sends the broadcast payload, it won't get to port 9 on your router in Florida in the first place .... w/o some VPN or VLAN setup. You send a unicast UDP packet with the correct content to port 9 of your public address and have the router map it to the correct destination address or LAN broadcast. EDIT: Here is a web form that sends a unicast WOL: http://www.depicus.com/wake-on-lan/woli.aspx That site has smartphone apps and regular applications that do this as well. How difficult/expensive is it to set up a VPN at home? Google "DDWRT" It's free. I'd recommend this method because it gives you secure access to your content as well. Link to comment
defected07 Posted March 30, 2011 Share Posted March 30, 2011 Google "DDWRT" It's free. I'd recommend this method because it gives you secure access to your content as well. Thanks. Currently using an Airport Extreme, which is not supported by DDWRT. May have to find another solution if I want to implement VPN at this time. Link to comment
johnodon Posted March 30, 2011 Share Posted March 30, 2011 Then an answer might be a new router that does support VPN. pfsense FTW. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.