nocom-kaboom/nftables.conf
Julia Logan 503124a2e8 turn nftables dualstack
this should hopefully work, if you have issues open a ticket.
2023-02-24 18:43:57 +00:00

12 lines
512 B
Plaintext

#!/usr/sbin/nft -f
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 ip to 192.0.2.0/24
tcp dport 25565 snat ip6 to 2001:db8::/32
}
}