<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to define site to site encryption domain with twice-nat in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/How-to-define-site-to-site-encryption-domain-with-twice-nat/m-p/186760#M31202</link>
    <description>&lt;P&gt;Your local encryption domain should always include the hosts that will need to communicate through the VPN (before NAT).&lt;BR /&gt;It does not need to include the IPs the hosts will be NATted to.&lt;BR /&gt;Your remote encryption domain will include the IP addresses that the hosts will connect to (again, before the remote gateway does NAT).&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 20:26:16 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-07-18T20:26:16Z</dc:date>
    <item>
      <title>How to define site to site encryption domain with twice-nat</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-define-site-to-site-encryption-domain-with-twice-nat/m-p/186612#M31167</link>
      <description>&lt;P&gt;I need to set up multiple vpn star communities peered to an Azure Cloudguard R80.40 cluster. These tunnels are being migrated from an existing Cisco ASA that is performing twice-nat to separate the local network from the remote public ranges. The remote peers will be various third party appliances, and some private networks may overlap my organization's private networks and each other's. Therefor we have a public range of IP addresses that we are using for NAT. The peer organizations have the same on their side.&lt;/P&gt;&lt;P&gt;In this example assume the local source is coming from a 192.168.0.0/16 subnet and all others are /24.&lt;/P&gt;&lt;DIV&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Src (local private)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Destination (local private)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Translated source (local public)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Translated dst (remote public)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Partner private&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;192.168.a.a&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;x.x.x.x&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;y.y.y.y&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;z.z.z.z&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;192.168.b.b&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the return traffic should look something like this.&lt;/P&gt;&lt;DIV&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Src (remote public)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Destination (local public)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Translated src (local private)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Destination (actual IP)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;z.z.z.z&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;y.y.y.y&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;x.x.x.x&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;192.168.a.a&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unsure how the encryption domain works with the twice-nat going both directions. Is this setup possible with Check Point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;What is the best way to define the VPN domain for the cluster object VPN domain? The VPN domain is set to a user defined Network Group. Some of the other communities may not need the twice nat and will target local IP addresses without translation, so it seems that the local subnets would need to be included in the group. If NAT translation happens before link selection, does the y.y.y.0/24 network need to be included in the VPN domain, or does that interfere with return traffic?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;What is the best way to define the VPN domain for the individual community? Only include z.z.z.0/24? Or include the translated x.x.x.0/24? &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Will NAT rules like this work?&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="twicenat.jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/21764i3FC73654D1F2FD31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="twicenat.jpg" alt="twicenat.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 14:16:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-define-site-to-site-encryption-domain-with-twice-nat/m-p/186612#M31167</guid>
      <dc:creator>Chopper</dc:creator>
      <dc:date>2023-07-17T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to define site to site encryption domain with twice-nat</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-define-site-to-site-encryption-domain-with-twice-nat/m-p/186760#M31202</link>
      <description>&lt;P&gt;Your local encryption domain should always include the hosts that will need to communicate through the VPN (before NAT).&lt;BR /&gt;It does not need to include the IPs the hosts will be NATted to.&lt;BR /&gt;Your remote encryption domain will include the IP addresses that the hosts will connect to (again, before the remote gateway does NAT).&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 20:26:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-define-site-to-site-encryption-domain-with-twice-nat/m-p/186760#M31202</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-07-18T20:26:16Z</dc:date>
    </item>
  </channel>
</rss>

