|
|
@ -46,9 +46,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Configure ip6tables so IPSec traffic can traverse the tunnel
|
|
|
|
- name: Configure ip6tables so IPSec traffic can traverse the tunnel
|
|
|
|
iptables: ip_version=ipv6 table=nat chain=POSTROUTING source="{{ vpn_network_ipv6 }}" jump=MASQUERADE
|
|
|
|
iptables: ip_version=ipv6 table=nat chain=POSTROUTING source="{{ vpn_network_ipv6 }}" jump=MASQUERADE
|
|
|
|
when: ((security_enabled is not defined) or
|
|
|
|
when: ((security_enabled is not defined) or (security_enabled is defined and security_enabled != "y")) and
|
|
|
|
(security_enabled is defined and security_enabled != "y")) and
|
|
|
|
(ipv6_support is defined and ipv6_support == true)
|
|
|
|
ipv6_support is defined and ipv6_support == "yes"
|
|
|
|
|
|
|
|
notify:
|
|
|
|
notify:
|
|
|
|
- save iptables
|
|
|
|
- save iptables
|
|
|
|
|
|
|
|
|
|
|
|