forked from ISTI-ansible-roles/ansible-roles
library/roles/iptables/defaults/main.yml: Use the default interface as the NAT output one. Do not pretend that is always eth0
This commit is contained in:
parent
b79034e490
commit
ffc72e6f4f
|
@ -43,7 +43,7 @@ iptables_default_policy: ACCEPT
|
||||||
iptables_nat_enabled: False
|
iptables_nat_enabled: False
|
||||||
iptables_nat_specify_interfaces: True
|
iptables_nat_specify_interfaces: True
|
||||||
iptables_nat_interfaces:
|
iptables_nat_interfaces:
|
||||||
- eth0
|
- '{{ ansible_default_ipv4.interface }}'
|
||||||
iptables_input_default_policy: '{{ iptables_default_policy }}'
|
iptables_input_default_policy: '{{ iptables_default_policy }}'
|
||||||
iptables_forward_default_policy: '{{ iptables_default_policy }}'
|
iptables_forward_default_policy: '{{ iptables_default_policy }}'
|
||||||
iptables_banned_default_policy: DROP
|
iptables_banned_default_policy: DROP
|
||||||
|
|
Loading…
Reference in New Issue