mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
DNS fix
This commit is contained in:
parent
d558781473
commit
0269cafff7
2 changed files with 7 additions and 5 deletions
10
config.cfg
10
config.cfg
|
@ -29,10 +29,12 @@ server_name: "{{ ansible_ssh_host }}"
|
|||
IP_subject_alt_name: "{{ ansible_ssh_host }}"
|
||||
|
||||
dns_servers:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
ipv4:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
ipv6:
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
|
||||
strongswan_enabled_plugins:
|
||||
- aes
|
||||
|
|
|
@ -28,7 +28,7 @@ conn %default
|
|||
{% if local_dns is defined and local_dns == "Y" %}
|
||||
rightdns={{ local_service_ip }}
|
||||
{% else %}
|
||||
rightdns={% for host in dns_servers %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
rightdns={% for host in dns_servers.ipv4 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% if ipv6_support is defined and ipv6_support == "yes" %},{% for host in dns_servers.ipv6 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% endif %}
|
||||
{% endif %}
|
||||
|
||||
conn ikev2-pubkey
|
||||
|
|
Loading…
Add table
Reference in a new issue