diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-03 11:28:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-03 11:31:12 +0300 |
commit | 547c05cafdb6f29766aec0381930373c61197459 (patch) | |
tree | f1e120a9c24fcef99e0478d3c8990bc3aa6e35c9 /assets | |
parent | expand about the manual method (diff) | |
download | wireguard-config-547c05cafdb6f29766aec0381930373c61197459.tar.gz wireguard-config-547c05cafdb6f29766aec0381930373c61197459.zip |
fix wg-quick instructions
Diffstat (limited to '')
-rw-r--r-- | assets/js/main.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/assets/js/main.js b/assets/js/main.js index 56cde4d..d332a15 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -226,6 +226,7 @@ function wg_quick_client_file(data) { [Interface] PrivateKey = ${data.client_private.value} +Address = ${data.client_ipv4.value.for_client()}, ${data.client_ipv6.value.for_client()} [Peer] Endpoint = ${data.server_endpoint.value} @@ -241,9 +242,7 @@ function wg_quick_server_file(data) { return new ConfigFile(path, `# On the server, add this to # ${path} -# and either -# * restart the wg-quick@${iface} systemd service, -# * or run \`wg syncconf ${iface} ${path}\`. +# and restart the wg-quick@${iface} systemd service. # Previous contents goes here... |