Solved

Need to Nat a source IP on a Cisco ASA 5520

Posted on 2010-09-16
9
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

724 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