turn nftables dualstack
this should hopefully work, if you have issues open a ticket.
This commit is contained in:
parent
a74bac9e6a
commit
503124a2e8
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
#!/usr/sbin/nft -f
|
#!/usr/sbin/nft -f
|
||||||
|
|
||||||
table ip nat {
|
table inet nat {
|
||||||
chain POSTROUTING {
|
chain POSTROUTING {
|
||||||
type nat hook postrouting priority srcnat; policy accept;
|
type nat hook postrouting priority srcnat; policy accept;
|
||||||
# /!\ DO NOT CHANGE THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING /!\
|
# /!\ 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 :),
|
# Only change this line if you change the container destination port (the port AFTER the :),
|
||||||
# else IP Addresses will be leaked!!!
|
# 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
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue