11 lines
428 B
Plaintext
11 lines
428 B
Plaintext
#!/usr/sbin/nft -f
|
|
|
|
table ip 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,
|
|
# else IP Addresses will be leaked!!!
|
|
tcp dport 25565 snat to 169.254.0.0/16
|
|
}
|
|
} |