NAS-131573 / 25.04 / Default to accept policy for IPv6 forward chain #14632
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR restores IPv6 connectivity in VMs when enabling Docker.
It's basically the same as the following PR, but for IPv6:
The fix was confirmed working on TrueNAS Scale 24.10-RC.1 and 24.10-RC.2 systems.
The PR targets master / 25.04, but it should also really be backported to 24.10.
JIRA URL: https://ixsystems.atlassian.net/browse/NAS-131573
See both of my recent comments in the JIRA ticket for more details on the underlying issue: comment 1, comment 2.
This is the Moby GitHub issue tracking the underlying bug:
Like mentioned in the JIRA ticket above, an alternative approach would be to add
"ip6tables":false
here to restore the behavior of previous Docker versions which do not modify the default policy toDROP
for IPv6.However, the "workaround" is already in place for IPv4, so I'd also use the same method for IPv6.