From e4753d251085e1e927a9f45678e54dd32d9bb9b8 Mon Sep 17 00:00:00 2001 From: David Myers Date: Wed, 22 Jul 2020 15:51:19 -0400 Subject: [PATCH] Make clients prefer IPv6 (#1822) Change IPv6 addresses to non-ULA addresses such that they are favored over IPv4. --- config.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.cfg b/config.cfg index 7df5d3f..5172900 100644 --- a/config.cfg +++ b/config.cfg @@ -116,7 +116,7 @@ strongswan_log_level: 2 # ipv4 strongswan_network: 10.19.48.0/24 # 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. # This option will keep the "connection" open in the eyes of NAT. @@ -125,7 +125,7 @@ wireguard_PersistentKeepalive: 0 # WireGuard network configuration 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 local_service_ip: "{{ '172.16.0.1' | ipmath(1048573 | random(seed=algo_server_name + ansible_fqdn)) }}"