My OpenWrt IPv6 Configuration

Notes on how I set up IPv6 on my OpenWrt router.
Covers SLAAC for Android, firewall rules, and how it works with Docker and NPMplus.
Just a reference for my own setup.

My Network

OpenWrt Config

Interfaces → WAN

Interfaces → LAN

Firewall → Traffic Rules

Allow-IPv6-HTTP

OpenWrt → Firewall → Traffic Rules → Allow-IPv6-HTTP

Allow-IPv6-HTTPS

OpenWrt → Firewall → Traffic Rules → Allow-IPv6-HTTPS

Docker

Not configured yet.
Maybe enable IPv6 and assign an IPv6 address to the NPMplus container, and use a link-local address for the reverse proxy. Need to read more docs.

Temporary solution: run the NPMplus container in host mode — Nginx will automatically handle IPv6-to-IPv4.
I run separate GoDNS containers to update both IPv4 and IPv6 addresses to Cloudflare.

Tools

References