mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-18 06:22:05 +09:00
Add DevicePolicy and MemoryDenyWriteExecute
I've used those for a long time with my setups.
This commit is contained in:
committed by
nblock
parent
6e6ea3758d
commit
6e0814a845
@@ -16,7 +16,9 @@ ReadWritePaths=/var/lib/headscale
|
|||||||
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||||
|
DevicePolicy=closed
|
||||||
LockPersonality=true
|
LockPersonality=true
|
||||||
|
MemoryDenyWriteExecute=true
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
PrivateMounts=true
|
PrivateMounts=true
|
||||||
|
|||||||
Reference in New Issue
Block a user