D
Deleted member 109343
Guest
If your $hostname prefers IPv6 or resolves only to IPv6 then it'll be listening on IPv6. If ipv6 is being used and the net.ipv6.bindv6only sysctl is 0 (which is the default) then it'll be available via both ipv4 and ipv6.
In other words: To listen on IPv6 either
-) put only your IPv6 address for your hostname in /etc/hosts
or
-) put a higher precedence on your IPv6 address locally by adding it as a precedence entry to /etc/gai.conf with a value higher than whatever range entry covers your IPv4 address.
Is this still the case? I'm not exactly sure what is the /etc/gai.conf file and my hosts looks likes this:
Code:
127.0.0.1 localhost.localdomain localhost
123.123.123.123 pve.XXXX.XXXX pve
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
1231:1231:1231:1231::1 pve.XXXX.XXXX pve
EDIT: Worth mentioning that I'm posting because I can't get IPv6 on the gui for some reason. My server does have IPv6 connectivity, same goes for containers and VM's.