this post was submitted on 25 Oct 2023
4 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I recently got a small pc for my Jellyfin Server.

Ideally, I want to reach it from everywhere, but alas, I got no static Ipv4 Address with which I am more familiar.

Can I just expose my Ipv6 Address through that damned Vodafone and use the IP Address together with the Port, or do I need an DNS with AAAA record?
And are there any pitfalls I need to take care of?

I am definitely not the most experienced Dude when it comes to these things, so I would appreciate it if you could hold my hand here a little bit :)

you are viewing a single comment's thread
view the rest of the comments
[–] StrawberryPigtails@lemmy.sdf.org 2 points 1 year ago (1 children)

I’ve actually been looking into this some myself. There seems to be nothing in terms of documentation or walk throughs aimed at the average home based self-hoster.

I haven’t tried setting my home systems up with IPv6 yet, been working on other projects, but here is what I have figured out so far.

While they are not compatible with each other, IPv6 is essentially a 1 for 1 drop-in replacement for IPv4. The symbols are different, but they do the exact same thing in the exact same way with DNS still only providing the server’s “phone number” and the client saying which port it wants. Instead of an A record, you would use an AAAA record at the DNS provider to point to your server.

This is fine and straight forward if your running off a VPS, just point the DNS to your server’s IPv6 address. Where I’m lost at is what happens when IPv6 packets hits your home network.

Unanswered Questions:

  • Are my home servers behind a NAT firewall or is the server’s address that I get from my gateway (IPv6) directly accessible from the internet.
  • If I’m behind a NAT, how do I designate the port number in my reverse proxy config (Caddy Server in my case).
  • If the server’s address is directly accessible via the internet without a firewall at the router, WTF is my ISP thinking!?
[–] elmicha@feddit.de 1 points 1 year ago

I don't know how it works with your or OP's router, but my router has a firewall for IPv6, too. There's no NAT for IPv6, so if I open a port I have to use the server's IP address, and that's also the IP address that I have to use from the outside.