SNAT / DNAT Qustion SMTP related

I am in the move to replace the UTM9.

now a got a DNAT / SNAT issues because i have to replace the UTM Mailproxy.

well, i'll try my best to explain this in english.

with the utm mailproxy i did not had the issue , that my private IP adresses get into the wild and my SPF records going wild, because if have

localhost and private IP's in the header.

well, the UTM is still used as firewall but only for firewall / Nat.

now i got a new mailgateway for testing

no changes to the mailsever so far.

mailsever and mailgateway got private IPs.

mailserver does not recive mail at all.

all mails goes to the mailGW via SMTP NAT

BUT

of course every mail now has private ip adresses in the header which kills ( of course) my anti spam rankind fast.

now.. as i said, i am no network guy.

how is the right NAT setup for my problem ?

so the priv addresses get translated to the right public ip's ?

internet network 192.168.0.0/24

DMZ                    192.168.100.0/24

WAN with additional addresses ( public ip's) from provider

  



1
[bearbeitet von: WolfgangS um 6:26 PM (GMT -8) am 20 Feb 2025]