I’m trying to connect to ProtonVPN from a container but Wireguard can’t initiate a connection. No hanshake is done and wg show shows 0B received. The config file works fine from my personal computer with a Windows WG client.
Do I need to forward the port for WG, or something like that on the container itself?
The container is behind a default bridge interface on 10.1.1.0/24 and that’s behind a router with NAT at a 192.168.0.0/24 LAN
This is the output from uping the interface if it’s of any use
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.2.0.2/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a wg0 -m 0 -x
[#] ip -4 route add 192.168.1.0/24 dev wg0
... more routes