From 547c05cafdb6f29766aec0381930373c61197459 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 3 Oct 2021 11:28:50 +0300 Subject: fix wg-quick instructions --- assets/js/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'assets/js') 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... -- cgit v1.2.3