aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/js
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 11:28:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 11:31:12 +0300
commit547c05cafdb6f29766aec0381930373c61197459 (patch)
treef1e120a9c24fcef99e0478d3c8990bc3aa6e35c9 /assets/js
parentexpand about the manual method (diff)
downloadwireguard-config-547c05cafdb6f29766aec0381930373c61197459.tar.gz
wireguard-config-547c05cafdb6f29766aec0381930373c61197459.zip
fix wg-quick instructions
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/main.js5
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...