Skip to content

Instantly share code, notes, and snippets.

@midwire
Created April 22, 2022 16:39
Show Gist options
  • Save midwire/1f5d7b0f93eb74e5ceafbbb143a78a23 to your computer and use it in GitHub Desktop.
Save midwire/1f5d7b0f93eb74e5ceafbbb143a78a23 to your computer and use it in GitHub Desktop.
[Enable IPv6 Privacy Extensions] #linux #ubuntu
# NOTE: replace enp4s0 with whatever interface you want or use 'all' instead
# Temporarily for a single IF
echo 2 > /proc/sys/net/ipv6/conf/enp4s0/use_tempaddr
# Temporarily for a ALL IFs
echo 2 > /proc/sys/net/ipv6/conf/all/use_tempaddr
# Permanently
# Add net.ipv6.conf.all.use_tempaddr=2
# to /etc/sysctl.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment