DyonR / docker-Jackettvpn

Docker container which runs a headless Jackett Server with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/jackettvpn/
GNU General Public License v3.0
68 stars 32 forks source link

Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) #74

Open mcdent opened 1 year ago

mcdent commented 1 year ago

I am running Ubuntu 22.04 and trying to get this working on a kubernetes node/pod. I am seeing the error:- Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) when I try to start the service. I can verify that /dev/net/tun does exist. However I do not see a kernel module tun loaded? Any ideas very welcome!

hansdekker commented 1 year ago

Had the same issue on Synology DSM 7.2, did some googling. turns out it’s a permissions issue. I added the following to my yaml, which resolved the issue.

cap_add: