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

Local hosting: No internet

xiki808 opened this issue · comments

I'm very new to the concept of VPN and related concepts, I'm pretty sure I'm doing something dump and would like to have some assistance.

I have a local server, and I want to setup the VPN service on it. My goal is to access this VPN service from anywhere with my mobile devices with the least security vulnerabilities possible and to access my local web services from these devices too.

The server is a Proxmox setup with Protrainer setup in the same distribution.

In Proxmox I installed WireGuard, as described in this guide here - up to the LXC setup. This setup I am assuming I can replace with the docker image offered on this repo.

I'm running the image with this command: docker run -d -it --restart=always -v /etc/wireguard:/data -p 8080:8080 -e "WG_CONF_DIR=/data" vx3r/wg-gen-web:latest

The container is loaded and I can access the WebUI, but when I add a device, the device does not have any internet. I played with most of the settings, but mostly what I'm not sure about is the Client's Endpoint and DNS Values. I'm assuming 0.0.0.0/0, ::/0 for Allowed IPs is a safe bet to allow all traffic.

Do I need to open any ports on the router to make this work?

PS: I have setup a DDNS for a GoDaddy domain, which when I open port 443 and 80 I can access my local server using that domain.

What is the problem with this setup? Any assistance would be greatly appreciated. Thank you!

commented

Hello,

Please check the readme about applying changes to Wireguard daemon, which needs to be installed on host system.
Yes you need to redirect Wireguard port from router to the host machine whish is listening for incoming connections.

The project is a config generator, your wireguard install must work properly before you can use Wg Gen Web.