Add nnss-sproxy

This commit is contained in:
2025-07-27 22:03:30 -04:00
parent 739cca01c4
commit a6de5934d3
3 changed files with 45 additions and 8 deletions

16
nnss-sproxy@.socket Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Socket to connect to a service running inside a network namespace
[Socket]
ListenStream=/run/nnss-%i.sock
# By default, the above socket is world writable
# To restrict to just the web server, Run
# sudo systemctl edit nnss-sproxy@.socket --drop-in=sockperms.conf
# and add below settings. (change to your web server user)
# SocketGroup=caddy
# SocketMode=0660
[Install]
WantedBy=sockets.target