Support table "nat"
This commit is contained in:
parent
91a44682cf
commit
46906dc17d
3 changed files with 38 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
########
|
||||
|
|
|
@ -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
|
||||
########
|
||||
|
|
Loading…
Add table
Reference in a new issue