Replies: 3 comments 11 replies
-
Does this on your host fixes it? mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun |
Beta Was this translation helpful? Give feedback.
-
did you ever get this working? |
Beta Was this translation helpful? Give feedback.
-
If anyone comes across this in the future, please see the following wiki for solution: https://pve.proxmox.com/wiki/OpenVPN_in_LXC Boiled down, the two steps to solve are:
|
Beta Was this translation helpful? Give feedback.
-
Trying to get this up and running in a ProxMox LXC using Docker. I've tried Deb 11 both in privileged and unprivileged LXCs. I keep running into errors with the /dev/net/tun. Here is my docker-compose.yml:
And the error:
ERROR: for gluetun Cannot start service gluetun: error gathering device information while adding custom device "/dev/net/tun": no such file or directory
I've tried the suggestions in Github without a solution. The end result I'm looking for too is for separate LXC's also containing docker to be able to connect through this VPN service. I know that doesn't have anything to do with this error but maybe that will make a difference with my initial setup?
Beta Was this translation helpful? Give feedback.
All reactions