From ee99d5b3c31671694ee8a777870b6270cced1935 Mon Sep 17 00:00:00 2001 From: randomshell Date: Sun, 23 Aug 2020 10:05:49 +0000 Subject: [PATCH] Clarify the client IP assignment --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d6449d..3db6482 100644 --- a/README.md +++ b/README.md @@ -72,13 +72,12 @@ Other variables can be set depending on your choice (`SERVER_NIC`). You can sear It's also possible to automate the addition of a new user. Here, the key is to provide the (string) value of the `MENU_OPTION` variable along with the remaining mandatory variables before invoking the script. -The following Bash script adds a new user `foo` to an existing WireGuard configuration +The following Bash script adds a new user `foo` to an existing WireGuard configuration. The wireguard-install script will automatically assign a free IP to the client. You can assign a specific one by setting its Host ID to the variable `CLIENT_DOT`. ```bash #!/bin/bash export MENU_OPTION="1" export CLIENT_NAME="foo" -export CLIENT_DOT="3" ./wireguard-install.sh ```