| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Setting up encryption to agree with NAT topology What sort of thing do I need to look out for on system that use both encryption and address translation? Answer For example, let say I have the following network: netA --- (le0) firewallA (le1) -- internet --- (le0) firewallB (le1) -- netB netA is illegal: 10.1.1.0 le0: is 10.1.1.1 le1: is 192.91.18.1 netB is legal: 195.8.5.0 le0: 195.8.1.1 le1: 195.8.5.1 on firewallA: address translation
With IPSec, you can "tunnel" the private addresses through the VPN. The firewalls will encapsulate the private IP address traffic with the IP address of the firewall, so the Internet will only see traffic between routable addresses. To ensure that doesn't happen, add the following NAT rules above your others: Source Destination Service NAT Source NAT Destination NAT Service 10.1.1.1 195.8.5.1 any ORIGINAL ORIGINAL ORIGINAL If that's not possible, you can configure FireWall-1 in this manner. Encryption Domain On firewallA, encryption domain for firewallA needs to have both:
On firewallB, the encryption domain for firewallA needs to have only the legal addresses 192.91.18.2 and 192.91.182.3. Encryption Rule on firewallA: Source Destination Service Action Track Install On 10.1.1.0 195.8.5.0 their-services Encrypt Long Gateways 195.8.5.0 192.91.18.2 & 192.91.18.3 my-services Encrypt Long Gateways As with any kind of address translation, the inspection module see the packets as the originator of the connection sees it. So for the first rule takes care of outgoing connection and the second rule takes care of incoming connection. On firewallB, you also need two rules: Source Destination Service Action Track Install On 192.91.18.2 & 192.91.18.3 195.8.5.0 guest-services Encrypt Long Gateways 195.8.5.0 192.91.18.0 some-services Encrypt Long Gateways Notes that firewallB only knows about legal adresses. A General Commment In general, for a connection from A on netA to B on netB:
-- RobertGraham - 14 Jan 2004 FAQForm FAQs.Class: EncryptionFAQs, NetworkAddressTranslationFAQs FAQs.OS: FAQs.Version: |
![]() |
| Thread Tools | |
| Display Modes | |
| |