CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 Platforms > Check Point VPN-1 Edge Appliances
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-11-10
Junior Member
 
Join Date: 2008-08-04
Posts: 3
Rep Power: 0
tobbela has an average reputation (10+)
Default Edges with equal local networks in same VPN community

I have a central Check Point VPN-1 gateway with a VPN community which has all my UTM-1 Edges.

Now I have to connect two partner companies with Edges, but unfortunately they use the same internal network (192.168.1.0/24) and I can't bring them to change that.

What we need is access to a single system behind every Edge.

I came up with creating two new networks with 172.17.10x.0/24 ip addresses, which are not used elsewhere.

Then I defined these networks as encryption domain for the Edge object in SmartCenter. I also defined NAT rules for the Edges so that when I access the new NAT address, for example 172.17.101.4, it is translated on the Edge.

So I can use different NAT networks for the Edges and they can keep their overlapping local networks, as they don't appear in the VPN.

But here's the catch:
It's a one-way-VPN! When I send packets from the central network to a NAT address, the packet is encrypted and decrypted properly and reaches to destination server after NAT on the Edge.

A return packet is send but this one never reaches the sender, as it is send unencrypted.

I think that VPN is done before NAT on the Edge.
So the Edge doesn't know that a answer packet with this specific source and destination has to be encrypted, since only the destination network is defined for VPN as NAT hasn't taken place yet.

I thought about defining the NAT network and the local network as internal encryption domain on the Edge using

add vpn internal-encryption-domain ranges iprange 172.17.101.0-172.17.101.255
add vpn internal-encryption-domain ranges iprange 192.168.1.0-192.168.1.255

so that the Edge thinks that this packet has to be encrypted and afterwards performs NAT.

Can anybody tell me if this is going to work or how I can accomplish my goal to have to locations with the same local network behind the Edge in the same VPN?
Reply With Quote
  #2 (permalink)  
Old 2008-11-12
Senior Member
 
Join Date: 2006-01-25
Posts: 1,004
Rep Power: 4
melipla has an average reputation (10+)
Default Re: Edges with equal local networks in same VPN community

You could try that. I'm a little surprised that it's not statefully being NAT'ed & Encrypted back to you, but it is an awkward configuration you have. Are you at least seeing the traffic being NATed even though its not being encrypted?

If it doesn't work then I'd suggest doing the NAT on the internal switch & not the Edge device. It should be fairly easy to write an ACL for it.
__________________
Its all in the documentation.
Reply With Quote
  #3 (permalink)  
Old 2008-11-13
Junior Member
 
Join Date: 2008-08-04
Posts: 3
Rep Power: 0
tobbela has an average reputation (10+)
Default Re: Edges with equal local networks in same VPN community

I sorted things today:

The packet is not encrypted, but NATed anyway.

For my purpose, hiding the same local networks behind two Edges, I did the following:

I created two Edge objects in SmartDashboard and attached a group with networks as encryption domain to them.

These groups contain each the duplicate network (192.168.x.0/24) and the network that I want to use for NAT.

With this configuration I'm able to access machines in the 192.168.x.0/24 network through a NAT ip on the Edges.
And the traffic back is considered for encryption by the Edge, NATed and THEN encrypted with the NAT ip as source.

The only catch is, that I can't use the 192.168.x.0/24 network in question anywhere else in my firewall since it's no known.

Oh, funny side effect: a tunnel between my main site and the 192.168.x.0/24 network can be established. But it's established with the same Edge every time.

I haven't figured out yet why, I suggest that it's the first Edge with this network in the objects_C
Reply With Quote
  #4 (permalink)  
Old 2008-11-13
Senior Member
 
Join Date: 2006-01-25
Posts: 1,004
Rep Power: 4
melipla has an average reputation (10+)
Default Re: Edges with equal local networks in same VPN community

Quote:
Originally Posted by tobbela View Post
I haven't figured out yet why, I suggest that it's the first Edge with this network in the objects_C
Ah you're probably on to something with that guess. Reading through your reply made me think of something. If you're only accessing one host and that host is on a different IP at each site, then you could probably get by with using the real IP of the host. Instead of adding the entire 192.168.x.x to the VPN domain, only add the host & now there's no overlap & no worries regarding NAT.
__________________
Its all in the documentation.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 01:24.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0