Solved

SIte to Site vpn w/ conditional Nat PIX

Posted on 2009-07-08
3
689 Views
Last Modified: 2012-05-07
I am having some issues getting this to work.  I posted a question previously but still have not figured it out so hopefully I can explain it better here.  

We have a site to site vpn tunnel setup with a customer for two of our networks.
192.168.7.0
192.168.100.0

Here is the config in our pix for that tunnel and the corresponding acls:
__________________________________________________________________________

nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0

access-list 103 extended permit ip 192.168.7.0 255.255.255.0 host 198.x.x.x
access-list 103 extended permit ip 192.168.100.0 255.255.255.0 host 198.x.x.x
 
access-list nonat extended permit ip 192.168.100.0 255.255.255.0 host 198.x.x.x
access-list nonat extended permit ip 192.168.7.0 255.255.255.0 host 198.x.x.x

crypto ipsec transform-set des esp-des esp-sha-hmac
crypto map tippmanngroup 1 match address 103
crypto map tippmanngroup 1 set pfs
crypto map tippmanngroup 1 set peer 199.x.x.x
crypto map tippmanngroup 1 set transform-set des

tunnel-group 199.x.x.x type ipsec-l2l
tunnel-group 199.x.x.x ipsec-attributes
 pre-shared-key *
_________________________________________________________________________

I have several other sites that I need to give the customer access to so they can use remote desktop to access these servers.  The ips are listed below.
192.168.40.21
192.168.40.22
192.168.40.24

192.168.6.21
192.168.6.22
192.168.6.24

192.168.50.21
192.168.50.22
192.168.50.24

The issue I have is I nat those to another ip because those networks are already in use on the customers' end.  I would like to nat each one of those ips above to one of our external ip addresses so that any traffic coming from one of the above ips is translated to one of our external ips.  It has to be an external address because of the customers network.  I would like to use the following ips as the external addresses:
66.x.x.1 to 192.168.40.21
66.x.x.2 to 192.168.40.22
66.x.x.3 to 192.168.40.24
66.x.x.4 to 192.168.6.21
etc., etc.


If you need more of the config then please ask.

Thanks,
0
Comment
Question by:joebass47
3 Comments
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 24806063
HI,

I prefer that you use vpn client, it is more safer than nat!

If you want to use nat you configure that:

for examle 192.168.40.21
static (inside,outside) udp 66..x.x.1 3389 192.168.40.21 3389 netmask 255.255.255.255
access-list acl_out remark remote desktop
access-list acl_out extended permit tcp any host 66.x.x.1 eq 3389
access-group acl_out in interface outside

Best regards,
Istvan
0
 

Accepted Solution

by:
joebass47 earned 0 total points
ID: 24807774
I need to open it up for the customers network using the existing vpn tunnel.  I  cant use a client as it is against customers policy.
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 24817765
VPN Client and NAT are not safety criterias to prefer one to another. NATed traffic enters the same encryption tunnel specified by transform-set as VPN client traffic
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I found an issue or “bug” in the SonicOS platform (the firmware controlling SonicWALL security appliances) that has to do with renaming Default Service Objects, which then causes a portion of the system to become uncontrollable and unstable. BACK…
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.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

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

19 Experts available now in Live!

Get 1:1 Help Now