Replies: 3 comments 4 replies
-
Pretty much the same set up as you, although no idea whether Wireguard is failing back to the userspace version (don't know how to check). But I am getting slightly faster speeds compared to baseline with OpenVPN. Is this due to kernel vs userspace? From what I've read I thought it was meant to be the other way around? |
Beta Was this translation helpful? Give feedback.
-
@bnhf @dhenry437 just followed your instructions and the gluetun container is still failing to create with the error i added this to the conf file
and this is the permissions check
any ideas? proxmox 8.2.2 with the LXC being a deb12 template. |
Beta Was this translation helpful? Give feedback.
-
Once this is up & running, any idea how to route traffic from other LXC through this container? So imagine.. we have:
Gluetun runs in a docker container on LXC-A, and on LXC-B there's a couple more containers running we want to tunnel through Gluetun on LXC-A. Is this possible? I have two options in mind:
What are your thoughts / recommendations on this? Any vulnerabilities this approach might introduce? Tips welcome, also if you've done this before what firewall rules did you apply to make this work? |
Beta Was this translation helpful? Give feedback.
-
Mostly good news here, which is that Gluetun can be setup in a Proxmox LXC container using either OpenVPN or Wireguard.
For those familiar with Proxmox, it's the typical steps of creating a container with the latest Debian template (recommended). Before you start the container follow the tweaks in this guide from Proxmox (just those from the attached image if you're using the Proxmox WebUI for everything else). Substitute your container ID for the "123" used in the example:
https://pve.proxmox.com/wiki/OpenVPN_in_LXC
Then you'll need to install Docker for sure, but if you're like me you'll want to add a few other favorites (Portainer, Cockpit, Cockpit-Navigator and Organizr in my case). You might want to turn this container into a template at this point for future similar projects, and continue on with a clone.
Your standard Gluetun Stack should work, with the addition of (assuming you don't normally use it):
Performance is excellent with OpenVPN as it uses the kernelspace implementation. Wireguard is good too, though for some reason it falls back to the userspace version of Wireguard. Which brings me to my question:
Anybody figured out how to get Wireguard to use its kernelspace capability with a Proxmox setup like this?
Pretty similar OpenVPN performance to what I see using Docker running on a bare metal install of Debian:
Beta Was this translation helpful? Give feedback.
All reactions