在内网分配了固定的ipv6后缀
使用命令
ubus call network.interface.wan_6 status | jsonfilter -e '@["ipv6-prefix"][0].address'
获取ipv6前缀的时候由于ddns-go用户没有network.interface.wan_6的权限获取失败
希望能增加ddns-go的acl文件 /usr/share/acl.d/ddns-go_acl.json
{ "user": "ddns-go", "access": { "network.interface.*": { "methods": [ "status" ] } } }
使ddns-go用户可以获取网络接口状态用来获取ipv6的前缀
在内网分配了固定的ipv6后缀
使用命令
ubus call network.interface.wan_6 status | jsonfilter -e '@["ipv6-prefix"][0].address'获取ipv6前缀的时候由于ddns-go用户没有network.interface.wan_6的权限获取失败
希望能增加ddns-go的acl文件 /usr/share/acl.d/ddns-go_acl.json
{ "user": "ddns-go", "access": { "network.interface.*": { "methods": [ "status" ] } } }使ddns-go用户可以获取网络接口状态用来获取ipv6的前缀