Wireguard VPN inside LXC will not connect outside of network

Keeble

New Member
Nov 17, 2025
5
3
3
Hello! I've been using a Wireguard AirVPN config inside my qBittorrent Debian LXC for a pretty long while and it's been working great! But until recently it's suddenly stopped making connections at all. Pinging 1.1.1.1 or www.google.com will come up with absolutely nothing and I'm unsure why. Turning off the VPN pinging websites works fine. The config works perfectly fine on my CachyOS main computer as well.

Doing "wg-quick up wg0" spits out:
Code:
root@qbittorrent:~# wg-quick up wg0
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.137.10.94/32 dev wg0
[#] ip -6 address add fd7d:76ee:e68f:a993:f9ce:5f42:5f57:3c0f/128 dev wg0
[#] ip link set mtu 1320 up dev wg0
[#] resolvconf -a tun.wg0 -m 0 -x
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
[#] wg set wg0 fwmark 51820
[#] ip -6 route add ::/0 dev wg0 table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] nft -f /dev/fd/63
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] nft -f /dev/fd/63
root@qbittorrent:~#
after it hangs a bit on the "wg setconf wg0 /dev/fd/63" in the second line

Linking /etc/resolv.conf and /run/resolvconf/resolv.conf with "ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf" does nothing either, it does get rid of the warning but thats about it.

I'm at a total loss on what to even attempt to try, and why it suddenly stopped working. The LXC DNS setting is set to use my host which just uses 1.1.1.1 and 1.0.0.1. If anyone has any sort of idea on what I could possibly try I'd definitely appreciate it. I've asked AirVPN's support staff but they've gone quiet on me so I'm taking to the forums to see if you guys know anything. Lmk what logs or info you need from me and I'll def provide when I can! Thank you!