mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-17 16:36:02 +00:00
Add DevicePolicy and MemoryDenyWriteExecute
I've used those for a long time with my setups.
This commit is contained in:
parent
6e6ea3758d
commit
6e0814a845
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue