this post was submitted on 23 Apr 2026
18 points (100.0% liked)

Selfhosted

56957 readers
375 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I host an openVPN server, from an IPv4 network/public IP. I also have a domain that points to that public IPv4 address and nothing else. (there's some subdomains behind cloudflare, but the base domain just has an A record pointed at my public ipv4, no AAAA records.)

Lately, I've noticed my connection dramatically slows down while on mobile data and the server IP address displayed in the VPN client is NOT the address my domain points to. It is instead, an IPv6 address that I do not recognize.... I do still have a connection, which gives me access to my private services, so I am successfully reaching my server.

What could be causing this? Would this be something to do with IPv6 (my phone) -> IPv4 (my server)?

I can manually specify my IPv4 address in the openvpn client and get a connection, so why would it retrieve and use an IPv6 address? Where is that address even comming from, it's not in my DNS...?

/edit:

openvpn-status.log shows the remote client as connected from an ipv4 address which matches what comes up at whatismyipaddress.com viewed from the client while disconnected from the VPN. (it displays both an IPv6 and an IPv4 for the phones mobile data connection, openvpn sees the ipv4 when connected)

So the server sees the phones IPv4 as the source of the connection, but the phone is using an IPv6 address I don't recognize to reach the server...

you are viewing a single comment's thread
view the rest of the comments
[–] frongt@lemmy.zip 2 points 2 weeks ago

IPv6 is exactly the same as IPv4, just that the addresses are written with hex. Routing and subnetting and everything is exactly the same. (Also you can have exactly one double-colon, which expands to the necessary number of zeroes, purely for human ease of use.)

The only big difference is that DHCP isn't really a thing. Yes there's DHCPv6, but it's not the end of the story. There's also SLAAC and other stuff. Ideally your provider assigns you a big subnet and your devices use smaller networks or addresses from there.