-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] iptables/nftable 规则失效 #645
Comments
@boin 用局域网过滤过滤掉相关设备 |
收到。还有一个问题就是,过滤后这台电视上的魔法就消失了,对吗? |
@boin 当然 |
发现了一个有趣的现象,我添加电视的Mac到黑名单中,然后重启服务。发现在控制面板中只有电视的流量了…
上面这个未知设备 就是 下面的 192.168.1.128 |
我记得我的老路由——ubnt的er4——用的是1.8版本,自定义的这条iptables是生效的。升级到1.9就失效了。是因为1.9改了实现吗? 老路由是混合模式/Redir;新路由是pve虚拟机的openwrt用的是nft混合模式(1.9.0稳定版) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify steps
Description
我的openwrt 有一条规则是限制小孩看电视的
chain output_wan { # handle 14 ether saddr 04:xx:xx:xx:xx:xx meta hour "21:30"-"23:59:59" meta day { 0, 1, 2, 3, 4 } counter packets 0 bytes 0 jump drop_to_wan comment "!fw4: Block TV" # handle 665 jump accept_to_wan # handle 666 }
chain drop_to_wan { # handle 549 oifname "pppoe-wan" counter packets 0 bytes 0 drop comment "!fw4: drop wan IPv4/IPv6 traffic" # handle 678 }
在安装shellcrash之前没有问题,安装完以后,这条规则就不生效了
The text was updated successfully, but these errors were encountered: