Initial commit

This commit is contained in:
Sonny Bakker 2020-11-07 14:42:58 +01:00
commit 7e029a0d33
22 changed files with 598 additions and 0 deletions

19
templates/nftables.j2 Normal file
View file

@ -0,0 +1,19 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
#
# vim:set ts=2 sw=2 et:
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0; policy drop;
# accept any localhost traffic
iif lo accept
# accept traffic originated from us
ct state { established, related } accept
tcp dport 22 accept
}
}