From e59f5b14f5cb276bc980aee0f1b29e6744bfd884 Mon Sep 17 00:00:00 2001 From: 4bobus Date: Wed, 25 Jun 2025 14:37:39 +0500 Subject: [PATCH] Update nftables.conf --- files/hq-rtr/nftables.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/hq-rtr/nftables.conf b/files/hq-rtr/nftables.conf index ae4a670..4050d77 100755 --- a/files/hq-rtr/nftables.conf +++ b/files/hq-rtr/nftables.conf @@ -35,11 +35,11 @@ table inet filter { table inet nat { chain prerouting { type nat hook prerouting priority filter; policy accept - ip daddr 172.16.4.2 tcp dport 2024 dnat ip to 192.168.100.2:2024 + ip daddr 172.16.40.2 tcp dport 3015 dnat ip to 192.168.100.2:3015 + ip daddr 172.15.40.2 tcp dport 80 dnat ip to 192.168.100.2:80 } chain postrouting { type nat hook postrouting priority srcnat - - oif "ens18" ip saddr { 192.168.100.0/26, 192.168.10.0/28 } masquerade + oif "ens18" ip saddr { 192.168.100.0/27, 192.168.10.0/28 } masquerade } }