zerotier-openwrt icon indicating copy to clipboard operation
zerotier-openwrt copied to clipboard

Backport 1.10.1 to OpenWRT 22.03

Open olfway opened this issue 2 years ago • 6 comments

Is it possible to backport latest zerotier? OpenWRT 22.03 only has 1.8.6 now

Thanks!

olfway avatar Sep 14 '22 22:09 olfway

Yes, that should be possible. I will take a look next week.

mwarning avatar Sep 18 '22 19:09 mwarning

Let's see https://github.com/openwrt/packages/pull/19409

mwarning avatar Sep 19 '22 13:09 mwarning

thanks!

olfway avatar Sep 26 '22 16:09 olfway

openwrt 22.03 以后采取了nft的防火墙设置,这导致原来的iptable配置可能失效了。请问这个该如何适应调整呢?

openwrt adopted the nft firewall Settings after 22.03. As a result, the original iptable configuration may be invalid. Could you please tell me how to adjust this?

daliangdaliang avatar Mar 07 '23 03:03 daliangdaliang

What original iptables configuration do you refer to?

mwarning avatar Mar 07 '23 09:03 mwarning

zerotier lan 192.168.196.0/24 via lan

openwrt-c 192.168.16.0/24 via 192.168.196.13

openwrt-b 192.168.0.0/24 via 192.168.196.12

Both network segments use independent main routes. openwrt is used as a bypass route. 2023-03-09_122949

iptables -I FORWARD -i zt7nnafjol -j ACCEPT
iptables -I FORWARD -o zt7nnafjol -j ACCEPT
iptables -t nat -I POSTROUTING -o zt7nnafjol -j MASQUERADE

The new version does not have the space to paste the above three lines of commands.

2023-03-09_122935

2023-03-09_122949

I can directly access 192.168.16.13 (openwrt-c) or 192.168.196.13 (openwrt-c), However, you cannot access the client at 192.168.16.1 or other LAN (192.168.16.0/24) that uses openwrt-c as the springboard.

daliangdaliang avatar Mar 09 '23 04:03 daliangdaliang