improved Database & Models
This commit is contained in:
commit
0bbe91bec3
18 changed files with 956 additions and 0 deletions
28
docker/nftables.conf
Normal file
28
docker/nftables.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue