Begginer with hosting on ipv6 : What do I need to do ? reddit / selfhosted ---------------------------------------------------------------------- LeVraiRoiDHyrule · 2023-11-16 21:36 Hi, My home server is currently entirely hosted ipv4. I am hosting my services in docker containers, with Caddy as my reverse proxy. I have my domain at OVH. My ISP is Orange France. I have a A record with my public ipv4 at OVH, and CNAME for my subdomains. I have a public NAT ipv4 at Orange. But I will move abroad, taking my home server with me, and every ISP in that country (Switzerland) is entirely ipv6. (Yes, there is some like Init7 that does provide ipv4 but with an additional cost). So I'm looking to host with ipv6. But I can't find easy information for begginer. So my questions are the following : 1. Do I need to do this : [https://docs.docker.com/config/daemon/ipv6/ ](https://docs.docker.com/config/daemon/ipv6/) . I only want my server on the internet to go through ipv6, I don't care if the container addresses on my docker virtual networks are ipv4. But I can't find if that is required or not. 2. Do I need to open firewall rules on my router ? Do I have to do an equivalent of NAT/PAT rules for ipv4 but for ipv6 ? How is it called ? 3. How do I need to configure my DNS ? I know I need a AAAA record but what ipv6 do I use for this ? My router tells me ipv6 is enabled but I don't know how to recognise if ipv6 are local or on the internet. 4. Is there additional configuration needed ? This is probably very dumb questions but I can't find information that suit my case. It probably is from a misunderstanding of how ipv6 work but I would like to ask for directions because I'm completely lost. Thanks in advance for any answer, have a great day ---------------------------------------------------------------------- Fluffer_Wuffer · 2023-11-16 22:09 Following this, my ISP in the UK is moving new customers to CGNAT, and anybody who upgrades... but they do support IPv6, so I'll be relying on that myself... I'd appreciate if you can share any useful articles or material you find. I can't offer any advise, except to say, be patient and you may need to replace older kit - I work for a big international company, hundreds of offices, only our German operations use IPv6, and even some of the tier-1 networking vendors still have features that have problems with it, or outright don't support it. ---------------------------------------------------------------------- RedditSlayer2020 · 2023-11-16 22:09 Usually you will get a /64 ipv6 subnet from your isp. Your public facing services will need an IP from that subnet. The term dual-stack describes it very well ipv4 and ipv6 are separate network stacks. To turn your ipv4 network services into an ipv6 equivalent you have to enable everything on your system like you did for ipv4 except for masquerading. I'm pretty sure there are great migration guides on the Internet. ---------------------------------------------------------------------- LeVraiRoiDHyrule · 2023-11-16 22:26 Ok I see. But does that mean that even the containers in my docker virtual networks need to be ipv6 ? Can't docker act as a router with ipv6 on the outside and ipv4 on the inside ? What feature do I need to use in my router ? ---------------------------------------------------------------------- RedditSlayer2020 · 2023-11-16 22:34 Ipv4 and ipv6 are distinct network stacks. There are options for what you want to achieve, look up some guides on the Internet. ipv6 isnt really designed for an environment of proxying , masquerading, Nat, cgnat etc. Ipv4 does have some reserved non-routable subnets designed for private networks, ipv6 doesn't. ---------------------------------------------------------------------- LeVraiRoiDHyrule · 2023-11-16 22:46 As always, the problem is not that I didn't search but that I don't know what to search. I am using Caddy, and it appears to be supporting ipv6 but it doesn't work for me currently. I created an AAAA record but I can't reach it. ---------------------------------------------------------------------- WitShortage · 2023-11-17 10:38 Do you mind sharing which ISP that is? ---------------------------------------------------------------------- Fluffer_Wuffer · 2023-11-17 11:41 Community Fibre, they're one of the newer FTTP providers, mainly servicing London from what I can tell.. but similar companies are popping up all over the place. Don't get me wrong, their service has been fantastic, and support is also really expedient... My only complaint is the CGNat. As an existing customer I still get a dynamic IP, but twice now, I've "accidently" been moved to the CGNat, and have to call them to fix it. ---------------------------------------------------------------------- WitShortage · 2023-11-17 12:58 Cool, thanks for that. I’m with Virgin, but we’ve just had FTTP installed in our street, so I’m looking at options ---------------------------------------------------------------------- Fluffer_Wuffer · 2023-11-18 14:18 FTTP is awesome, none of this "oh you neighborhood is busy".. and touch wood, I've had no outage lasting days! But I kept Virgin as a backup, downgrading to the most basic package... I've considered ditching it, but the day I disconnect Virgin, I'll probably start having issues with the FTTP.