Skip to content

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以供测试么

@stevenjoezhang
Copy link
Author

stevenjoezhang commented Apr 10, 2025

webui里显示过滤成功,但是客户端该有的广告还是有

这种情况说明端口转发已经成功了,否则webui里是看不到dns请求日志的。广告没去除可能是缓存等原因

@stevenjoezhang stevenjoezhang force-pushed the master branch 18 times, most recently from 307ecdf to b9a16ed Compare April 11, 2025 17:05
@GoogleBeEvil
Copy link

GoogleBeEvil commented Apr 25, 2025

webui里显示过滤成功,但是客户端该有的广告还是有

这种情况说明端口转发已经成功了,否则webui里是看不到dns请求日志的。广告没去除可能是缓存等原因
@stevenjoezhang
OPENWRT 24.10 全新安装测试了下 ,选择重定向53端口到adg后,无法过滤广告
3000端口的WEBUI日志里一次dns请求都没有...
下面是防火墙
2025-04-26_122658
是不是在你的fork里去讨论比较好😤

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