[Bug] 给路由更新系统后,启动运行报错,旁路由下无法转发
Verify steps
- [x] 我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
- [x] 我已经使用公测版本测试过,问题依旧存在 I have tested using the test mod, and the issue still exists.
- [x] 我已经仔细看过 常见问题 并无法自行解决问题
Description
运行启动时报错
路由版本如下: 架构 | ARMv8 Processor x 4 固件版本 | ROOter ( OpenWrt 19.07-SNAPSHOT ) / LuCI Master (git-21.280.14233-9b796b1) 内核版本 | 5.4.164
欢迎使用ShellCrash! 版本:1.9.2beta3 Mihomo服务正在运行(混合模式),已设置开机启动! 当前内存占用:30.02 MB,已运行:923天16小时26分12秒 TG频道:https://t.me/ShellClash
1 启动/重启服务 2 内核功能设置 3 停止内核服务 4 内核启动设置 5 配置自动任务 6 导入配置文件 7 内核进阶设置 8 其他工具 9 更新/卸载
0 退出脚本 请输入对应数字 > 1
服务已启动! 请使用 http://192.168.124.10:9999/ui 管理内置规则 root@OpenWrt:~# nft: unrecognized option: 1 Error: Could not process rule: No such file or directory add rule inet shellcrash input ip daddr 127.0.0.1 accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash input tcp dport 9999 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 9999 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 9999 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 9999 reject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash input tcp dport 7890 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 7890 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 7890 ip saddr {192.168.124.10/24, 192.168.124.10/24} accept ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash input tcp dport 7890 reject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ nft: unrecognized option: 1 Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns udp dport != 53 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns tcp dport != 53 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns meta mark 7894 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting_dns meta skgid { 453, 7890 } return ^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns meta skgid { 453, 7890 } return ^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns meta skgid { 453, 7890 } return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting_dns ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting_dns ip6 saddr != {fe80::/10, fd00::/8, fe80::/10, fd00::/8} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns ip6 saddr != {fe80::/10, fd00::/8, fe80::/10, fd00::/8} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns ip6 saddr != {fe80::/10, fd00::/8, fe80::/10, fd00::/8} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns udp dport 53 redirect to 1053 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_dns tcp dport 53 redirect to 1053 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ nft: unrecognized option: 1 Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting tcp dport 53 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting udp dport 53 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting meta mark 7894 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting meta skgid 7890 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip daddr != {198.18.0.0/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip daddr != {198.18.0.0/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip daddr != {198.18.0.0/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip daddr != {198.18.0.0/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip daddr != {198.18.0.0/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip6 daddr != {fc00::/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip6 daddr != {fc00::/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip6 daddr != {fc00::/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip6 daddr != {fc00::/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip6 daddr != {fc00::/16} tcp dport != {22, 80, 143, 194, 443, 465, 587, 853, 993, 995, 5222, 8080, 8443} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip daddr {0.0.0.0/8, 10.0.0.0/8, 127.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 224.0.0.0/4, 240.0.0.0/4} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip daddr {0.0.0.0/8, 10.0.0.0/8, 127.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 224.0.0.0/4, 240.0.0.0/4} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip daddr {0.0.0.0/8, 10.0.0.0/8, 127.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 224.0.0.0/4, 240.0.0.0/4} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: Not supported add rule inet shellcrash prerouting ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting ip saddr != {192.168.124.10/24, 192.168.124.10/24} return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting meta nfproto ipv6 return ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting meta l4proto udp mark set 7892 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting meta l4proto tcp mark set 7893 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ nft: unrecognized option: 1 Error: Could not process rule: No such file or directory add rule inet shellcrash prerouting_mixtcp mark 7893 meta l4proto tcp redirect to 7892 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nftables不完整 你可以自己安装相关依赖,也可以尝试使用iptables模式
谢谢
juewuy @.***> 于2025年5月9日周五 15:55写道:
juewuy left a comment (juewuy/ShellCrash#951) https://github.com/juewuy/ShellCrash/issues/951#issuecomment-2865537489
nftables不完整 你可以自己安装相关依赖,也可以尝试使用iptables模式
— Reply to this email directly, view it on GitHub https://github.com/juewuy/ShellCrash/issues/951#issuecomment-2865537489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHARXAX5CXUWL6KDFX6YCKT25RNNXAVCNFSM6AAAAAB4LHTPXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNRVGUZTONBYHE . You are receiving this because you authored the thread.Message ID: @.***>