mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
change variable name for DNS
This commit is contained in:
parent
0fb2a42b49
commit
91c647fa28
|
@ -92,7 +92,7 @@ echo "
|
||||||
Address = $(echo "$wireguard_json" | jq -r '.peer_ip')
|
Address = $(echo "$wireguard_json" | jq -r '.peer_ip')
|
||||||
PrivateKey = $privKey
|
PrivateKey = $privKey
|
||||||
## If you want wg-quick to also set up your DNS, uncomment the line below.
|
## 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]
|
[Peer]
|
||||||
PublicKey = $(echo "$wireguard_json" | jq -r '.server_key')
|
PublicKey = $(echo "$wireguard_json" | jq -r '.server_key')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user