cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
0
Helpful
5
Replies

Problems with NAT in ASA5505

guigonza
Level 1
Level 1

Hi everybody ...


Please your help and suggestions in this case.

I have an Internet connection from an ISP, they gave me the fiber optic connection of 3Mbps.

The ISP gave us the following information:

ip address in fiber optics:   10.120.2.88 / 30.  We used the 10.120.2.90 and the ISP site has 10.120.2.89.

internet public addresse:  190.X.Y.Z / 29.

In the JPG attached you can see the schema.


The interfases configuration:

interface Vlan1
  nameif inside
  security-level 100
  ip address 192.168.21.254 255.255.255.0
!
interface Vlan2
  nameif outside
  security-level 0
  ip address 10.120.2.90 255.255.255.252
!
interface Ethernet0/0
  switchport access vlan 2
!
interface Ethernet0/1
!

1-.     I had configured the global and nat commands for Internet access of inside network:

global (outside) 1 190.X.Y.89 netmask 255.255.255.248
nat (inside) 1 192.168.21.0 255.255.255.0

2-.     I configured and tested the static command with internal server for internet access.

static (inside,outside) 190.X.Y.90 192.168.21.26 netmask 255.255.255.255


with some access-list to permit access to some services.

This two configurations worked good.

But I need to assign an public (legal) internet address to the firewall because we need VPN remote access and VPN L2L with other office.

I don't know how to configure the firewall for this.

I tried making an static with firewall inside interface and opening the access, with "debug icmp trace" I could see the test icmp packets arrive to inside interface but the inside interface doesn't answer.

I just need to configure the firewall for VPN access...   Any suggestions ???

Thanks in advance ...

5 Replies 5

Jennifer Halim
Cisco Employee
Cisco Employee

You would need to configure the static 1:1 translation for the ASA outside ip address (10.120.2.90) to one of your public ip address on the router in front of the ASA for VPN to work.

You can only terminate VPN on the outside interface of your ASA as outside interface is where the default gateway is, and since your outside interface is assigned private ip address, you would  need to configure static translation on the router in front of the ASA for the ASA outside interface IP.

Hope that helps.

Thanks halijenn ...

But how do I make the static with outside ?,  the IP 10.120.2.90 is in outside interface, but the internet public address ?

Would you show the possible command ?

THX.

The static NAT translation needs to be done on the router, not on ASA.

So on the router, you should configure the following:

ip nat inside source static 10.120.2.90

Then, "ip nat inside" on the router interface connected to the ASA outside interface, and "ip nat outside" on the router interface connected to the Internet.

Ok ...

But, we don't have the router, the ISP gave us the ethernet connection with private ip address and the public addresses.

The schema attached has an error, the router icon is the firewall.  The firewall is connected directly to ISP private ip address, we don't have the router.

any suggestion ... ?

Unfortunately there is nothing much you can do if that is the case. ASA does not support virtual IP for VPN termination. Only IOS router supports that as you can configure loopback interface for VPN termination, not on ASA.

VPN on ASA needs to be terminated on the interface connected to the Internet, and in your case, it's the outside interface. The only way is to ask your ISP to change the private ip subnet link between the ASA outside interface and the ISP to public ip subnet so it's routable.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: