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!
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.
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 moduletun
loaded? Any ideas very welcome!