vx3r / wg-gen-web

Simple Web based configuration generator for WireGuard

Home Page:https://wg-gen-web-demo.127-0-0-1.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status intigration api will not connect

NOXCIS opened this issue · comments

I don't know what I may or may not be doing wrong but no matter what I try I cannot get wg-api to connect to wg-gen-web. The Api logs show 2021/08/06 19:10:47 info: server: listening on http://172.17.0.1:8182
and wg-gen-web is configured correctly with auto restart

Status api integration

@NOXCIS You should add addition entire in
wg-gen-web:
........
environment:
......
- WG_STATS_API=http://172.17.0.1:8182

For me it was the firewall on the host, had to allow the port through it.

same issue, but only table wireguard client status can't showing anything
image

The api integration hasn't worked since last year.

from my side totally fixed

missed pointing URL API from docker side

For me it was the firewall on the host, had to allow the port through it.

What is the command you used to open up the port inside the host?

@TheOriginalXman probably sudo ufw allow <port>, because I have an Ubuntu OS and use ufw for managing the firewall.

@TheOriginalXman probably sudo ufw allow <port>, because I have an Ubuntu OS and use ufw for managing the firewall.

I see, I thought it would have been in the gen-web environment, and wasn't able to figure out the commands for that.

Thanks!