added basic table skeleton

This commit is contained in:
celso 2024-12-10 12:46:48 -03:00
parent 392259802f
commit 711ebd8336
1 changed files with 17 additions and 0 deletions

17
filter.nft Normal file
View File

@ -0,0 +1,17 @@
#!/usr/bin/nft
flush ruleset
table ip filter {
chain in {
type filter hook input priority filter; policy drop;
ct state invalid drop;
ct state {related,established} accept;
}
chain forward {
type filter hook forward priority filter; policy drop;
}
chain out {
type filter hook output priority filter; policy drop;
}
}