Solved

Need to Nat a source IP on a Cisco ASA 5520

Posted on 2010-09-16
9
573 Views
Last Modified: 2012-05-10
I need to be able to nat the source ip. The connection is originating on a lower sercurity level port...
(low to high)
0
Comment
Question by:axl13
9 Comments
 
LVL 16

Expert Comment

by:InteraX
ID: 33693695
Do you need to nat the entire IP or just a port?

nat (srcint,dstint) <dstip> <srcip> mask <snmask>
0
 

Author Comment

by:axl13
ID: 33693794
I just need the source IP address nated, not the destination...
0
 
LVL 5

Expert Comment

by:shirkan
ID: 33694744
You always have a destination - Network address translation, translation means 2
You need to be more specific
like if you could post the parts of the config where things need to be done e.g. interfaces, existing static and global / nat statements - just change the ip's for security reasons
0
 

Author Comment

by:axl13
ID: 33694829

Source ip 140.152.14.214 (security level 0)
desttination ip 192.168.179.66 (security level 18)

all ready in place:  static (high, low) 192.168.179.66  192.168.179.66  netmask 255.255.255.255

We need to do a NAT on the source ip from 140.152.14.214 to 192.168.01
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 17

Accepted Solution

by:
Kvistofta earned 500 total points
ID: 33694917
static (outside,inside) 192.168.0.1 140.152.14.214

/Kvistofta
0
 

Author Comment

by:axl13
ID: 33701970
does not translate the source ip address.
0
 
LVL 17

Expert Comment

by:Kvistofta
ID: 33702019
Yes it does.

static (inside,outside) which is the most common usage translates the destination address for traffic coming from outside to inside. For traffic from inside to outside it translates the source address.

The opposite static (outside,inside) translates the source address for trffic coming from outside to inside. For traffic from inside to outside it translates the destination address.

/Kvistofta
0
 

Author Comment

by:axl13
ID: 33702069

static (low,high) xxx.xxx.14.214 xx.xx.0.1 netmask 255.255.255.255

from the logs:

Sep 17 10:41:58  %ASA-6-302014: Teardown TCP connection 399839793 for eport:xxx.xxx.14.214/48377 to oft-ei:xxx.xxx.179.66/8080 duration 0:00:30 bytes 0 SYN Timeout
Sep 17 10:42:05  %ASA-6-302014: Teardown TCP connection 399839936 for eport:xxx.xxx.14.214/48403 to oft-ei:xxx.xxx.179.66/8080 duration 0:00:30 bytes 0 SYN Timeout

0
 

Author Closing Comment

by:axl13
ID: 33755006
I just need to reverse the ip address and it worked... Thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

919 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

16 Experts available now in Live!

Get 1:1 Help Now