Make clients prefer IPv6

This commit is contained in:
David E. Myers 2020-06-07 19:14:04 -04:00
parent 3f86ae0713
commit f4a9f6036b
No known key found for this signature in database
GPG key ID: D871FCA54815086C

View file

@ -116,7 +116,7 @@ strongswan_log_level: 2
# ipv4 # ipv4
strongswan_network: 10.19.48.0/24 strongswan_network: 10.19.48.0/24
# ipv6 # ipv6
strongswan_network_ipv6: 'fd9d:bc11:4020::/48' strongswan_network_ipv6: '2001:db8:4160::/48'
# If you're behind NAT or a firewall and you want to receive incoming connections long after network traffic has gone silent. # If you're behind NAT or a firewall and you want to receive incoming connections long after network traffic has gone silent.
# This option will keep the "connection" open in the eyes of NAT. # This option will keep the "connection" open in the eyes of NAT.
@ -125,7 +125,7 @@ wireguard_PersistentKeepalive: 0
# WireGuard network configuration # WireGuard network configuration
wireguard_network_ipv4: 10.19.49.0/24 wireguard_network_ipv4: 10.19.49.0/24
wireguard_network_ipv6: fd9d:bc11:4021::/48 wireguard_network_ipv6: 2001:db8:a160::/48
# Randomly generated IP address for the local dns resolver # Randomly generated IP address for the local dns resolver
local_service_ip: "{{ '172.16.0.1' | ipmath(1048573 | random(seed=algo_server_name + ansible_fqdn)) }}" local_service_ip: "{{ '172.16.0.1' | ipmath(1048573 | random(seed=algo_server_name + ansible_fqdn)) }}"