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

luci-app-ssr-plus: fix WireGuard protocol failure to connect problem. #1445

Merged
merged 5 commits into from
Apr 7, 2024

Conversation

zxlhhyccc
Copy link
Contributor

@zxlhhyccc zxlhhyccc commented Apr 5, 2024

*** Add WireGuard kernelMode keepAlive allowedIPs reserved argument

*** whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.

*** Current Wireguard protocol outbound Is not supported streamSettings.

*** fix WireGuard protocol failure to connect problem.

image

…` allowedips` argument

whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.
…ps` argument

***  whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.
*** Current Wireguard protocol `outbound` Is not supported `streamSettings`.
…s` argument

***  whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.
*** Current Wireguard protocol `outbound` Is not supported `streamSettings`.
@zxlhhyccc
Copy link
Contributor Author

zxlhhyccc commented Apr 5, 2024

效果图:
image

更新后的配置如下,与xray的官方要求保持一致:

{
  "outbound": {
    "settings": {
      "kernelMode": false,
      "address": [
        "172.16.0.2/32",
        "2606:4700:110:802c:7e2b:15a:b1b4:1ed9/128"
      ],
      "secretKey": "999999",
      "mtu": 1280,
      "reserved": [],
      "peers": [
        {
          "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
          "keepAlive": 0,
          "endpoint": "IP:PORT",
          "allowedIPs": [
            "0.0.0.0/0"
          ]
        }
      ]
    },
    "protocol": "wireguard"
  },
  "log": {
    "loglevel": "warning"
  },
  "inbound": {
    "sniffing": {
      "enabled": true,
      "domainsExcluded": [
        "courier.push.apple.com",
        "rbsxbxp-mim.vivox.com",
        "rbsxbxp.www.vivox.com",
        "rbsxbxp-ws.vivox.com",
        "rbspsxp.www.vivox.com",
        "rbspsxp-mim.vivox.com",
        "rbspsxp-ws.vivox.com",
        "rbswxp.www.vivox.com",
        "rbswxp-mim.vivox.com",
        "disp-rbspsp-5-1.vivox.com",
        "disp-rbsxbp-5-1.vivox.com",
        "proxy.rbsxbp.vivox.com",
        "proxy.rbspsp.vivox.com",
        "proxy.rbswp.vivox.com",
        "rbswp.vivox.com",
        "rbsxbp.vivox.com",
        "rbspsp.vivox.com",
        "rbspsp.www.vivox.com",
        "rbswp.www.vivox.com",
        "rbsxbp.www.vivox.com",
        "rbsxbxp.vivox.com",
        "rbspsxp.vivox.com",
        "rbswxp.vivox.com",
        "Mijia Cloud",
        "dlg.io.mi.com"
      ],
      "destOverride": [
        "http",
        "tls",
        "quic"
      ]
    },
    "port": 1234,
    "protocol": "dokodemo-door",
    "settings": {
      "network": "tcp,udp",
      "followRedirect": true
    }
  }
}

…`allowedips` argument

*** whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.

*** Current Wireguard protocol outbound Is not supported streamSettings.
…`allowedips` argument

*** whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission.
Some routes cannot be connected if they are used.

*** Current Wireguard protocol outbound Is not supported streamSettings.
@zxlhhyccc zxlhhyccc changed the title luci-app-ssr-plus: Add WireGuard kernelMode reserved keepalive luci-app-ssr-plus: luci-app-ssr-plus: fix WireGuard protocol failure to connect problem. Apr 6, 2024
@zxlhhyccc zxlhhyccc changed the title luci-app-ssr-plus: luci-app-ssr-plus: fix WireGuard protocol failure to connect problem. luci-app-ssr-plus: fix WireGuard protocol failure to connect problem. Apr 6, 2024
@coolsnowwolf coolsnowwolf merged commit 95539ec into fw876:master Apr 7, 2024
7 checks passed
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.

None yet

2 participants