Page 1 of 1
Wireguard
Posted: 30 Dec 2025, 19:58
by Makis60
After I installed wireguard following the instructions at
https://tmnascommunity.eu/download/wireguard/,
I cannot login.
Any suggestions?
Thanks
Re: Wireguard
Posted: 31 Dec 2025, 04:45
by outkastm
Follow carefully the Step 6 on that tutorial to generate and use the hash for your password.
Re: Wireguard
Posted: 31 Dec 2025, 06:12
by Makis60
I have removed the project and done it all over again.
I have replaced the YML file another 5.
Why do I get different PASSWORD_HASH for the same password? See the following:
**********@TNAS:/# docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw 'myterra'
PASSWORD_HASH='$2a$12$12ZODIyXtIHHteUtKDDOT.kIZq9XDB3evAXCG2JVk7/WULZ4eruVu'
***********@TNAS:/# docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw 'myterra'
PASSWORD_HASH='$2a$12$9ngHhIK4XatR.VsP0MNDFuCZC3pfCLnSbG1L/9tBYwKLheBK3oIsi'
***********@TNAS:/# docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw 'myterra'
PASSWORD_HASH='$2a$12$pstJfrkD0CVYg6ad.69qJ.SUyONabmA/mai35S0uMrqz95VY5LbUG'
***********@TNAS:/#
Re: Wireguard
Posted: 31 Dec 2025, 16:59
by outkastm
Modern systems use salting, adding a unique, random string (the "salt") to each password before hashing, so even identical passwords produce unique hash values, preventing attackers from using precomputed tables (rainbow tables) to crack them. The process involves hash(password + salt), ensuring security by making each hash unique and computation-intensive, even for common passwords.
Re: Wireguard
Posted: 31 Dec 2025, 17:01
by outkastm
Send a screenshot of your yaml file with when you create the project, where we can see the hash value for myterra temporary password
Re: Wireguard
Posted: 31 Dec 2025, 20:38
by Makis60
This is wireguard.yml. I have masked DDNS for obvious reasons.

Re: Wireguard
Posted: 31 Dec 2025, 21:39
by Makis60
Solved !!!!!
After removing all comments in yml, rebuld the project, works now.
Or at least now I can login.
Thanks