From f60f1978a0b5feaf801b84e7a0ed4b86cba400f9 Mon Sep 17 00:00:00 2001 From: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Sat, 6 Apr 2024 09:48:42 +0800 Subject: [PATCH] luci-app-ssr-plus: Add WireGuard `kernelMode` `reserved` `keepalive` `allowedips` argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *** 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. --- luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua index c98d623a809..b07949e5f19 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua @@ -73,7 +73,7 @@ function wireguard() publicKey = server.peer_pubkey, preSharedKey = server.preshared_key, endpoint = server.server .. ":" .. server.server_port, - keepAlive = tonumber(server.keepalive), + keepAlive = tonumber(server.heartbeat), allowedIPs = (server.allowedips) or nil, } },