From 8ac738eddaa8458c27b0847c871be098b1868dbd Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Tue, 28 Nov 2023 10:16:32 +0100 Subject: [PATCH] fixing ipv4 table-type (fix #7) --- defaults/main/0_hardcoded.yml | 2 +- defaults/main/1_main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main/0_hardcoded.yml b/defaults/main/0_hardcoded.yml index 35393e4..64c227c 100644 --- a/defaults/main/0_hardcoded.yml +++ b/defaults/main/0_hardcoded.yml @@ -17,7 +17,7 @@ NFT_HC: filter: ['prerouting', 'forward', 'input', 'output', 'postrouting'] nat: ['prerouting', 'input', 'output', 'postrouting'] route: ['output'] - ip4: + ip: filter: ['prerouting', 'forward', 'input', 'output', 'postrouting'] nat: ['prerouting', 'input', 'output', 'postrouting'] route: ['output'] diff --git a/defaults/main/1_main.yml b/defaults/main/1_main.yml index c84bb8b..e7614b5 100644 --- a/defaults/main/1_main.yml +++ b/defaults/main/1_main.yml @@ -34,7 +34,7 @@ defaults_nftables: incompatible_packages: ['iptables', 'ufw'] # can be set to ['ufw'] if iptables is needed (p.e. if docker is in use) defaults_table: - type: 'inet' # inet, ip6, ip4, arp, bridge, netdev + type: 'inet' # inet, ip6, ip, arp, bridge, netdev chains: {} _defaults: rules: