Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASA 5510 NAT config 1

Status
Not open for further replies.

jjfbcn

MIS
Apr 19, 2006
15
ES
Hi everybody, we've just bought an ASA5510, now I want to migrate from my Iptables to ASA. The NAT configuration that I have currently in Iptables is that all the servers and workstations translates to 1 public IP, but one specific server translates to another public IP. I don't know if is allowed to put Iptables rules here but I have something like that:

SNAT all -- * eth0 192.168.12.119 0.0.0.0/0 to:111.32.12.21
SNAT all -- * eth0 0.0.0.0/0 0.0.0.0/0 to:111.32.12.22

So the server 192.168.12.119 gets the IP 111.32.12.21 to go through Internet and all the other machines in the network goes through 111.32.12.22.

I'd like to know how to reply this configuration in ASA 5510. Any idea will be wellcome!!

Thank you in advance!
 
Here you go

nat (inside) 1 0.0.0.0 0.0.0.0
global (outside) 1 interface
static (inside,outside) 111.32.12.21 192.168.12.119 netmask 255.255.255.255


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top