How to disable IPv6?

no_connection

Patron
Joined
Dec 15, 2013
Messages
480
I might be missing a place but I find no way in GUI to disable IPv6. And since I have no wish or use for link local I don't want it enabled.
 

no_connection

Patron
Joined
Dec 15, 2013
Messages
480
I forgot it asks for it, thanks!

I'm sure this feature will make it in with time since IPv6 on a device without firewall is a really bad idea anyway, especially since there is no pNAT with IPv6 (I mean there is but there really is not) so unless you know what you are doing it will be connected directly to the internet.
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Yeah I think IX reworked some UI this release...
Not really worth reporting till they have the new UI semi done :P
 

dpearcefl

Contributor
Joined
Aug 4, 2015
Messages
145
Doesn't look like it has been done yet in TrueNAS-SCALE-22.12.0.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
This is 2023. IPv6 is the Internet. IPv4 is legacy.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
For Scale, go to System->Advanced->Sysctl to set a sysctl tunable variable net.ipv6.conf.all.disable_ipv6 with value 1 to completely disable IPv6.
 

no_connection

Patron
Joined
Dec 15, 2013
Messages
480
This is 2023. IPv6 is the Internet. IPv4 is legacy.
This is 2023 and half the internet don't work with IPv6, I had a friend of moms panic because internet didn't work (well some did like FB) and it turns out the LTE modem decided one day, no, no more IPv4. So most webpages was not accessible. It was fixed with setting it to only IPv4 but good luck explaining that over the phone.
 

smartypantsuk

Dabbler
Joined
Feb 7, 2023
Messages
15
This is 2023 and half the internet don't work with IPv6, I had a friend of moms panic because internet didn't work (well some did like FB) and it turns out the LTE modem decided one day, no, no more IPv4. So most webpages was not accessible. It was fixed with setting it to only IPv4 but good luck explaining that over the phone.
Yeah I've had similar experience with a junk talktalk service. One day it wouldn't work, logged in router, disabled everything IPv6 and sorted it.
 

samarium

Contributor
Joined
Apr 8, 2023
Messages
192
FYI, for Scale 22.12.1, you can only partially disable ipv6 using sysctl. Same as normal linux box. To fully disable you need to set kernel boot parameter ipv6.disable=1, which disables ipv6 permanently for that kernel boot, however at least some truenas configuration explicitly listens for IPv6 connection, ie nginx, so no webui. Further, the network interface configuration didn't happen, even for just IPv4. So stick to the partial disable via sysctl above.
 
Top