Wireguard-Manager-and-API
Wireguard-Manager-and-API copied to clipboard
Start error
Hi. I clone repo, setup config.json and when i start commands:
Do not forget to add your config.json file to /opt/wgManagerAPI/config.json
git clone this repository cd wireguard-manager-and-api to open the repo go get to get packages go build -o wgManagerAPI main.go to build an output a executable file sudo ./wgManagerAPI to run the application.
I got error:
WG MANAGER AND API STARTING UP Env file loading - 1/6 Logger starting up - 2/6 Starting database - 3/6 Starting of network - 4/6 Created wireguard instance on port 51821 Warning - Failed to add IP address file exists Warning - Failed to add IP address file exists Warning - Failed to add IP address file exists Warning - Failed to add IP address file exists Starting autochecker - 5/6 Starting API - 6/6 HTTPS about to listen on 8443.root@v340811515netstat -na | grep :8443 :~/Wireguard-Manager-and-API#
in config.json isset real ipv4 adress, but not set ipv6
in log Error - Startup of API serveropen : no such file or directory