是否可以增加支持wol(远程唤醒)

你好,理论上zerotier是让两台pc变成一个局域网,那请问局域网的应用之一,远程唤醒(wol)是否可以实现?即实际上为广域网的两台PC都安装了zerotier,然后通过zerotier进行远程唤醒。

No. Wake On Lan cannot be used over ZeroTier because it’s a software based virtual network.

但是zerotier是可以安装在路由器等上长期运行,通过地址转发是可以实现。经过测试zerotier搭建的虚拟局域网貌似丢弃了wol包,导致无法传输。应用场景: 1台pc安装了zerotier(代号A) 一台远程路由器(代号B)中安装了zerotier 同时设置了路由器下局域网的转发,局域网下有多台PC(代号C)。 意图A通过单独的局域网唤醒(wol)小程序可以广域网远程唤醒所有B下面的局域网C。目前的情况测试是唤醒包被丢弃。应用前景主要是支持广域网的上同一虚拟网(zerotier授权的局域网网段)下的zerotier用户可以通过zerotier唤醒一台安装了zerotier插件的路由器下的所有PC(pc硬件支持wol唤醒)。

1 Like

Check the flow rules. WoL packets have their own EtherType (0x0842). The flow rules by default only allow IPv4, IPv6 and ARP packets. If you replace the flow rules with just:

accept;

then any packet of any type will be allowed.

Note that WoL packets aren’t usually routable either, so if ZeroTier is not bridged into the network, this likely won’t work either, as broadcast packets don’t hop network segments.

ok,目前解决的方案是通过zerotier构建了虚拟局域网,广域网远程登陆路由器管理端,通过路由器上的网络唤醒(wol)来远程唤醒PC,相对步骤较为繁琐。在中国,ip地址稀缺,导致大部分用户使用的是内网虚拟ip,非公共ip地址。

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.