caprover icon indicating copy to clipboard operation
caprover copied to clipboard

Suggestion: Easier IPv6 support

Open dtugend opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe. IPv6 doesn't work well due to the problems with Let's Encrypt implementation: https://github.com/caprover/caprover/issues/143

Describe the solution you'd like Options for IPv6 and a documentation / link on how to enable it in docker daemon config.

Describe alternatives you've considered The alternative would be (additionally to editing docker daemon config, which has to be done either way) to edit the global nginx config and edit the nginx config on every container that needs IPv6 + using the PreDeployment hook to enable IPV6 on the container (not sure if there's an easier way) on each container. The other alternative is disabling IPv6, which will require IPv6-only users to use an IPv6 to IPv4 gateway (not to note that server hosters will start running out of affordable IPv4 addresses soon probably). I have chosen the second alternative for now.

Additional context

  • https://github.com/caprover/caprover/issues?utf8=%E2%9C%93&q=is%3Aissue+IPv6
  • https://en.wikipedia.org/wiki/IPv4_address_exhaustion

dtugend avatar Feb 05 '20 08:02 dtugend

@dtugend Could you please elaborate a little more on your PreDeployment hook solution and how to enable IPv6 on a per-container basis? In my case, IPv6 is enabled in the docker daemon config, but this doesn't change anything for the overlay network created by CapRover all containers are assigned to.

DerBlum avatar Dec 08 '20 15:12 DerBlum

The first alternative was just an idea how I could get it to work, as said above I went for the second alternative and disabled IPV6 for now. Sorry :(

dtugend avatar Dec 08 '20 15:12 dtugend

There are some serious problems with ipv6-only-hosts, that need to be fixed urgently!

Also, in the related closed issues that are marked as duplicates of this one, there are some problems reported that are not even mentioned here. (like the CLI does not allow ipv6 input, ...)

delasource avatar Oct 13 '22 11:10 delasource