Skip to content

wireguard出站发送通过失效 #6559

Closed

Description

@Fenster821

完整性要求

  • 我读完了 issue 模板中的所有注释,确保填写符合要求。
  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我提供了完整的配置文件和日志,而不是出于自己的判断只给出截取的部分。
  • 我搜索了 issues, 没有发现已提出的类似问题。
  • 问题在 Release 最新的版本上可以成功复现

描述

在“发送通过”字段中输入不属于本地的 IP 地址(例如 1.1.1.1)。
26.03.27不能访问任何网站。
26.6.22及更高版本中仍然可以访问网站。

重现方式

{
  "protocol": "wireguard",
  "settings": {
    "mtu": 1280,
    "secretKey": "00000000000000000000000000000000000000000000000000",
    "address": [
      "172.16.0.2/32",
      "2606:4700:110:8f84:39c4:5979:b14:c26e/128"
    ],
    "domainStrategy": "ForceIPv4v6",
    "reserved": [
      156,
      110,
      127
    ],
    "peers": [
      {
        "publicKey": "0000000000000000000000000000000000000000000000000",
        "allowedIPs": [
          "0.0.0.0/0",
          "::/0"
        ],
        "endpoint": "engage.cloudflareclient.com:2408"
      }
    ],
    "noKernelTun": false
  },
  "tag": "warp",
  "sendThrough": "1.1.1.1"
}

客户端配置

服务端配置

客户端日志

服务端日志

2026/07/31 09:10:47 ERROR - XRAY: peer(q…m) - Failed to send handshake initiation: listen udp 1.1.1.1:0: bind: cannot assign requested address

26.6.22及更高版本中不存在此日志。

Activity

  1. Fangliding commented on Aug 1, 2026

    @Fangliding
    Member

    尝试一下 #6570

  2. Fenster821 commented on Aug 1, 2026

    @Fenster821
    Author

    尝试一下 #6570

    有用

    2026/08/01 12:27:57 ERROR - XRAY: Unable to update bind: listen udp 1.1.1.1:0: bind: cannot assign requested address
    2026/08/01 12:26:03 WARNING - XRAY: core: Xray 26.7.11 started
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions