[Solved] How can I completely disable ipv6 from LuCI?

Before anyone says anything, yes I know the benefits of ipv6 and I know both v4 and v6 can coexist and all that. I fully realize there is no need to do what I am wanting to do.

With that said. I still want to do it but I can't figure out how. Is there a way to completely disable ipv6 support from LuCI without building a custom image? Or what steps can I take from LuCI to disable/remove as much of it as I can?


Simply not possible to remove it but you can disable parts of it in every interface you have.

1 Like

install luci-app-commands

go to the second tab

add a two ( edit: three first one is buggy ) new commands;

sysctl -w net.ipv6.conf.all.disable_ipv6=1
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
sysctl -w net.ipv6.conf.default.disable_ipv6=1

or add the above to LUCI > system > startup ( above the exit 0 )


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.