this post was submitted on 14 Jan 2024
1 points (100.0% liked)

WireGuard

3 readers
1 users here now

WireGuard - a fast, modern, secure VPN Tunnel.

founded 1 year ago
MODERATORS
 
This is an automated archive.

The original was posted on /r/wireguard by /u/FlashLightning67 on 2024-01-14 07:38:03+00:00.


I’m not very knowledgeable about all this so apologies if I get anything messed up.

I just set up a WireGuard connection between my phone and my Ubuntu server. On the server I am able to access a self hosted site on the port 2000, so I can access it at localhost:2000. I can also access this on the same network from local-ip:2000.

I want to use the WireGuard vpn to be able to connect to this site from anywhere using my phone. However after setting it up, I don’t seem to be able to do this. Using the servers WireGuard IP doesn’t work, nor does the local ip or localhost. In my attempts to get it to work I managed to get it working with 0.0.0.0/0 as the allowed IP so I can access any website using the vpn, but I can’t find a way to access this locally hosted site. How can I set this up to work the way I want?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here