Wireguard

IPv4/6, Port, VPN, proxy, SSH, remote access and more.
Post Reply
User avatar
Makis60
Posts: 8
Joined: 13 Nov 2025, 05:34
Canada

Wireguard

Post by Makis60 »

After I installed wireguard following the instructions at https://tmnascommunity.eu/download/wireguard/,
I cannot login.


Image


Any suggestions?

Thanks
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: Wireguard

Post by outkastm »

Follow carefully the Step 6 on that tutorial to generate and use the hash for your password.
User avatar
Makis60
Posts: 8
Joined: 13 Nov 2025, 05:34
Canada

Re: Wireguard

Post 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:/#
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: Wireguard

Post 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.
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: Wireguard

Post 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
User avatar
Makis60
Posts: 8
Joined: 13 Nov 2025, 05:34
Canada

Re: Wireguard

Post by Makis60 »

This is wireguard.yml. I have masked DDNS for obvious reasons.


Image
User avatar
Makis60
Posts: 8
Joined: 13 Nov 2025, 05:34
Canada

Re: Wireguard

Post by Makis60 »

Solved !!!!!
After removing all comments in yml, rebuld the project, works now.
Or at least now I can login.

Thanks
Post Reply

Return to “Network”