Append your wireguard peer by api.
- 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