09-25-2020 12:35 PM
Are there any resources available on how to setup an asav in Azure and get a simple static nat to a web server working?
I am evaluating the asav for our new saas product but I just can't seem to get this simple example to work.
I have followed the cisco Getting Started Guide and have deployed an asav with 4 interfaces (outside, inside, dmz, management). I also setup a web server in the inside subnet with a static ip. I then added a secondary public ip to the outside nic, using the azure portal, and mapped it to a private static ip on the outside subnet.
I next setup a static nat from the secondary outside ip to the inside ip of the web server. I then added an acl to the outside interface allowing traffic to access the inside webserver's ip. I ran a test with the cli Packet-Tracer and it says everything is allowed.
When I try to hit the website through the public ip the asav is allowing the syn to reach the web server (verified on the webserver). However the syn-ack is not reaching my test pc. I have used the packet capture tool in asdm to verify the packet is arriving at the asav. By default it was not, I had to add a new default UDR to the inside azure routing table pointing at the asav. Once I added that UDR the syn-ack makes it to the asav's inside interface, but that's it. Packet capture is not showing any traffic leaving the outside interface back to my PC.
I'm guessing I have something configured wrong in Azure but I can't find any more documentation of what a fully correct setup looks like. Does anyone have any more information they can point me at?
Thanks,
Paul
09-25-2020 12:45 PM
we need to have your ASA config and where PC location and IP address in the network to guide correctly
here is sample guide will help you understanding :
https://www.cisco.com/c/en/us/td/docs/security/asa/asa95/asav/quick-start/asav-quick/asav-azure.html
09-25-2020 02:08 PM - edited 09-25-2020 03:03 PM
I have attached the running config.
Here is my network setup in Azure.
VNet - 10.0.0.0/16
Management Subnet - 10.0.0.0/24
Inside Subnet - 10.0.1.0/24
Outside Subnet - 10.0.2.0.24
DMZ Subnet - 10.0.3.0/24
Management NIC static private ip - 10.0.0.4
Inside NIC static private ip - 10.0.1.4
Outside NIC static private ip - 10.0.2.4
DMZ NIC static private ip - 10.0.3.4
secondary public ip added to outside NIC with ip 40.122.x.x mapped to private ip 10.0.2.10
WebServer private ip in inside subnet - 10.0.1.5
UDF added on Inside-ASAv-RouteTable
address prefix - 0.0.0.0/0,
next hop type - Virtual Appliance
next hop id - 10.0.1.4
All other routing tables have no UDFs
The pc im using to access the webserver is coming in from the internet via the 40.122.x.x ip.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide