mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-08 00:50:20 +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
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
DevicePolicy=closed
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=true
|
||||
PrivateMounts=true
|
||||
|
||||
Reference in New Issue
Block a user