infra-ansible
ansible script to ship alpine/ssh/wireguard
git clone https://9o.is/git/infra-ansible.git
commit 96fde2c3ed1b03a0fe4b79ae174e53555dd335a8 parent 15b82020df4f713e87d5708e63e3f98d62d02ee0 Author: Jul <jul@9o.is> Date: Thu, 16 May 2024 03:07:04 +0800 change nftables table name to custom-filter Diffstat:
| M | host/roles/wireguard/templates/nftables.conf.j2 | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/host/roles/wireguard/templates/nftables.conf.j2 b/host/roles/wireguard/templates/nftables.conf.j2 @@ -2,7 +2,7 @@ flush ruleset -table ip filter { +table ip custom-filter { chain input { type filter hook input priority filter; policy drop; ct state invalid counter log prefix "Invalid received" drop @@ -33,7 +33,7 @@ table ip filter { } } -table ip6 filter { +table ip6 custom-filter { chain input { type filter hook input priority filter; policy drop; iifname lo accept