Hello, I have a customer that have a mail server on LAN. In the router that connect to Internet I configured a static nat:
« ip nat inside source static tcp PRIVATE_IP 25 PUBLIC_IP 25 extendable »
The customer receives e-mails from outside but, when they send an e-mail, the mail server uses another port that not 25 so, the router nats the connection to Public WAN IP address of the router and not the PUBLIC_IP from the static nat.
The customer wants to use the PUBLIC_IP from the static nat configuration when they send an e-mail.
It seems to me that it should be something like conditional nat. Any request from that specific PRIVATE_IP server to any on port 25, the router should nat to PUBLIC_IP (not the wan public IP fo the router).
Any ideas ? Route-map ?
Best regards