Wireguard LXC: no internet until ping google.com?

HerzogVonWiesel

New Member
Nov 22, 2023
9
0
1
Hey everyone! I'm having quite the wild issue. I've created an LXC for Wireguard, for which I have also added the needed lines in the config of the LXC in itself as well as on the host, as per the OpenVPN installation guide.

However, it seems I can't connect to it; what's more, in contrast to my other LXCs, when I try to do a simple "ping google.com" in its console, it doesn't work, it times out with an error. If I try it again, it pings google, and on top of that I can connect to Wireguard from my phone! Until a few hours later, when it doesn't have internet anymore, and I need to ping anything again for it to get a connection.

What's happening here? Does anyone have an idea of how to fix this?

Thank you so much in advance!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!