Disclosure up front: I run IPYE, a company that leases IP space. Most of this article is practical how-to; IPYE appears where a free /48, LOA, or ROA helps you try the work, with a short call to action at the end.
Traefik is a reverse proxy built for dynamic environments: it watches Docker, Kubernetes or other providers and routes requests to services as they appear. Its entrypoints define where it listens, and with a free IPv6 /48 from IPYE you can give Traefik a dedicated, globally routable address instead of sharing the host's main one. This guide configures Traefik with Docker as the provider, listening on 2001:db8:100:10::40.
Why a dedicated address
A host running Traefik often runs other things: SSH, monitoring agents, perhaps a second proxy for internal traffic. Binding Traefik's entrypoints to one address keeps its public surface separate. Firewall rules can then say "ports 80 and 443 on ::40" without opening those ports on the host's management address. It also makes a later move painless: the address and its DNS records move with the proxy.
Add the address to the host first, persistently, through your distribution's network configuration.
Static configuration
# /etc/traefik/traefik.yml entryPoints: web: address: "[2001:db8:100:10::40]:80" http: redirections: entryPoint: to: websecure scheme: https websecure: address: "[2001:db8:100:10::40]:443" certificatesResolvers: le: acme: email: admin@example.net storage: /etc/traefik/acme.json httpChallenge: entryPoint: web providers: docker: exposedByDefault: false IPv6 addresses in entrypoints need square brackets, as in any address-and-port notation. The web entrypoint redirects everything to HTTPS, while the ACME HTTP challenge still works on it, because Traefik answers challenge requests before applying the redirect.
exposedByDefault: false means containers are routed only when labelled, so a new container does not become public by accident.
Run Traefik with host networking
To bind a specific host address, Traefik needs to see the host's interfaces. Running it with host networking is the most direct way:
services: traefik: image: traefik:v3.2 network_mode: host volumes: - /etc/traefik:/etc/traefik - /var/run/docker.sock:/var/run/docker.sock:ro restart: unless-stopped Pin the image to a version you have tested; the tag above is an example, so use the release you validated. Traefik's configuration format changed between major versions, and an unpinned upgrade can stop it from starting. Mounting the Docker socket gives Traefik read access to container metadata; even read-only, the socket is powerful, so consider a socket proxy that exposes only the API calls Traefik needs.
With host networking, Traefik reaches backend containers through their addresses on Docker networks. Make sure the networks your services use are reachable from the host, which is the default for bridge networks.
Label a service
services: app: image: ghcr.io/example/app:1.4 labels: - traefik.enable=true - traefik.http.routers.app.rule=Host(`app.example.net`) - traefik.http.routers.app.entrypoints=websecure - traefik.http.routers.app.tls.certresolver=le - traefik.http.services.app.loadbalancer.server.port=8080 Publish app.example.net as an AAAA record for 2001:db8:100:10::40, plus an A record if you also serve IPv4. Traefik obtains the certificate on the first request.
Verify
ss -tlnp | grep traefik curl -6 -v https://app.example.net/ ss should list [2001:db8:100:10::40]:80 and :443. If Traefik fails to start with a bind error, the address is missing or still in duplicate address detection; order the service after the network is fully online.
Client addresses
Traefik forwards the client address in X-Forwarded-For and X-Real-Ip. With host networking, the address Traefik sees is the real client address, including full IPv6 addresses. If Traefik itself sits behind a load balancer, configure forwardedHeaders.trustedIPs on the entrypoint with that load balancer's addresses, so Traefik does not trust forwarded headers from arbitrary clients.
Firewall
Open TCP ports 80 and 443 for the Traefik address only. In nftables:
ip6 daddr 2001:db8:100:10::40 tcp dport { 80, 443 } accept Keep the dashboard off the public entrypoints. If you enable it, bind it to a separate entrypoint on a management address, for example [2001:db8:100:5::40]:8080, and allow that port only from your management network. The dashboard reveals every router and service Traefik knows, which is useful to you and to anyone mapping your systems.
Protect acme.json too. It holds the private keys for your certificates, and Traefik refuses to use it unless its permissions are 600.
The prefix behind the proxy
Traefik's address is reachable from the Internet once your /48 is announced and accepted, which requires the LOA from the IPYE client portal and the ROA IPYE creates.
Next step
Claim a free /48, give Traefik its own address, and keep exposedByDefault off so only labelled services become public. Questions: ipye@turnel.com.
About IPYE
IPYE (https://ipye.com) leases IPv4, IPv6 and ASN space with instant setup. Your first IPv6 /48 is free for the first year, a real allocation you can announce on your own ASN, with a LOA from the portal and the ROA created automatically. ASN and region changes apply automatically. IPv4 /24 to /22 leases include LOA, ROA and per-/24 rDNS; WHOIS is editable on IPv6 /44 and larger. Locations: Los Angeles, New York, Ashburn, Salt Lake City, London, Amsterdam, Frankfurt. Claim your free /48: https://my.ipye.com/products/ipv6-rental. Questions: ipye@turnel.com.
Disclosure: I run IPYE



