Support table "nat"

This commit is contained in:
Alex Kotov 2021-09-12 18:38:53 +05:00
parent 91a44682cf
commit 46906dc17d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
3 changed files with 38 additions and 0 deletions

View File

@ -4,5 +4,7 @@ iptables__drop_by_default: false
iptables__allow_output_ifaces: []
iptables__v4_filter_prepend: null
iptables__v4_filter_append: null
iptables__v4_nat: null
iptables__v6_filter_prepend: null
iptables__v6_filter_append: null
iptables__v6_nat: null

View File

@ -1,3 +1,21 @@
#####
*nat
#####
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
# Remove all rules from all chains,
# delete all user-defined chains.
-F
-X
{{ iptables__v4_nat }}
COMMIT
########
*filter
########

View File

@ -1,3 +1,21 @@
#####
*nat
#####
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
# Remove all rules from all chains,
# delete all user-defined chains.
-F
-X
{{ iptables__v6_nat }}
COMMIT
########
*filter
########