Skip to content

tun: winroute#5887

Open
LjhAUMEM wants to merge 2 commits intoXTLS:mainfrom
LjhAUMEM:tun-winroute
Open

tun: winroute#5887
LjhAUMEM wants to merge 2 commits intoXTLS:mainfrom
LjhAUMEM:tun-winroute

Conversation

@LjhAUMEM
Copy link
Copy Markdown
Collaborator

@LjhAUMEM LjhAUMEM commented Apr 3, 2026

关于 default interface,看了下 outbound 感觉哪里都不合适,决定先不碰话说为什么 app/proxyman 出站的 uot 也有 sing 包的身影

{
  "log": { "loglevel": "debug" },
  "inbounds": [
    {
      "protocol": "tun",
      "settings": {
        "winRoute": [
          "0.0.0.0/0",
          "::/0"
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "streamSettings": {
        "sockopt": {
          "interface": "以太网 2"
        }
      }
    }
  ]
}

@LjhAUMEM
Copy link
Copy Markdown
Collaborator Author

LjhAUMEM commented Apr 3, 2026

另外是不是可以给 sockopt.interface 增加 interface index 的支持

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.

1 participant