Append your wireguard peer by run this command in your ldap account.
- Install golang 1.19
- Clone this repo and cd into WireguardAPI
git clone https://github.com/TaiwanSecurityClub/WireguardAPI
cd WireguardAPI
- Run make
make clean && make
- CD into repo dir
cd WireguardAPI
- Run make
make install
- CD into repo dir
cd WireguardAPI
- Run make
make uninstall
- Set
/usr/local/share/wgapi/.env
config
vi /usr/local/share/wgapi/.env
- Run wgapi
wgapi