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