From 503124a2e8f17978f3f810a1bb63ecf954b9d20c Mon Sep 17 00:00:00 2001 From: Julia Logan Date: Fri, 24 Feb 2023 18:43:57 +0000 Subject: [PATCH] turn nftables dualstack this should hopefully work, if you have issues open a ticket. --- nftables.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nftables.conf b/nftables.conf index f024a92..3393d46 100644 --- a/nftables.conf +++ b/nftables.conf @@ -1,11 +1,12 @@ #!/usr/sbin/nft -f -table ip nat { +table inet nat { chain POSTROUTING { type nat hook postrouting priority srcnat; policy accept; # /!\ DO NOT CHANGE THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING /!\ # Only change this line if you change the container destination port (the port AFTER the :), # else IP Addresses will be leaked!!! - tcp dport 25565 snat to 169.254.0.0/16 + tcp dport 25565 snat ip to 192.0.2.0/24 + tcp dport 25565 snat ip6 to 2001:db8::/32 } } \ No newline at end of file