Disable IPv6 Privacy

From Luna Node
Revision as of 22:11, 18 August 2015 by Favyen Bastani (Talk | contribs)

Jump to: navigation, search

Ubuntu and some other operating systems have IPv6 privacy extensions enabled by default. This extension will cause outgoing IPv6 connections to fail when using the default network. To disable IPv6 privacy in Ubuntu, edit /etc/sysctl.d/10-ipv6-privacy.conf and set both fields to 0, like this:

net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0

Then run sysctl --system to reload the configuration.

Note: Ubuntu templates on Luna Node Dynamic were configured to disable IPv6 privacy extension by default on 17 August 2015. Virtual machines created after that time do not need reconfiguration.