From d4685db5d3efcf7f96fb65eb0ae79b0354104fea Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 16 Nov 2019 12:11:37 +0900 Subject: [PATCH] Update wireguard.sh --- wireguard.sh | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/wireguard.sh b/wireguard.sh index 6c9bb6b..ad44959 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -7,6 +7,7 @@ # Reference URL: # https://www.wireguard.com # https://git.zx2c4.com/WireGuard +# https://teddysun.com/554.html trap _exit INT QUIT TERM @@ -366,28 +367,28 @@ create_client_if() { if [ -n "${SERVER_PUB_IPV6}" ]; then cat > /etc/wireguard/${SERVER_WG_NIC}_client < /etc/wireguard/${SERVER_WG_NIC}_client < ${new_client_if} <> ${default_server_if} < ${new_client_if} <> ${default_server_if} <