First thank you for this amazing repo :smiley:
I wanted to add my contribution to make the argument --device. In my understanding, this argument creates a device volume between the host and the container. It can be difficult to support that in some environments (like in Kubernetes).
Hi @MurattuW, thank you for you contribution! LGTM! This is indeed a better way of supporting the tun device 👍 . I will merge it, then it will be available on the latest tag.
Hello,
First thank you for this amazing repo :smiley: I wanted to add my contribution to make the argument
--device
. In my understanding, this argument creates a device volume between the host and the container. It can be difficult to support that in some environments (like in Kubernetes).It's just easier to create the device with mknod directly in the container. The capability NET_ADMIN is still necessary ! More information here: https://www.kernel.org/doc/Documentation/networking/tuntap.txt
I have pushed this on DockerHub (Tag: murattuw/nordvpn-proxy:optional_tun_device)
The following works:
Best regards,