Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最近一次package里面的zerotier的pull request commit好像有问题 #12508

Open
1 task done
GreatMichaelLee opened this issue Sep 30, 2024 · 9 comments
Open
1 task done

Comments

@GreatMichaelLee
Copy link

详细叙述

如题,coolsnowwolf/packages#857 这个commit提交后luci里面的networkid和nat配置就显示不出来了,见图示。

没有合入这个commit之前的luci界面。
image

合入之后,启用,networkid和使能NAT三个配置项均没有了,是不是这个改动跟现有的luci不适配?如是的话,哪位大佬能改下Luci?
image

重复 issue

  • 没有类似的 issue

具体型号

x86

详细日志

无,见详细叙述。

@zuni11
Copy link

zuni11 commented Oct 1, 2024

同样的问题,NAT设置失效了,都不通啦

@XuHuapeng001
Copy link

一样的问题,我还以为是我编译有什么问题导致的,把编译环境重新安装了一遍,还是一样的结果。
其他第三方固件群里也有同样的反馈。

@oldmmry
Copy link

oldmmry commented Oct 3, 2024

并且加了zerotier编译出来的版本会导致启动项web界面无法打开。

@jwkinko
Copy link

jwkinko commented Oct 3, 2024

@GreatMichaelLee
Copy link
Author

看这个https://github.com/mwarning/zerotier-openwrt/wiki/Configure-ZeroTier-on-OpenWrt

你说的这个article和这个issue有什么关系呢?没看明白,这个article讲的无非是zerotier在Openwrt的全量配置项。我提的是Luci在新的commit之后显示不全的问题。是新加了什么配置项吗

@jwkinko
Copy link

jwkinko commented Oct 4, 2024

看这个https://github.com/mwarning/zerotier-openwrt/wiki/Configure-ZeroTier-on-OpenWrt

你说的这个article和这个issue有什么关系呢?没看明白,这个article讲的无非是zerotier在Openwrt的全量配置项。我提的是Luci在新的commit之后显示不全的问题。是新加了什么配置项吗

之前配置文件,启用和加入网络是在sample_config 下。现在配置文件,启用在global下,并且加入network 默认是earth。而lean的zerotier luci 界面就是直接修改的sample_config。

1.14.1
root@OpenWrt:~# uci show zerotier
zerotier.global=zerotier
zerotier.global.enabled='0'
zerotier.earth=network
zerotier.earth.id='8056c2e21c000001'
zerotier.earth.allow_managed='1'
zerotier.earth.allow_global='0'
zerotier.earth.allow_default='0'
zerotier.earth.allow_dns='0'

1.14.1之前的
root@OpenWrt:~# uci show zerotier
zerotier.sample_config=zerotier
zerotier.sample_config.enabled='0'
zerotier.sample_config.join='8056c2e21c000001'

@GreatMichaelLee
Copy link
Author

看这个https://github.com/mwarning/zerotier-openwrt/wiki/Configure-ZeroTier-on-OpenWrt

你说的这个article和这个issue有什么关系呢?没看明白,这个article讲的无非是zerotier在Openwrt的全量配置项。我提的是Luci在新的commit之后显示不全的问题。是新加了什么配置项吗

之前配置文件,启用和加入网络是在sample_config 下。现在配置文件,启用在global下,并且加入network 默认是earth。而lean的zerotier luci 界面就是直接修改的sample_config。

1.14.1 root@OpenWrt:~# uci show zerotier zerotier.global=zerotier zerotier.global.enabled='0' zerotier.earth=network zerotier.earth.id='8056c2e21c000001' zerotier.earth.allow_managed='1' zerotier.earth.allow_global='0' zerotier.earth.allow_default='0' zerotier.earth.allow_dns='0'

1.14.1之前的 root@OpenWrt:~# uci show zerotier zerotier.sample_config=zerotier zerotier.sample_config.enabled='0' zerotier.sample_config.join='8056c2e21c000001'

我比较了一下,确实是你说的这个问题,感谢指教,我现在两边两个异地路由器跑的两个版本,路由器本身互通可以,但路由器后LAN的NAT挂了,不通。
麻烦大佬修一下啊。

@zuni11
Copy link

zuni11 commented Oct 4, 2024

临时解决方案,防火墙的地方把转发打开。

@zuni11
Copy link

zuni11 commented Oct 7, 2024

L大回滚了,但是重新编译保留配置的话并不会恢复luci,因为配置文件不对了,可以修改/etc/config/zerotier文件,改成下面的内容,然后重启就全恢复了。
config zerotier 'sample_config'
option enabled '1'
list join 'xxxxxxxxxxxxxxxxxxx' 这里写你自己的id
option nat '1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants