Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local hosting: No internet #60

Open
xiki808 opened this issue Oct 14, 2020 · 1 comment
Open

Local hosting: No internet #60

xiki808 opened this issue Oct 14, 2020 · 1 comment

Comments

@xiki808
Copy link
Contributor

xiki808 commented Oct 14, 2020

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!

@vx3r
Copy link
Owner

vx3r commented Nov 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants