mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-13 16:23:00 +02:00
add ipv6
This commit is contained in:
parent
85334f956e
commit
a156cb8ddb
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ conn %default
|
||||||
rightauth=pubkey
|
rightauth=pubkey
|
||||||
rightsourceip={{ strongswan_network }},{{ strongswan_network_ipv6 }}
|
rightsourceip={{ strongswan_network }},{{ strongswan_network_ipv6 }}
|
||||||
{% if algo_local_dns or dns_encryption %}
|
{% if algo_local_dns or dns_encryption %}
|
||||||
rightdns={{ local_service_ip }}
|
rightdns={{ local_service_ip }}{{ ",FCAA::1" if ipv6_support else '' }}
|
||||||
{% else %}
|
{% else %}
|
||||||
rightdns={% for host in dns_servers.ipv4 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% if ipv6_support %},{% for host in dns_servers.ipv6 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% endif %}
|
rightdns={% for host in dns_servers.ipv4 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% if ipv6_support %},{% for host in dns_servers.ipv6 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue