How to disable DHCPv6 in NethSecurity 8.8.0?

Hello everyone,

How can I disable DHCPv6 in NethSecurity? I couldn’t find the exact option in the web interface.

Thanks in advance for your help!

@ndrosis I don’t think 8.8.0 has a switch for it in the UI, but NethSecurity is OpenWrt underneath, so it’s quick from the shell. On the LAN side, DHCPv6 and router advertisements come from odhcpd, which is configured per interface in /etc/config/dhcp. Check the section name first with uci show dhcp | grep dhcpv6, then (assuming it’s lan):

uci set dhcp.lan.dhcpv6='disabled'
uci set dhcp.lan.ra='disabled'
uci commit dhcp
/etc/init.d/odhcpd restart

Leave out the ra line if you still want clients to get IPv6 through SLAAC and only want to stop the DHCPv6 server. If you don’t need IPv6 on that network at all, unticking “Enable IPv6” on the interface is the cleaner option.

Do you want to stop the firewall from handing out DHCPv6 on the LAN, or stop the WAN from requesting an address or prefix from your ISP?

I would like to block DHCPv6 on the LAN, as I suspect that DPI is not working properly.