Update nftables.conf

This commit is contained in:
4bobus
2025-06-25 14:37:39 +05:00
committed by GitHub
parent 483e1bc7e5
commit e59f5b14f5

View File

@@ -35,11 +35,11 @@ table inet filter {
table inet nat { table inet nat {
chain prerouting { chain prerouting {
type nat hook prerouting priority filter; policy accept 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 { chain postrouting {
type nat hook postrouting priority srcnat type nat hook postrouting priority srcnat
oif "ens18" ip saddr { 192.168.100.0/27, 192.168.10.0/28 } masquerade
oif "ens18" ip saddr { 192.168.100.0/26, 192.168.10.0/28 } masquerade
} }
} }