Support table "nat"
This commit is contained in:
parent
91a44682cf
commit
305407347c
|
@ -4,5 +4,7 @@ iptables__drop_by_default: false
|
||||||
iptables__allow_output_ifaces: []
|
iptables__allow_output_ifaces: []
|
||||||
iptables__v4_filter_prepend: null
|
iptables__v4_filter_prepend: null
|
||||||
iptables__v4_filter_append: null
|
iptables__v4_filter_append: null
|
||||||
|
iptables__v4_nat: null
|
||||||
iptables__v6_filter_prepend: null
|
iptables__v6_filter_prepend: null
|
||||||
iptables__v6_filter_append: null
|
iptables__v6_filter_append: null
|
||||||
|
iptables__v6_nat: null
|
||||||
|
|
|
@ -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
|
*filter
|
||||||
########
|
########
|
||||||
|
|
|
@ -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
|
*filter
|
||||||
########
|
########
|
||||||
|
|
Loading…
Reference in New Issue