Yesterday, 02:37 PM
(This post was last modified: Yesterday, 02:39 PM by TheDreadPirate. Edited 4 times in total.)
Non-server versions of Windows and Linux will rotate IPv6 addresses. As will Android and iOS. This is a privacy related function to make it harder for advertisers to track you.
On server versions of Windows and Linux this is disabled. But you should be able to disable it in Debian desktop variants with these steps.
Run this command.
The output will look something like this.
We only care about the line for the actual interface connected to the Internet (eth0 in my case). This is from one of my servers, but if it were 1 or 2 we would edit /etc/sysctl.conf and add a line setting it to zero.
Add this to the bottom of the file. Substitute "eth0" with your interface name, if it is different.
To apply these changes without rebooting, run this command.
On server versions of Windows and Linux this is disabled. But you should be able to disable it in Debian desktop variants with these steps.
Run this command.
Code:
sudo /sbin/sysctl -a | grep use_tempaddr
The output will look something like this.
Code:
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.docker0.use_tempaddr = 2
net.ipv6.conf.eth0.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1
net.ipv6.conf.wg0.use_tempaddr = -1
We only care about the line for the actual interface connected to the Internet (eth0 in my case). This is from one of my servers, but if it were 1 or 2 we would edit /etc/sysctl.conf and add a line setting it to zero.
Code:
sudo vim /etc/sysctl.conf # or whichever text editor you like
Add this to the bottom of the file. Substitute "eth0" with your interface name, if it is different.
Code:
net.ipv6.conf.eth0.use_tempaddr = 0
To apply these changes without rebooting, run this command.
Code:
sysctl --system