vx3r / wg-gen-web

Simple Web based configuration generator for WireGuard
https://wg-gen-web-demo.127-0-0-1.fr
Do What The F*ck You Want To Public License
1.6k stars 192 forks source link

status intigration api will not connect #89

Open NOXCIS opened 3 years ago

NOXCIS commented 3 years ago

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

NOXCIS commented 3 years ago

Status api integration

UpworksTeam commented 3 years ago

@NOXCIS You should add addition entire in wg-gen-web: ........ environment: ......

horatiu-udrea commented 3 years ago

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

rahmadsandy commented 2 years ago

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

NOXCIS commented 2 years ago

The api integration hasn't worked since last year.

rahmadsandy commented 2 years ago

from my side totally fixed

missed pointing URL API from docker side

TheOriginalXman commented 2 years ago

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?

horatiu-udrea commented 2 years ago

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

TheOriginalXman commented 2 years ago

@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!