I want to remove every trace of IPv6 but I still see remains of things
As the subject says I would like to entirely remove IPv6
Don't need it Don't use it Lets Remove it all every aspect of it.
I tried to research this before I posted so I'm about 50% done, but I still see IPv6 related things.
Here is my config so far.
uci set 'dhcp.lan.dhcpv6=disabled' uci set 'dhcp.wan.dhcpv6=disabled' uci set 'network.lan.ipv6=0' uci set 'network.wan.ipv6=0' uci set 'network.lan.delegate=0' uci set 'network.wan.delegate=0' uci -q delete dhcp.lan.dhcpv6 uci -q delete dhcp.lan.ra uci -q delete dhcp.wan.dhcpv6 uci -q delete dhcp.wan.ra uci -q delete network.globals.ula_prefix uci commit dhcp uci commit network
This above code helps out for the most part and so does the sysctl.conf down below.
When I go into my firewall tab in openwrt I changed everything that says "IPv4 and IPv6" to just "IPv4"
"ip a" via ssh shows IPv6 things trying to remove those as well. the sysctl.conf I think fixes that.
192.168.1.1/cgi-bin/luci/admin/status/iptables I see IPv6 Firewall Tab:
Filters being used and I am trying to delete them. when I do "service firewall restart" it will say
- Populating IPv6 filter table
- Forward 'lan' -> 'wan'
! Skipping due to different family of zone
- Populating IPv6 mangle table
- Set tcp_ecn to off
- Set tcp_syncookies to on
- Set tcp_window_scaling to on
I was able to redact the above by removing the package "ip6tables" but I had to reset the firewall/sqm/network after and reboot via ssh, but after that was successful. now my firewall tab only shows IPv4 tables. no more unneeded IPv6 table processes.
sysctl.conf changes listed below help as well.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.lo.disable_ipv6 = 1
I removed wan6/inet6 interfaces an ::prefix as well.