KORTHVEILSecurity firewall
Guides

IPv6 from your provider

Download as PDF All guides

If your internet provider gives IPv6, it usually hands out a block of addresses called a prefix, often a /56 (256 networks) or a /60 (16 networks). Korthveil asks for it and gives each of your networks its own part, so your devices get public IPv6 addresses.

Ask the provider for a prefix

  1. Open Network › Interfaces, zones & routes.
  2. Edit your internet port.
  3. Under IPv6, set Addressing to Automatic (SLAAC), tick Prefix from the provider, and choose the size to ask for. /56 is common. The provider decides what you actually get.
  4. Press Save to pending changes.
The internet port asking for a prefix
The internet port asking for a prefix

Give a network its part

  1. Edit the network's port, for example your LAN.
  2. Under IPv6, set Addressing to From the provider's prefix.
  3. Choose the internet port under From, and a Network number. Each network needs its own number. The firewall takes the address ending in ::1 in it.
  4. Press Save to pending changes, then commit.
A network taking network 1 of the prefix
A network taking network 1 of the prefix

After the commit, Now shows the prefix and each network's part. Devices pick up their addresses within a minute.

The DHCP server on that network

Under Network › DHCP server, set the network's IPv6 to automatic addressing. Managed DHCPv6 isn't available here, because the provider can change the prefix. Leave IPv6 DNS empty, and devices use the IPv4 DNS server, or give fixed IPv6 DNS addresses.

Good to know

  • If the provider changes the prefix, Korthveil renumbers your networks by itself. Rules that should keep working should name zones or interfaces, not these addresses.
  • If the provider stops answering, the addresses stay until their time is up, and Korthveil keeps asking.
  • No prefix: if the status says NoPrefixAvail, IPv6 prefixes may not be part of your plan. Ask your provider.
  • Only the internet port listens to router advertisements (from 1.5.10). A port whose IPv6 is none, static or a part of the prefix takes no router advertisements, so a stray router on a LAN can't give the firewall a default route. Only ports set to automatic (SLAAC) take them.
  • A port that is off has no routes (from 1.5.10). A gateway on a port that is off isn't used until you turn the port on; the commit says so instead of failing.

Download as PDF All guides