mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Fixes #255
This commit is contained in:
parent
d271b60b6a
commit
e31f10da6d
2 changed files with 3 additions and 4 deletions
|
@ -51,7 +51,7 @@
|
|||
do_access_token: "{{ do_access_token }}"
|
||||
do_droplet_id: "{{ do.droplet.id }}"
|
||||
cloud_provider: digitalocean
|
||||
ipv6_support: yes
|
||||
ipv6_support: true
|
||||
|
||||
- set_fact:
|
||||
cloud_instance_ip: "{{ do.droplet.ip_address }}"
|
||||
|
|
|
@ -46,9 +46,8 @@
|
|||
|
||||
- name: Configure ip6tables so IPSec traffic can traverse the tunnel
|
||||
iptables: ip_version=ipv6 table=nat chain=POSTROUTING source="{{ vpn_network_ipv6 }}" jump=MASQUERADE
|
||||
when: ((security_enabled is not defined) or
|
||||
(security_enabled is defined and security_enabled != "y")) and
|
||||
ipv6_support is defined and ipv6_support == "yes"
|
||||
when: ((security_enabled is not defined) or (security_enabled is defined and security_enabled != "y")) and
|
||||
(ipv6_support is defined and ipv6_support == true)
|
||||
notify:
|
||||
- save iptables
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue