this post was submitted on 11 May 2026
0 points (NaN% liked)

Selfhosted

60451 readers
912 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

except for nor using it at all, of course.

So I want to make my homelab IPv6 ready, because I have too much free time, i guess. There are two decisions that I'm currently unsure about:

  1. ULA or not. Do you have local only addresses or do your clients communicate using the global IPv6 address? Does not using ULAs work without a static IP from the ISP?
  2. DHCPv6 or is SLAAC enough?

For each question both options seem to be possible and I'm interested in your experience

Cheers

top 20 comments
sorted by: hot top controversial new old
[–] Decronym@lemmy.decronym.xyz 1 points 1 month ago* (last edited 1 month ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CGNAT Carrier-Grade NAT
DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
DNS Domain Name Service/System
IP Internet Protocol
NAT Network Address Translation
NFS Network File System, a Unix-based file-sharing protocol known for performance and efficiency
SSH Secure Shell for remote terminal access
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

[Thread #284 for this comm, first seen 11th May 2026, 19:20] [FAQ] [Full list] [Contact] [Source code]

[–] nitrolife@hikki.team 1 points 1 month ago* (last edited 1 month ago)

My provider doesn't provide IPv6, but I rented a server in a data center, bought a subnet, and tunneled it home via WireGuard. So the scheme is roughly: VPS (fd00:1::/64) <-> (fd00:1::/64) Home router (realv6/64) <-> Home network

Router configuration:

/etc/sysctl.d/10-ipv6-privacy.conf

net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1

/etc/radvd.conf

interface br0 {
    AdvSendAdvert on;
    MinRtrAdvInterval 3;
    MaxRtrAdvInterval 30;

    AdvManagedFlag on;      # M=1 → Address via DHCPv6
    AdvOtherConfigFlag on;  # O=1 → Additional options via DHCPv6

    # SLAAC is still possible for Android
    prefix realv6::/64 {
        AdvOnLink on;
        AdvAutonomous on;   # Allow SLAAC
    };

    RDNSS realv6::1 {
        AdvRDNSSLifetime 1800;
    };
    DNSSL home.lan {
        AdvDNSSLLifetime 1800;
    };
};

/etc/kea/kea-dhcp6.conf

{
  "Dhcp6": {
    "interfaces-config": {
      "interfaces": [ "br0" ]
    },

    "lease-database": {
      "type": "memfile",
      "persist": true,
      "lfc-interval": 86400,
      "name": "/var/lib/kea/dhcp6.leases"
    },

    "renew-timer": 21600,
    "rebind-timer": 43200,
    "preferred-lifetime": 43200,
    "valid-lifetime": 86400,

    "subnet6": [
      {
        "id": 1,
        "subnet": "realv6::/64",
        "interface": "br0",
        "pools": [
          { "pool": "realv6::1000 - realv6::ffff" }
        ],
        "option-data": [
          { "name": "dns-servers",   "data": "realv6::1" },
          { "name": "domain-search", "data": "home.lan" }
        ]
      }
    ],

    "loggers": [
      {
        "name": "kea-dhcp6",
        "output-options": [
          { "output": "stdout" }
        ],
        "severity": "WARN"
      }
    ]
  }
}

And of course, iptables is necessary. Something like: /etc/iptables/ip6tables.rules

# Generated by ip6tables-save v1.6.0 on Thu Sep  8 13:29:11 2016
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT

*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
#BASE INPUT
-A INPUT -i eno1 -j DROP
-A OUTPUT -o eno1 -j DROP
-A INPUT -i lo -j ACCEPT
-A INPUT -i br0 -j ACCEPT
-A INPUT -p ipv6-icmp -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eno1 -j DROP
-A FORWARD -i br0 -j ACCEPT
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -p ipv6-icmp -j ACCEPT
COMMIT

[–] deadbeef79000@lemmy.nz 1 points 1 month ago

ISP issues a prefix that I delegate.

Also delegate an ULA prefix, intended for stake local addresses but d actually just use ipv4 for those (also had difficulty getting ipv6 to work with microk8s and multus due to inexperience).

SLAAC.

[–] slazer2au@lemmy.world 0 points 1 month ago (1 children)

Don't use ULA, those are non internet routable addresses so they will never use v6 for internet things. Use the range assigned from your ISP.
SLAAC. Because Android has one ass of a dev who refuses to include DHCPv6

[–] i_am_not_a_robot@discuss.tchncs.de 0 points 1 month ago (1 children)

You can use both at the same time and it is useful to have ULA if your ISP changes your assigned prefix.

[–] LaSirena@lemmy.world 1 points 1 month ago

This is what I do. I haven't seen a reason to change it as of yet.

[–] Pika@sh.itjust.works 0 points 1 month ago (2 children)

I don't use IPv6 on my lab. They been screaming to the bleachers since like 2010 that IPv6 is right around the corner due to lack of addresses, and I've still seen no real reason to want to adopt for it.

My current provider doesn't even support it... so why should I?

[–] Bloefz@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

In fact when I was in college taking classes on IPv6 we were told it would be everywhere next year.

This was 1994. Lol

Personally I don't like it because it's too overengineered for me. They should have added 2 bytes to IPv4 and called it a day. That means we would have had the address space of 65536 internets. Really plenty. IPv6 has too much space.

[–] darklamer@feddit.org -1 points 1 month ago (2 children)

My current provider doesn't even support it...

In what kind of godforsaken backwater do ISPs that don't support IPv6 still exist!?

[–] comrade_twisty@feddit.org 1 points 1 month ago (1 children)

Switzerland, we have the best and worst of both worlds. 25GBit Fiber home connections for less than 100 USD per month and ISPs that only support IPv4.

[–] Jenseitsjens@lemmy.world 0 points 1 month ago (1 children)

Which fiber provider doesn't support IPv6? I thought it was only Swisscom mobile and its subsidiary's which don't support it (though from what I heard, even that is in testing now)

[–] comrade_twisty@feddit.org 1 points 1 month ago* (last edited 1 month ago) (1 children)

Small former Gemeinschaftsanntenne in my town and surrounding villages, I don't wanna dox myself so can't tell you the name. They probably have anywhere between 10-20k customers only. But afaik they are just one of many IPv4 only ISPs in Switzerland.

[–] darklamer@feddit.org 1 points 1 month ago

Small former Gemeinschaftsanntenne in my town and surrounding villages,

Ah, I see, that really does sound like a few places I know in Graubünden that wouldn't be all too unfair to call "godforsaken backwater" (when it comes to the internet), despite all their charm. 😉

[–] masterofn001@lemmy.ca 0 points 1 month ago (1 children)

The largest of the 3 carriers in Canada.

Bell.

Does not support ipv6.

[–] anyhow2503@lemmy.world -1 points 1 month ago

I didn't know that Canada was basically Mordor...

[–] JustEnoughDucks@slrpnk.net -1 points 1 month ago

Every discussion I have seen on the subject says that docker ipv6 is pretty busted from a security perspective and you have to implement a bunch of workarounds.

I don't have to time both to migrate to podman (and maybe have to run dual stacks for what isn't available) AND migrate to ipv6. But apparently the way podman does it is also kind of a hacky way (I am far from a networking expert) so I will sit with my pretty decent, secure, and working ipv4 lol

[–] irotsoma@piefed.blahaj.zone -1 points 1 month ago

I can't get IPv6 in any worthwhile form from my ISP. IMHO IPv6 isn't any more useful than IPv4 if you only have ULA. And NAT is not as well supported since it wasn't intended to even be really necessary for example. So even if you are starting from scratch or just using it internally, there are some disadvantages to implementing it over just sticking with IPv6. But if your ISP actually provides IPv6 it might be worth it as long as your devices all support it. But otherwise you're going to need to set up IPv4 in addition, anyway, so you're just going to create problems for no good reason, IMHO.

[–] ITGuyLevi@programming.dev -1 points 1 month ago

IPv6 is disabled at the firewall. I'm just not in a hurry to redo my network.

Personal opinion, IPv6 has been on the table so long it's no longer something I think about. 20 years ago I thought it was going to be amazing.

[–] zewm@lemmy.world -2 points 1 month ago (1 children)

Disabled. IPv6 is slow af whenever I have it on. As soon as I disable it, my bandwidth goes full speed.

I’m not sure what they were thinking with that technology but it’s dead in the water and we need to find a better protocol. It’s also terribly difficult to memorize. The numbering scheme is worse than the Xbox naming scheme.

[–] Magnum@infosec.pub 1 points 1 month ago

Haha this is bait right?