proxy.conf 里
[Proxy]
WG-HomeGZ = wireguard, section-name=UDM-SE
然后
WG-Air15.sgmodule 里
#!name=WG for Air15
#!desc=WireGuard for Air15.
[WireGuard UDM-SE]
private-key = +FXXXXXXXXXX1+vYZkQ=
self-ip = 192.168.3.3
dns-server = 192.168.3.1
prefer-ipv6 = false
mtu = 1280
peer = (public-key = aXXXXXXXXXXA=, allowed-ips = "192.168.3.1/32,192.168.3.3/32,0.0.0.0/0", endpoint =
home.XXXXX.cn:51820)
然后另一个设备对应的模块里
WG-ATV6.sgmodule 里
#!name=WG for ATV6
#!desc=WireGuard for AppleTV6-Remote.
[WireGuard UDM-SE]
private-key = YXXXXXXXXXXX3g=
self-ip = 192.168.3.6
dns-server = 192.168.3.1
prefer-ipv6 = false
mtu = 1280
peer = (public-key = aXXXXXXXXXXXA=, allowed-ips = "192.168.3.1/32,192.168.3.6/32,0.0.0.0/0", endpoint =
home.XXXXX.cn:51820)
然后哪个设备就选那个设备对应的模块
这样对应替换掉自己的信息。。应该没问题了
当然 proxygroup 和 rule 部分也要对应上
@
PatrickLe