Browse Source

luci-app-ssr-plus: Add WireGuard `kernelMode` `reserved` `keepalive` `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 1 year ago
parent
commit
f60f1978a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua

+ 1 - 1
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,
 			}
 		},