How to Disable IPv6

IPv4/6, Port, VPN, proxy, SSH, remote access and more.
Post Reply
User avatar
StephenM
Posts: 71
Joined: 11 Jan 2021, 21:55
Great Britain

How to Disable IPv6

Post by StephenM »

It seems that IPv6 does work on an ARM device running 4.2.41

ifconfig reports eth0 as having an IPv6 address.

How do I disable IPv6?

There are no options to do this on networking section in the Control Panel.
User avatar
TMzethar
TM Support
Posts: 2826
Joined: 27 Oct 2020, 16:43

Re: How to Disable IPv6

Post by TMzethar »

210series, arm, TOS4 device do not have this option.
Perhaps you can do this by setting the relevant options for your router.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
AlAleksiev
Posts: 44
Joined: 19 Feb 2024, 00:15
Canada

Re: How to Disable IPv6

Post by AlAleksiev »

Hi guys, just saw that thread - it's kind of old, but I'll put some notes here to serve eventually in the future for a similar question.

You can always stop IPv6 on a linux. The example I'll write is for debian based distributions - that's where TOS v6.X is currently.
PLease mention the prompt '#' - that means root! If you are with that prompt '$', you'll need to add one 'sudo ' in front of those commands or when edditing file with vi!

This will stop IPv6 for the currently running appliance - it's not going to survive reload and that's good approaach as initial testing for side effect with whatever you are running!

Code: Select all

# sysctl -w net.ipv6.conf.all.disable_ipv6=1
# sysctl -w net.ipv6.conf.default.disable_ipv6=1
# sysctl -w net.ipv6.conf.lo.disable_ipv6=1
#
If you want to have IPv6 disabled for good, add in /etc/sysctl.conf file those lines:

Code: Select all

# Permanently disable IPv6
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
and apply those changes

Code: Select all

# sysctl -p
To valisate you can always use

Code: Select all

# ip a | grep v6
if there are no output, you have the IPv6 disabled.

Good luck!
______________________
F5-221; 10G RAM; 5 x 4TB TRAID; Riser, Power and/or ASMedia HW failure undetected by TM Support
F6-424; 32G RAM; 2 x 512GB 8Gb/s M.2; 6 x 4TB raidz2; TrueNAS 25.10.1
¯¯¯¯¯¯ Jellyfin, Pi-Hole, Unifi Controller, Zabbix
Post Reply

Return to “Network”