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} <