From 3a0d891a58edaca221560009552c13afe57dd28e Mon Sep 17 00:00:00 2001 From: ducseb Date: Thu, 18 Oct 2018 11:51:24 +0200 Subject: [PATCH] Fix unpriviligied user to use tun device under docker I've added a chmod to tun device to allow unprivileged docker containers to use tun device and send traffic through the vpn. Related to this issue: https://github.com/haugene/docker-transmission-openvpn/issues/41 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2892a9ff4..cbaba8673 100644 --- a/README.md +++ b/README.md @@ -367,6 +367,7 @@ if ( [ ! -c /dev/net/tun ] ); then mkdir -m 755 /dev/net fi mknod /dev/net/tun c 10 200 + chmod 0755 /dev/net/tun fi # Load the tun module if not already loaded