port forwarding

Just set up my router on my network that will be in front of my web and email servers.

I’m trying to block some of the spammers. When I’m looking at the logs on the email server it shows the IP address of my router and not the IP address of the server sending the mail to me.

How can I change this so the router will pass the IP of the incoming server and not my internal address?

Reconfigure your source NAT rules so you don’t masquerade that traffic, source NATing it to the router IP address on the LAN interface for traffic coming that way. Usually that’s done by specifying an out-interface=WAN property for the generic source NAT rule you have in place.

If you need more specific help post a network diagram with IP addresses and the output of “/ip address print detail”, “/ip route print detail”, “/interface print”, “/ip firewall export”.

That did it. thanks!