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

sing-box 0.11 适配问题 #4

Open
NoverNobida opened this issue Feb 13, 2025 · 1 comment
Open

sing-box 0.11 适配问题 #4

NoverNobida opened this issue Feb 13, 2025 · 1 comment

Comments

@NoverNobida
Copy link

0.11版本去掉了

{
  "route": 
  {
    "rules": 
   ······
  },
  "outbounds": 
  [
    {
      "type": "block",
      "tag": "adblock" 
    }
  ]
}

中的 "type": "block"
转而改用 “Rule Action”
所以现在配置文件要怎么写?以前的时候还能选择“是否对相应目标广告网址进行block”,然而这个版本去掉了 "type": "block", 就没得选了。

@REIJI007
Copy link
Owner

block特殊出站在1.11.0版弃用了,改为reject规则动作替代。按照迁移指南的模板写就行。
https://sing-box.sagernet.org/zh/migration/#__tabbed_17_1

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

No branches or pull requests

2 participants