View previous topic :: View next topic |
Author |
Message |
tomtom69 Apprentice
Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Sun Oct 03, 2021 8:11 pm Post subject: [solved] IPv6 privacy: how to enable |
|
|
Up to now I had IPv6 disabled by an entry in /etc/sysctl.conf:
net.ipv6.conf.eth0.disable_ipv6=1
Now I tried with IPv6 enabled, but I do not want to expose my unique MAC addresses in my global IPv6 address, so I put the follwing entries in my /etc/sysctl.conf in order to enably privacy extensions:
net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.default.use_tempaddr=2
But this seems to have no effect. Even after a reboot I do not see any temporary IPv6 addresses (only the ones containing my MAC) using
Code: |
ip -6 addr show dev eth0
|
and sites like
[url]
http://ip.bieringer.de/
[/url]
show only my IPv6 address containing the MAC of my eth interface
What am I missing?
Is there any configuration guide for gentoo for IPv6 pricvacy?
Last edited by tomtom69 on Mon Oct 04, 2021 8:15 am; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4124 Location: Bavaria
|
Posted: Sun Oct 03, 2021 11:34 pm Post subject: |
|
|
1. Read this: https://wiki.archlinux.org/title/IPv6
I quote from there:
Quote: | The all.use_tempaddr or default.use_tempaddr parameters are not applied to nic's that already exist when the sysctl settings are executed. |
-> You have to set it also to your NIC !
2. Do you use networkmanager ?
If yes, networkmanager can overwrite existing settings; read this: https://wiki.ubuntuusers.de/IPv6/Privacy_Extensions/ (I didnt know an english article about it; should be no problem for you) |
|
Back to top |
|
|
tomtom69 Apprentice
Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Mon Oct 04, 2021 8:15 am Post subject: |
|
|
Thank you for pointing this out.
I now set my NIC also to use_tempaddr and now it works as expected :-) |
|
Back to top |
|
|
|