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

安卓app:tun inbound使用route_exclude_address时报错,无法运行vpn #2030

Open
4 of 5 tasks
simplerick-simplefun opened this issue Aug 16, 2024 · 0 comments
Open
4 of 5 tasks

Comments

@simplerick-simplefun
Copy link

simplerick-simplefun commented Aug 16, 2024

操作系统

Android

系统版本

Android 13

安装类型

sing-box for Android 图形客户端程序

如果您使用图形客户端程序,请提供该程序版本。

1.10.0-alpha.29

版本

No response

描述

使用环境:
Android 13
SFA-1.10.0-alpha.29-arm64-v8a.apk

问题:
在tun inbound里,如果写入route_exclude_address/inet4_route_exclude_address/inet6_route_exclude_address,那么启动vpn时,会报错弹出窗口:initialize inbound/tun[in-tun]: configure tun interface: Bad address
报错截图:
Screenshot_2024-08-16-16-43-47-453_com tencent mm-edit

配置:

"inbounds": [
    {
      "type": "tun",
      "tag": "in-tun",
      "inet4_address": [
        "172.19.0.1/30"
      ],
      "inet6_address": [
        "fdfe:dcba:9876::1/126"
      ],
      "stack": "gvisor",
      "auto_route": true,
      "strict_route": true,
      "endpoint_independent_nat": true,
      "sniff": true,
      "sniff_timeout": "100ms",
      "inet4_route_exclude_address": [
        "127.0.0.0/16"
      ],
      "inet6_route_exclude_address": [
        "fc00::/7"
      ]
    }
]

"inbounds": [
    {
      ......
      "route_exclude_address": [
        "127.0.0.0/16",
        "fc00::/7"
      ]
    }
]

重现方式

在tun inbound里,如果写入route_exclude_address/inet4_route_exclude_address/inet6_route_exclude_address。

日志

No response

支持我们

完整性要求

  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
@simplerick-simplefun simplerick-simplefun changed the title 安卓app:tun inbound使用route_exclude_address报错 安卓app:tun inbound使用route_exclude_address报错,无法运行vpn Aug 22, 2024
@simplerick-simplefun simplerick-simplefun changed the title 安卓app:tun inbound使用route_exclude_address报错,无法运行vpn 安卓app:tun inbound使用route_exclude_address时报错,无法运行vpn Aug 22, 2024
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

1 participant