nocom-kaboom/nftables.conf

11 lines
451 B
Text
Raw Normal View History

2022-04-21 11:01:32 +00:00
#!/usr/sbin/nft -f
table ip nat {
chain POSTROUTING {
type nat hook postrouting priority srcnat; policy accept;
2022-04-21 11:19:05 +00:00
# /!\ DO NOT CHANGE THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING /!\
2022-04-21 11:20:52 +00:00
# Only change this line if you change the container destination port (the port AFTER the :),
2022-04-21 11:19:05 +00:00
# else IP Addresses will be leaked!!!
2022-04-21 11:01:32 +00:00
tcp dport 25565 snat to 169.254.0.0/16
}
}