„nftables.conf“ hinzufügen
This commit is contained in:
parent
e83917aadb
commit
151bd38baa
1 changed files with 9 additions and 0 deletions
9
nftables.conf
Normal file
9
nftables.conf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/sbin/nft -f
|
||||||
|
|
||||||
|
table ip nat {
|
||||||
|
chain POSTROUTING {
|
||||||
|
type nat hook postrouting priority srcnat; policy accept;
|
||||||
|
# Change the port here if you wish
|
||||||
|
tcp dport 25565 snat to 169.254.0.0/16
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue