What is Wake On LAN?Wake on LAN, or WOL, is the ability to send a signal over a local area network (LAN) to power up a PC. Wake on WAN is the ability to send that same signal over a wide area network (WAN), such as the Internet, to trigger power-up of a PC on a private LAN. Perhaps you have a PC at home that you don't want to leave powered on, yet may need to access while at work.
Posted by1 year ago
Archived
Hi folks,
I am currently trying to get wake-on-lan to work over my VPN and not having much success, so far:
- I'm trying to send a WOL packet from an Android phone (OnePlus 5).
- I've confirmed that WOL works on the local net, that being 192.168.1.0
- I've confirmed that WOL packets are received by the computer I am trying to wake when it is on and has a static IP assignment, these are successfully received regardless of which VPN the phone is connected to (and Wi-Fi is off)
- The only difference that I can see is that when sent locally the packet is received directly from the phone's IP, however when it is sent over the VPN the packet appears to come from the NAS (though I would expect this). The sending address comes from the 192.168.1.0 net despite the VPNs being allocated 192.168.2.0 and 192.168.3.0 nets respectively - this is what I want.
However the problem occurs when I turn the computer off, WOL will then work on the Wi-Fi (same subnet) but not over VPN.
I'm not sure what will be relevant so I'll detail everything about my setup:
- Internet is provided using PPPoE and uses Openreach FTTC with a separate fiber modem.
- TP-Link WDR-3600 running DD-WRT is connected to the modem/internet over the WAN port and connected to a 3Com Switch 4200G 48-Port LAN switch (an older corporate-style 48 port gigabit switch) via LAN port 1.
- The VPNs are hosted on a Synology DS415+ NAS and occupy 192.168.2.0 (OpenVPN) and 192.168.3.0 (L2TP/IPSec), the NAS is connected to the switch using LACP link-aggregation.
- The target computer is connected to the switch directly via Ethernet and uses a static IP set in the NIC properties, the target computer is dual-booting Windows 8.1 and Windows 10 (W10 just for GoW 4...)
- DCHP is set for 192.168.1.100 - 192.168.1.240 with addresses outside of this range set manually (>240 for networking gear, <100 for my own Client devices with static addresses).
- Wi-Fi is provided by a Unity Unify-Pro Access Point but generally only has 3-5 devices connected
- I know the NIC is configured correctly because WOL works locally - so frustrating!
Things I've tried:
- Using the 'Advanced Routing' section of DD-WRT to bridge the subnet's as I understand there may be a problem with layer 3 traversal for the WOL packets. However since I tried that I successfully received WOL packets on the target PC while it was on (as stated above) indicating this isn't the problem.
- Ensured VPN pass-through is enabled for all protocols
- The SPI firewall is enabled, but all VPN traffic makes it to the local net so I don't see this being the issue
- I setup a rule in the port-forwarding to route all traffic from my NAS' IP to my PC's IP (which is statically assigned) on port 9
I used to have a Billion 9600N router and it had a 'Static ARP' feature which allowed you to assign IP addresses to MAC addresses from the router, rather than from the computer. I believe I had WOL over VPN working with this though that was about 4 years ago.
From what I understand Static ARP just assigns a fixed address to a Client when they are detected on the network but I can't find a similar feature in the DD-WRT settings and I don't actually know if this will resolve my issue.
Please help!
4 comments
Posted by3 years ago
Archived
I was using netgear and flash the DD-WRT for wake on lan and it works perfectly well. But my parent need to router upgrade from asus so i decide to get the C9 which has very good feedback for myself and give the netgear to them ! before purchase I checked it could be use wake on lan without flash dd-wrt, this is major reason i bought this router! And I follw the guide from here: http://www.rtsecurity.com/kb/net/tplink_wol.php
Forwarding->Virtual Servers set the port 7-9 IP & MAC Binding->Binding Settings bind my desktop which connected by LAN (192.168.0.100)
after that i tried on few different tool on windows and ios side either one working!
did i miss something ?
Thanks
2 comments