make IPv6 optional during install #1118

Closed
opened 2026-04-05 18:19:24 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Xentrice on 8/4/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Following #1111 and #1184.
Installer now asks whether the server is IPv6 capable. Does not disable IPv6 if user choses no, just doesn't enable the IPv6 network for docker. IPv6 connections will still succeed, but will get NATed to the Docker internal IPv4 address.
If needed, this can be changed to actually disable IPv6, for example by changing the Gerbil ports from 443:443 to 0.0.0.0:443:443 conditionally.

How to test?

Test the install with both "yes" and "no".
"enable_ipv6 = true" should be included respectively not included in the docker-compose.yml

*Originally created by @Xentrice on 8/4/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Following #1111 and #1184. Installer now asks whether the server is IPv6 capable. Does not disable IPv6 if user choses no, just doesn't enable the IPv6 network for docker. IPv6 connections will still succeed, but will get NATed to the Docker internal IPv4 address. If needed, this can be changed to actually disable IPv6, for example by changing the Gerbil ports from 443:443 to 0.0.0.0:443:443 conditionally. ## How to test? Test the install with both "yes" and "no". "enable_ipv6 = true" should be included respectively not included in the docker-compose.yml
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1118