this post was submitted on 30 Dec 2023
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/Teggers_Today on 2023-12-30 15:24:04+00:00.


I can connect to a Portainer agent no issue by adding the agents ip (172.18.0.2) to the ALLOWEDIPS environment details in the compose file -but an edge agent (running on the server) needs access to the portainer server running on the WireGuard client. so i add my local pc ip (192.168.0.41) to the ALLOWEDIPS.

Cant/wont connect.

ALLOWEDIPS=10.13.13.1/32, 10.13.13.2/32, 192.168.0.41/32, 172.18.0.2

Do i need to use UFW on the client to route the client port 8000 though the tunnel or something?

Doc says 'must ensure that what you're providing is the address that the Edge Agent machine will be seeing the Portainer Server on'

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