uci set 'network.lan.ipv6=0'
uci set 'network.wan.ipv6=0'
uci set 'dhcp.lan.dhcpv6=disabled'
# Disable RA and DHCPv6 so no IPv6 IPs are handed out
uci -q delete dhcp.lan.dhcpv6
uci -q delete dhcp.lan.ra
# Disable the LAN delegation
uci set network.lan.delegate="0"
# Delete the IPv6 ULA Prefix
uci -q delete network.globals.ula_prefix
# Disable odhcpd
/etc/init.d/odhcpd disable
/etc/init.d/odhcpd stop
# Save changes
uci commit
/etc/init.d/network restart
Created
June 6, 2023 13:56
-
-
Save nabakdev/d70d87901d761d0d4341043ca0139776 to your computer and use it in GitHub Desktop.
disable IPV6 openwrt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do i re-enable it