Skip to content

util/linuxfw: fix IPv6 nat for nftables (cherry-pick) - #12123

Merged
irbekrm merged 1 commit into
release-branch/1.66from
irbekrm/ch_ipv6nat
May 14, 2024
Merged

irbekrm merged 1 commit into
release-branch/1.66from
irbekrm/ch_ipv6nat

Conversation

@irbekrm

@irbekrm irbekrm commented May 14, 2024

Copy link
Copy Markdown
Contributor

Cherry-pick of #12009

* util/linuxfw: fix IPv6 NAT availability check for nftables

When running firewall in nftables mode,
there is no need for a separate NAT availability check
(unlike with iptables, there are no hosts that support nftables, but not IPv6 NAT - see #11353).
This change fixes a firewall NAT availability check that was using the no-longer set ipv6NATAvailable field
by removing the field and using a method that, for nftables, just checks that IPv6 is available.

Updates #12008

Signed-off-by: Irbe Krumina <[email protected]>
(cherry picked from commit 7ef2f72)
@irbekrm irbekrm changed the title Irbekrm/ch ipv6nat util/linuxfw: fix IPv6 nat for nftables (cherry-pick) May 14, 2024
@irbekrm
irbekrm requested a review from nickoneill May 14, 2024 08:00
@irbekrm
irbekrm merged commit 9d2768a into release-branch/1.66 May 14, 2024
@irbekrm
irbekrm deleted the irbekrm/ch_ipv6nat branch May 14, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants