From 2e7bf3538176af05ebb8fe61ab5e7bb43e615684 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Thu, 26 Sep 2024 20:24:19 +0200 Subject: [PATCH] update --- wg-easy/readme.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/wg-easy/readme.md b/wg-easy/readme.md index c918079..0d97b86 100644 --- a/wg-easy/readme.md +++ b/wg-easy/readme.md @@ -68,14 +68,22 @@ TZ=Europe/Bratislava #WG-EASY WG_HOST=vpn.example.com # can also be just public IP -PASSWORD=supersecretpassword +# PASSWORD=supersecretpassword +PASSWORD_HASH=$$2a$$12$$52a84HoSf99aLL7lmt9NsO0hlhZmGuJnyBK.bToiSdbQhTvMjV3ce WG_PORT=51820 WG_DEFAULT_ADDRESS=10.221.221.x WG_ALLOWED_IPS=192.168.1.0/24 WG_DEFAULT_DNS= ``` -DNS is set to null, otherwise issues. +In version 14 `PASSWORD` as env variable is no longer allowed +and `PASSWORD_HASH` must be used.
+It is [a bcrypt hash](https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md) +of the password and in compose it must be without quotation marks +and any `$` symbol needs to be doubled - replaced with `$$`. + +DNS is set to null as I had issues with it set, but it should be tried, +set it to ip address where at port 53 dns server answers. Test then with nslookup. # Reverse proxy