Hey!
I'm trying to setup WOL on my PC. It works fine through LAN from my notebook using the broadcast address.
E.g.:
Code:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:03:04:05
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
Code:
wakeonlan -i 192.168.1.255 00:01:02:03:04:05
The problem is if i'm trying this over WAN using my global IP address, it doesn't work.
Portforwarded to the local IP (192.168.1.101), didn't work.
I thought maybe i should portforward to the broadcast address, but the router doesn't allow forward to x.x.x.255, only x.x.x.254.
What should i do here?
I'd appreciate any advice!
Thanks in advance!
EDIT: Assigned the local IP to the PC's MAC address and portforwarded to the local IP, now it works most of the time. It's pretty unreliable tho, sometimes it just doesn't wake up, i have to send several packages.