Add opt-in host firewall and authentication bans

This commit is contained in:
parkel committed 2026-11-22 00:35:34 +01:00
1 parent 54ce662b61
commit 8a0f9e0064
9 files changed
+953 -3

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
[Unit]
Description=Coulobre host firewall
Wants=network-pre.target
After=local-fs.target nftables.service
Before=network-pre.target
[Service]
Type=oneshot
RemainAfterExit=yes
UMask=0077
StateDirectory=coulobre/firewall
StateDirectoryMode=0700
ExecStart=/opt/coulobre/bin/coulobre-firewall restore
ExecReload=/opt/coulobre/bin/coulobre-firewall restore
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target