„nftables.conf“ ändern
This commit is contained in:
parent
151bd38baa
commit
4e88d5190b
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
table ip nat {
|
table ip nat {
|
||||||
chain POSTROUTING {
|
chain POSTROUTING {
|
||||||
type nat hook postrouting priority srcnat; policy accept;
|
type nat hook postrouting priority srcnat; policy accept;
|
||||||
# Change the port here if you wish
|
# /!\ 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
|
tcp dport 25565 snat to 169.254.0.0/16
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue