Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Can you set two different NAT's for 1 internal IP depending on destination

ASA 5520

Here is my situation, I have an internal FTP server that is NAT'd to address a.b.c.d for purposes of recieving FTP's from the outside world via a DNS entry for our domain. That same server I need to FTP out to a vendors site, here is the catch, our vendor will only look for one IP address and we have multiple servers that connect to them, all the rest are using our deafault outgoing address of w.x.y.z, is there a way to have this server NAT to w.x.y.z when connection to our vendors IP but NAT to a.b.c.d for all other conections ?

1 REPLY
Bronze

Re: Can you set two different NAT's for 1 internal IP depending

hello,

sure it's pretty easily possible

//to allow traffic using acl)

access-list vendorone permit tcp host abcd host xxxx eq 21

access-list vendortwo permit tcp host wxyz host yyyy eq 21

//to nat

nat (inside) 10 access-list vendorone

nat (inside) 20 access-list vendortwo

//to specific which ip to nat

global (outside) 10 192.168.1.1

global (outside) 20 172.20.1.1

or you can directly nat

nat (inside) 10 >ip you want to nat<

global (outside) 10 >ip you want to be natted to<

HTH, PRI

125
Views
0
Helpful
1
Replies
CreatePlease to create content