From 1db53e0999cc47a9c9973b6895d6f70b10f81755 Mon Sep 17 00:00:00 2001 From: 4bobus Date: Wed, 25 Jun 2025 14:25:09 +0500 Subject: [PATCH] Update nftables.conf --- files/br-rtr/nftables.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/files/br-rtr/nftables.conf b/files/br-rtr/nftables.conf index c504fd2..350f175 100755 --- a/files/br-rtr/nftables.conf +++ b/files/br-rtr/nftables.conf @@ -35,12 +35,11 @@ table inet filter { table inet nat { chain prerouting { type nat hook prerouting priority filter; policy accept - ip daddr 172.16.5.2 tcp dport 2024 dnat ip to 192.168.200.2:2024 - ip daddr 172.16.5.2 tcp dport 80 dnat ip to 192.168.200.2:8080 + ip daddr 172.16.50.2 tcp dport 3015 dnat ip to 192.168.200.2:3015 + ip daddr 172.16.50.2 tcp dport 80 dnat ip to 192.168.200.2:8080 } chain postrouting { type nat hook postrouting priority srcnat - - oif "ens18" ip saddr { 192.168.200.0/27 } masquerade + oif "ens18" ip saddr { 192.168.200.0/28 } masquerade } }