Skip to content

NCKUCTF/WireguardLDAPManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WireguardLDAPManager

Append your wireguard peer by run this command in your ldap account.

Build

  1. Install golang 1.19
  2. Clone this repo and cd into WireguardLDAPManager
git clone https://github.com/NCKUCTF/WireguardLDAPManager
cd WireguardLDAPManager
  1. Run make
make clean && make

Install

  1. Install LDAPUserTools or LDAPCLI and set your bind config in /etc/ldap/bind.yaml
vi /etc/ldap/bind.yaml
url: ldap://127.0.0.1
binddn: cn=admin,dc=example,dc=com
bindpasswd: test1234
  1. CD into repo dir
cd WireguardLDAPManager
  1. Run make
make install

Uninstall

  1. CD into repo dir
cd WireguardLDAPManager
  1. Run make
make uninstall

Run

Use wgldapmanager help to see command usage.

Usage: wgldapmanager COMMAND

Options:
  -h    Print help message

A list of commands is shown below. To get detailed usage and help for a
command, run:
  wgldapmanager help COMMAND

Here is the list of commands available with a short syntax reminder. Use the
'help' command above to get full usage details.

  help
  reconfig
  showconfig <key name>
  genkey <key name>
  delkey <key name>
  clearkey

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published