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

Use uci to manage firewall #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevenjoezhang
Copy link

OpenWrt is switching to fw4 since version 22.03. Using commands like iptables and ip6tables will generate warning messages in the system.
截屏2024-03-25 12 02 38
Maintaining firewall settings with "uci set firewall" can be compatible with both new and old versions of OpenWrt.

drosanda
drosanda approved these changes Apr 23, 2024
@GoogleBeEvil
Copy link

改成uci 是不是意味着兼容了firefwall4了

@stevenjoezhang
Copy link
Author

@GoogleBeEvil 是的,这样改新版和旧版都可以兼容

@GoogleBeEvil
Copy link

GoogleBeEvil commented Sep 20, 2024

@stevenjoezhang
rufengsuixing#145
起初 我编译的另外一个改写成nftable防火墙规则的分支,结果无效(仍然需要手动添加nft防火墙规则)
又发现改写成uci设置的分支,编译完,其中adg设置里设置成“转发53端口到adg”这个选项并没有生效,(印象里是webui里显示过滤成功,但是客户端该有的广告还是有,另外作为dnsmaq上级就失效了)。能发一个编译好的ipk以供测试么

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

Successfully merging this pull request may close these issues.

3 participants