Skip to content

Instantly share code, notes, and snippets.

@RustyRouter
Created March 7, 2023 19:03
Show Gist options
  • Save RustyRouter/b91e3032fd879885493e7636c75e79e5 to your computer and use it in GitHub Desktop.
Save RustyRouter/b91e3032fd879885493e7636c75e79e5 to your computer and use it in GitHub Desktop.
Disable IPv6 on an OpenWRT router with PPPOE WAN mode
#
uci del dhcp.lan.ra
uci del dhcp.lan.dhcpv6
uci del network.lan.ip6assign
uci set network.lan.delegate='0'
uci set network.cfg030f15.ipv6='0'
uci del network.globals.ula_prefix
uci set network.wan.proto='pppoe'
uci set network.wan.username='Put_Your_PPPOE_Username_Here'
uci set network.wan.password='Put_Your_PPPOE_Password_Here'
uci set network.wan.ipv6='0'
uci set network.wan.delegate='0'
uci del network.wan6
uci commit network
uci commit dhcp
#reboot your router manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment