chore: init

This commit is contained in:
Job79 committed 2026-11-15 15:52:10 +01:00
commit 9245b26500
42 files changed
+601

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# Firewall: drop all incoming traffic except replies, loopback, ICMP, DHCPv6 and ssh, and forward
# nothing (rootless podman's networks live in Claude's own network namespace). Loaded by
# nftables.service.
destroy table inet firewall
table inet firewall {
chain input {
type filter hook input priority filter; policy drop;
ct state established,related accept
ct state invalid drop
iif lo accept
meta l4proto { icmp, ipv6-icmp } accept
ip6 saddr fe80::/10 udp dport 546 accept
tcp dport 22 accept
}
chain forward {
type filter hook forward priority filter; policy drop;
}
}