cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
573
Views
0
Helpful
1
Replies

Help with "conditional" PAT

nelson.mendes
Level 1
Level 1

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

1 Reply 1

Emmanuel Valdez
Level 3
Level 3

Hi,

You can use a route-map but first you have to setup the correct acl to point the smtp and pop ports to be used only for the email server, by the momment you can use another static nat for the port 110 that use pop3 mapping the email server.

If you are interested on the route-map option please let me know.

Regards.

Sent from Cisco Technical Support iPhone App