Homelab · Networking
IPv6 in the Homelab: Addressing, Firewalls and Pitfalls
IPv6 has a reputation problem in home labs: it feels like the day the network stopped making sense. Addresses got long, NAT disappeared, and advice written for IPv4 quietly stopped applying. The truth is plainer. IPv6 gives every device a real, routable address and replaces the accidental protection of NAT with an actual firewall you configure on purpose — which is better, once you understand what changed. This guide covers the mental model, the addressing choices you actually face (SLAAC versus DHCPv6, ULA versus global addresses), and the places IPv6 genuinely bites in a homelab, containers first among them.
Published Nov 21, 2026
The mindset shift: NAT was never the firewall
Most home IPv4 networks feel safe for a reason that is mostly an accident. Your devices hold private addresses that the internet cannot route to, and the router’s NAT translates their traffic on the way out. Inbound connections fail by default — not because anyone configured a security policy, but because there is no translation waiting for them. IPv6 removes the accident. Your provider delegates you a prefix — typically a /56 or /64 — and every device can hold a global unicast address (GUA) that is, in principle, reachable from anywhere. The protection that remains is the protection that was always doing the real work: the stateful firewall on your router, which allows outbound connections and their replies while refusing unsolicited inbound traffic. On any competent router, IPv6 ships in exactly that posture — default-deny inbound — and your job is to keep it that way and open specific pinholes deliberately, the IPv6 equivalent of a port forward, for the rare service that needs one.
Once that lands, the rest of IPv6 is bookkeeping. There is no NAT to configure, no port-forward table, no double-NAT accidents when routers nest, and no address scarcity — your delegated prefix contains more addresses than your street could use. Devices can also hold several addresses at once, and normally do: a link-local address for talking to neighbors, a global address for the internet, and often a privacy-rotated temporary address for outbound browsing. Reading a device’s address list and knowing which is which is the core literacy skill; the rest is practice.
How devices get addresses: SLAAC, DHCPv6, and the Android fact
IPv6 offers two assignment systems, and the homelab-relevant fact is that you do not fully get to choose. SLAAC (Stateless Address Autoconfiguration) is the original design: the router advertises the prefix, each device builds its own address, and DNS servers are announced in the same advertisements. DHCPv6 is the familiar stateful model — a server hands out addresses and keeps a lease list — and it comes in a stateful flavour and a stateless one that only supplies options like DNS. The catch that decides real networks: Android does not support DHCPv6 at all, by deliberate design decision at Google. Any network that must serve phones has to run SLAAC, full stop. The common home pattern follows from that: SLAAC for address assignment everywhere, with router advertisements carrying your DNS (which is how your AdGuard Home or Unbound setup stays in the path — the subject of this site’s DNS guides), and DHCPv6 reserved for segments of servers where a lease list and fixed assignments are worth more than phone compatibility.
One consequence surprises IPv4 veterans: because SLAAC addresses are built by the device, often from a randomised identifier, the tidy “the server is always at .10” habit needs a new mechanism. Servers in an IPv6 network are usually reached by name — your local DNS resolves the name to whatever addresses the machine holds — or by deliberately assigned addresses within your prefix for the few machines that need them. Lean on DNS. It was always the right answer; IPv6 just stops letting you postpone it.
ULA versus GUA: the private-address question
IPv6 does have a private range: unique local addresses (ULA), the fc00::/7 block, most recognizably addresses starting fd. A ULA prefix is yours forever, never routed on the internet, and never changes when you switch providers — which makes it tempting as the foundation for internal services. The global addresses from your provider, by contrast, can change: many providers rotate the delegated prefix, and the day it changes, every GUA in the house changes with it. The pragmatic pattern most home labs settle on is both at once. Devices carry their global addresses for internet traffic, and internal services are also reachable at stable ULA addresses, so the NAS, the printer and Home Assistant keep fixed internal identities even when the provider reshuffles the global side. Reaching services by name, with your DNS returning the ULA for internal queries, makes the arrangement invisible in daily use. What ULA is not is a way to avoid the firewall conversation: local addresses do not make a network safe, the firewall does, on every prefix at once.
Where IPv6 bites in a homelab
Docker is the first pitfall. Docker’s defaults grew up in an IPv4 world: containers get private IPv4 addresses behind NAT, and IPv6 historically needed explicit enabling per network, with behavior that varied by version and by how the host itself was configured. The classic symptoms are containers that cannot reach IPv6-only resources, published ports that listen on IPv6 when you only expected IPv4 (or the reverse), and compose files that behave differently after a Docker upgrade. The discipline that keeps you safe is to decide, per stack, whether it needs IPv6 at all: most home services do not, and leaving IPv6 off inside container networks while the host and LAN run it is a legitimate, common design — as long as it is a decision and not a surprise. Check what your published ports are actually listening on after any change; ss -tlnp tells the truth that assumptions do not.
Exposure mistakes are the second pitfall, and they follow from the mindset shift. In IPv4, forgetting to forward a port meant a service stayed private. In IPv6, a firewall rule written too broadly — allow inbound to the whole prefix instead of one address and port — can put every device’s listening services one rule away from the internet, including the admin panels and dashboards that were never meant to be public. Audit your router’s IPv6 firewall with the same suspicion you would apply to a list of port forwards, and scan your own global addresses from outside (your phone on mobile data is a fine test rig) to confirm that what answers is only what you intended. VPNs and tunnels are the third: a tunnel configured for IPv4 only can leak IPv6 traffic around it, or break name resolution in ways that look like random flakiness. Test the combination you actually run. None of these are reasons to switch IPv6 off — the internet increasingly assumes it, some services are IPv6-only at the edges, and your provider’s NAT-free path is often the cleaner one. They are reasons to run it deliberately: firewall verified, DNS by name, containers decided per stack. Do that, and IPv6 stops being the scary checkbox and becomes what it actually is — the same network, with the training wheels off and a better engine underneath.
A small address plan you can write on an index card
IPv6 planning sounds grander than it is, because the scarcity is gone. A typical /56 delegation contains 256 separate /64 networks — one per VLAN, with room to spare for a lifetime of reorganising. The whole plan is a mapping: this /64 for the trusted LAN, that one for IoT, that one for guests, that one for servers, written down in the same documentation habit this site recommends for the rest of the lab. Within each /64, assignment is automatic under SLAAC, and the machines that need stable identities get them through your ULA prefix and your DNS names rather than through address bookkeeping. Two habits keep the plan healthy. Keep the mapping stable even when segments are empty — renumbering an IPv6 segment is painless for clients and quietly miserable for firewall rules and documentation. And write the firewall rules against the segment prefixes, not individual addresses, so the rules survive devices coming, going, and readdressing themselves, which under SLAAC they will do as a matter of routine. Scarcity made IPv4 planning a discipline of conservation; IPv6 planning is a discipline of labeling. The second one is easier, and it is the one you are actually being asked to learn.
A five-minute audit you can run tonight
Deliberate IPv6 ends in a check, and the check is short. From a phone on mobile data — outside your network, which is the only vantage point that counts — confirm that your public services answer exactly as intended and that your NAS, dashboards and admin panels do not answer at all. On the router, read the IPv6 firewall rules once, slowly, and ask of each inbound rule which single service it exists for. On one dual-stack machine, list its addresses and name each one: link-local, global, temporary, ULA. If you can do those three things, your IPv6 is not a mystery running underneath your network; it is part of your network, documented and verified like the rest of it — which was the goal from the first paragraph.
Official documentation and references
- RFC 4862 — IPv6 Stateless Address Autoconfiguration — the standard that defines SLAAC
- RFC 4193 — Unique Local IPv6 Unicast Addresses — the standard that defines ULA, the fd00::/8 private range
- RFC 8415 — DHCP for IPv6 — the standard that defines DHCPv6, stateful and stateless
Frequently asked questions
Is IPv6 less secure than IPv4 with NAT?
No — it is differently secured. NAT was never a security feature; it was an address-sharing mechanism whose side effect was blocking unsolicited inbound traffic. IPv6 networks get the same protection from the router’s stateful firewall, which defaults to deny-inbound on any competent router. The real risk is a misconfigured firewall rule, which is why this guide insists on auditing IPv6 rules and testing from outside.
SLAAC or DHCPv6 for my home network?
SLAAC, in practice, because Android refuses to support DHCPv6 — a DHCPv6-only network leaves every Android phone addressless. Run SLAAC everywhere, announce your own DNS in the router advertisements, and consider stateful DHCPv6 only on server segments where phones never go and a lease list earns its keep.
What is a ULA and do I need one?
A unique local address — the fd00::/8 range — is IPv6’s private space: never routed publicly and never changed by your provider. You do not strictly need ULAs, but they give internal services stable addresses that survive a provider prefix change. The common pattern is devices holding both a global address for the internet and a ULA for internal reachability, with local DNS tying it together.
Why do my Docker containers behave oddly with IPv6?
Because Docker’s networking was designed IPv4-first: IPv6 inside container networks historically needed explicit enabling, and published-port behavior on dual-stack hosts has shifted between versions. Decide per stack whether containers need IPv6 — most home services do not — and verify with a listening-socket check what your ports are actually bound to after changes.
My provider changed my prefix and everything moved. Normal?
Yes, on many providers. Global addresses are built from the delegated prefix, so when it rotates, every device’s global address changes. This is the strongest practical argument for ULAs on internal services and for reaching everything by name through your own DNS, so a prefix change becomes a non-event instead of a scavenger hunt.

