From 151bd38baae6017c54cbb315c95b7965449ba4c5 Mon Sep 17 00:00:00 2001 From: Julia Date: Thu, 21 Apr 2022 11:01:32 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Enftables.conf=E2=80=9C=20hinzuf=C3=BCg?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nftables.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 nftables.conf diff --git a/nftables.conf b/nftables.conf new file mode 100644 index 0000000..6e245a2 --- /dev/null +++ b/nftables.conf @@ -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 + } +} \ No newline at end of file