Solved

NAT on Cisco ASA

Posted on 2014-02-17
4
539 Views
Last Modified: 2014-02-18
HI

I have to nat entries on my asa firewall.

Nat (inside,outside) source static pc_01 interface
Nat (inside,outside) source static pc_02

Object network pc_01
host 192.168.1.1
Object network pc_02
host 192.168.1.2

Only one nat entire works at a time basically the first entry.
How can I make both work?
0
Comment
Question by:ciscosupp
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:ffleisma
Comment Utility
basically you are statically NATing pc_01 to outside interface IP, which is one is to one NAT translation. that is why the second one is not working. use dynamic NAT

Try the following:

no nat (inside,outside) source static pc_01 interface
no nat (inside,outside) source static pc_02

nat (inside,outside) source dynamic pc_01 interface
nat (inside,outside) source dynamic pc_02 interface
0
 

Author Comment

by:ciscosupp
Comment Utility
Thanks it works but does the Nat statement still mean only 192.168.1.1 and 192.168.1.2 is nated to outside. Please advice
0
 
LVL 9

Accepted Solution

by:
ffleisma earned 500 total points
Comment Utility
yes it means, only both 192.168.1.1 and 192.168.1.2 are NATed to the ouside interface IP.

If you need the entire subnet 192.168.1.x/24, it would look something like this.

object network obj_192.168.1.0-24
 subnet 192.168.1.0 255.255.255.0

nat (inside,outside) source dynamic obj_192.168.1.0-24 interface

let me know if this helps or if you need something different.
0
 

Author Closing Comment

by:ciscosupp
Comment Utility
thanks perfect :-)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
This is about downgrading PIX Version 8.0(4) & ASDM 6.1(5) to PIX 7.2(4) and ASDM 5.2(4) but with only 64MB RAM and 16MB flash. Background: You have a Cisco Pix 515E which was running on PIX 7.2(4) and its supporting ASDM 5.2(4) without any i…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now