Skip to content

Commit

Permalink
luci-app-ssr-plus: Add WireGuard kernelMode reserved keepalive
Browse files Browse the repository at this point in the history
…`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.
  • Loading branch information
zxlhhyccc authored Apr 6, 2024
1 parent fdf7b30 commit f60f197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
},
Expand Down

0 comments on commit f60f197

Please sign in to comment.