Skip to content

Commit e4753d2

Browse files
authored
Make clients prefer IPv6 (#1822)
Change IPv6 addresses to non-ULA addresses such that they are favored over IPv4.
1 parent 47bb48b commit e4753d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ strongswan_log_level: 2
116116
# ipv4
117117
strongswan_network: 10.19.48.0/24
118118
# ipv6
119-
strongswan_network_ipv6: 'fd9d:bc11:4020::/48'
119+
strongswan_network_ipv6: '2001:db8:4160::/48'
120120

121121
# If you're behind NAT or a firewall and you want to receive incoming connections long after network traffic has gone silent.
122122
# This option will keep the "connection" open in the eyes of NAT.
@@ -125,7 +125,7 @@ wireguard_PersistentKeepalive: 0
125125

126126
# WireGuard network configuration
127127
wireguard_network_ipv4: 10.19.49.0/24
128-
wireguard_network_ipv6: fd9d:bc11:4021::/48
128+
wireguard_network_ipv6: 2001:db8:a160::/48
129129

130130
# Randomly generated IP address for the local dns resolver
131131
local_service_ip: "{{ '172.16.0.1' | ipmath(1048573 | random(seed=algo_server_name + ansible_fqdn)) }}"

0 commit comments

Comments
 (0)