PIVPN works in a proxmox LXC container. wg-easy in a ubuntu VM docker does not. What am I missing?
So I've had PIVPN (wireguard) running in an LXC container for like a year, works great, but I chose an 'old' container that's difficult or impossible to upgrade to the latest Ubuntu LTS release.
I recently made a Ubuntu VM, installed docker, installed Dockge to manage docker, and I love it. I wanted to use Wireguard on this install instead since it'll be easier to manage and keep the system up to date. But I can't seem to get it to work at all. Once I spin up the container, add the client, change the port forward to this VM and start the actual mobile client, it'll confirm one handshake, then get literally no RX data after the initial 92B handshake.
I have a Unify network, basically no firewall rules or anything besides port forwarding (my LXC wireguard works as soon as I spin it up and change the port forward back to it). I'm really not sure where else to look. It's gotta be some sort of issue with the Ubuntu VM? I have ufw disabled, and proxmox firewall disabled...
wg-easy config:
[Interface]
PrivateKey = blah
Address = 10.246.32.3/24
DNS = (my pihole IP)
MTU = 1420
[Peer]
PublicKey = blah
PresharedKey = blah
AllowedIPs = 0.0.0.0/0, 10.0.1.0/24
PersistentKeepalive = 0
Endpoint = (my ddns, confirmed working):51820
LXC config:
[Interface]
PrivateKey = blah
Address = 10.246.32.2/24
DNS = pihole IP
[Peer]
PublicKey = blah
PresharedKey = blah
Endpoint = (ddns):51820
AllowedIPs = 0.0.0.0/0
Posted May 7, 2025, 11:53 PM UTC