Coder Social home page Coder Social logo

Comments (6)

mwarning avatar mwarning commented on June 11, 2024

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

from zerotier-openwrt.

mwarning avatar mwarning commented on June 11, 2024

Let's see openwrt/packages#19409

from zerotier-openwrt.

olfway avatar olfway commented on June 11, 2024

thanks!

from zerotier-openwrt.

daliangdaliang avatar daliangdaliang commented on June 11, 2024

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?

from zerotier-openwrt.

mwarning avatar mwarning commented on June 11, 2024

What original iptables configuration do you refer to?

from zerotier-openwrt.

daliangdaliang avatar daliangdaliang commented on June 11, 2024

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.

from zerotier-openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.