improved Database & Models

This commit is contained in:
Kai Waggeling 2025-12-06 20:04:11 +01:00
commit 0bbe91bec3
18 changed files with 956 additions and 0 deletions

28
docker/nftables.conf Normal file
View file

@ -0,0 +1,28 @@
#!/usr/sbin/nft -f
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0;
# Accept localhost
iif lo accept
# Accept WireGuard traffic
udp dport 51820 accept
# Allow traffic from wg0 only if defined later (allowlist approach)
iif wg0 drop
}
chain forward {
type filter hook forward priority 0;
# Default deny
drop
}
chain output {
type filter hook output priority 0;
}
}