Properly pass device to openvpn
This commit is contained in:
parent
eb0ef1eb6c
commit
ba194ad517
|
@ -29,7 +29,7 @@ in
|
|||
extraOptions = [
|
||||
"--network=bridge"
|
||||
"--cap-add=net_admin"
|
||||
"--devices=/dev/net/tun"
|
||||
"--device=/dev/net/tun"
|
||||
];
|
||||
|
||||
volumes = [ "${vpnConfigDir}:/data/vpn" ];
|
||||
|
|
Loading…
Reference in a new issue