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

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

wsahaydak
Level 1
Level 1

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 1

zulqurnain
Level 3
Level 3

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

Review Cisco Networking for a $25 gift card