Skip to content

Instantly share code, notes, and snippets.

@jimbair
Last active March 16, 2019 13:54
Show Gist options
  • Save jimbair/42816e74582f1839315f510a14cfe41d to your computer and use it in GitHub Desktop.
Save jimbair/42816e74582f1839315f510a14cfe41d to your computer and use it in GitHub Desktop.
Default contents of /etc/sysctl.d/10-ipv6-privacy.conf on Ubuntu 18.04 LTS
# IPv6 Privacy Extensions (RFC 4941)
# ---
# IPv6 typically uses a device's MAC address when choosing an IPv6 address
# to use in autoconfiguration. Privacy extensions allow using a randomly
# generated IPv6 address, which increases privacy.
#
# Acceptable values:
# 0 - don’t use privacy extensions.
# 1 - generate privacy addresses
# 2 - prefer privacy addresses and use them over the normal addresses.
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment