Skip to content
/ wguser Public

script to create, delete, and list wg users for a server role

License

Notifications You must be signed in to change notification settings

divfor/wguser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56769fa · Aug 22, 2022

History

8 Commits
Aug 22, 2022
Aug 22, 2022
Aug 22, 2022
Aug 22, 2022
Aug 22, 2022
Aug 22, 2022

Repository files navigation

wguser

script to create, delete, and list wg users for a server role.

init

  1. put all scripts on /usr/local/bin/ and make them executable;
  2. edit /usr/local/bin/wguser's top lines to meet your enviorment;
  3. first executing 'wguser add username' will be initilizing a directory of /etc/wireguard.

usage

  1. wguser add username
  2. wguser del username
  3. wguser list
  4. wguser list | grep peer_ip
  5. wguser list | grep username

enjoy.

About

script to create, delete, and list wg users for a server role

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published