ansible/roles/nftables_infra/templates/nftables.d/50-output.conf.j2
Jeltz 64772b76e4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Add nftables role
This is a fully static version of the config, and it is meant to be
temporary (until I figure out a way to properly configure nftables using
ansible…).
2022-01-08 23:41:51 +01:00

22 lines
294 B
Django/Jinja

{{ ansible_managed | comment }}
table inet output {
chain conntrack {
ct state vmap {
established: counter accept,
related: counter accept,
invalid: counter drop,
}
}
chain output {
type filter hook output priority filter
policy accept
jump conntrack
counter
}
}