我想用" WAKE ON LAN"唤醒我的个人电脑。通过互联网,即从远程设备发送魔术包。
以下是配置
当我在本地发送魔术包时,即从同一网络上连接的其他设备发送,Pc连接到一切顺利。
为java WakeOnLan 192.168.0.255 00:0E:62:09:xx:xx
但是当我尝试从另一个网络发送魔术数据包时指定 MAC地址和example.ddns.net WOL 不工作
为java WakeOnLan example.ddns.net 00:0E:62:09:xx:xx
使用了此处的代码http://www.jibble.org/wake-on-lan/
感谢任何帮助。
答案 0 :(得分:0)
In a basic summary here are things you need to look into: 1. You need to add an entry to ARP table on your router to recognize the incoming WOL request. 2. You need to add a firewall rule to broadcast the incoming magic package on you local lan. 3. You need to find a WOL utility which supports sending magic package to a specific port (this is not needed when within local lan).
For a more comprehensive information please see this reference: http://uneventech.blogspot.com/2012/05/1-turnon-home-pc-remotely-scenario-you.html