Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1243
  • Last Modified:

Lan 2 Lan vpn Cisco ASA 5505 with NAT

Hi all

i am currently trying to configure a LAN 2 LAN (site to site) vpn between a cisco ASA 5505 and a cisco 3845 router. I only have access to the ASA.

I usually just use the site to site vpn wizard and it works great but now the other guy (on the 3845) is asking me to enable NAT before the encryption (config will be like this : inside--NAT--cryptomap--L2L--cryptomap--NAT--inside).

I am not quite proficient with this kind of configuration. Can someone help?

Thx in advance

0
inf2300
Asked:
inf2300
  • 4
  • 2
2 Solutions
 
cosmicfoxCommented:
You can do this by breaking it down into two steps, first configure your nat rule so lets say your source ip is 192.168.1.x and you need to nat to 10.1.1.x, setup your nat rule according. Then when you setup your site to site the source ip will be your natted ip of 10.1.1.x. The way it works is a nat rule will be kicked off before the ipsec will send the traffic over the tuennl.

Hope this helps, let me know if you need any more information.
0
 
inf2300Author Commented:
So the nat will get executed before it encrypts the traffic?

Thx for the info, I will try that tomorrow
0
 
cosmicfoxCommented:
Yes nat is done before crypto. here is a link to the order of operation.

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080133ddd.shtml 
0
Independent Software Vendors: 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!

 
inf2300Author Commented:
So how should the nat configurations and access-list go?

Lets say these are my different ranges

inside range : 192.168.2.0/24
my public ip : 5.5.5.5

their peer ip : 6.6.6.6
their inside public ip range : 138.11.16.0/24
their inside range : unknown

So if I get this right, the other guy has this setup : (6.6.6.6)router-----(138.11.16.0/24)firewall------(unknown private range)inside

He told me to NAT my subnet first for security reasons...

I understand the principles, just not sure how to apply it...

Usually, I just exempt the 2 protected subnet from the NAT...



0
 
inf2300Author Commented:
nevermind I just figured it out and make it work
0
 
inf2300Author Commented:
thx for your help!!
0

Featured Post

The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now