Last updated
Was this helpful?
Last updated
Was this helpful?
This is an administrator's guide to provide access to via users' devices (called peers). Access must be provided to each unique device (like a desktop, laptop, mobile phone etc). Multiple connections to Wireguard bastion with the same conf file are not possible.
The Wireguard conf file MUST NOT be shared with any other users for security reasons.
Login to the Wireguard node via SSH.
Navigate to Wireguard conf folder
You will see several pre-created peer config files. You may assign any one of the file (not assigned before) to a new peer/user.
Editassigned.txt
file to assign a new the peer (client/user). Make sure a conf file is assigned to a unique user, already assigned file is never re-assigned to another user.
Add the peers with name as mentioned below. Example:
Share the conf file with the peer/user securely. Example: peer1/peer1.conf
Create a local Git repo to maintain versions of assigned.txt.
Use git init
command to initiate a local repo. Check in any changes to this file.
Guide