From 91c647fa28e58e58b246c25afcf838f757cc1c20 Mon Sep 17 00:00:00 2001 From: gunix Date: Sat, 19 Sep 2020 13:29:15 +0300 Subject: [PATCH] change variable name for DNS --- connect_to_wireguard_with_token.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect_to_wireguard_with_token.sh b/connect_to_wireguard_with_token.sh index 78f0905..53c25a4 100755 --- a/connect_to_wireguard_with_token.sh +++ b/connect_to_wireguard_with_token.sh @@ -92,7 +92,7 @@ echo " Address = $(echo "$wireguard_json" | jq -r '.peer_ip') PrivateKey = $privKey ## If you want wg-quick to also set up your DNS, uncomment the line below. -# DNS = $(echo "$json" | jq -r '.dns_servers[0]') +# DNS = $(echo "$wireguard_json" | jq -r '.dns_servers[0]') [Peer] PublicKey = $(echo "$wireguard_json" | jq -r '.server_key')