Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 581 Bytes

File metadata and controls

46 lines (40 loc) · 581 Bytes

WireguardAPI

Append your wireguard peer by api.

Build

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

Install

  1. CD into repo dir
cd WireguardAPI
  1. Run make
make install

Uninstall

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

Run

  1. Set /usr/local/share/wgapi/.env config
vi /usr/local/share/wgapi/.env
  1. Run wgapi
wgapi