> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Aviatrix Gateway to Check Point (R80.10)

> This document describes how to build an IPsec tunnel based Site2Cloud connection between Aviatrix Gateway and Check Point Firewall. To simulate an on-prem Check Point Firewall, we use a Check Point CloudGuard IaaS firewall VM at AWS VPC.

This document describes how to build an IPsec tunnel based Site2Cloud connection
between Aviatrix Gateway and Check Point Firewall. To simulate an on-prem Check
Point Firewall, we use a Check Point CloudGuard IaaS firewall VM at AWS VPC.

<Note>
  If you do not have access to AWS, you can simulate an on-prem Firewall by
  deploying the Palo Alto Firewall in any other cloud (such as Microsoft Azure,
  Google Cloud Platform, or Oracle Cloud Infrastructure).
</Note>

The network setup is as follows:

**VPC1 (with Aviatrix Gateway)**

*VPC1 CIDR: 10.12.0.0/16*

*VPC1 Public Subnet CIDR: 10.12.0.0/23*

*VPC1 Private Subnet CIDR: 10.12.2.0/23*

**VPC2 (with Check Point Security Gateway)**

*VPC2 CIDR: 10.24.0.0/16*

*VPC2 Public Subnet CIDR: 10.24.0.0/23*

*VPC2 Private Subnet CIDR: 10.24.2.0/23*

## Launching Check Point Security Gateway VM

Launch a CheckPoint VM with at least two network interfaces. One interface
serves as a WAN port and is in VPC2's public subnet. The other interface serves
as a LAN port and is in VPC2's private subnet. Collect the public IP address of
the WAN port.

<a id="creating-external-connection" />

## Creating an External Connection

1. In Aviatrix CoPilot, launch an
   <a href={"/docs/enterprise/" + "10.1" + "/reference/ui/cloud-fabric/gateways#view-transit-gateways"}>Aviatrix Transit Gateway</a>
   in VPC1's public subnet. Collect both the public and private IP address of
   the Gateway.

2. Navigate to Networking > Connectivity > External Connections (S2C) and click
   **Add New** to create a Site2Cloud connection (selecting Pre-Shared Key)
   using the values for one of the below options:
   * [Static Route-Based](https://legacy.docs.aviatrix.com/documentation/latest/network/external-connection-create-static-route-based-unmapped.html)
   * [Static Policy-Based](https://legacy.docs.aviatrix.com/documentation/latest/network/external-connection-create-static-policy-based-unmapped.html)

3. Substitute the following values:
   * Remote Device Type: Generic
   * Algorithms: turn Off
   * Remote Device IP: Public IP of the Check Point VM WAN port
   * Remote Subnet CIDR(s): 10.24.2.0/23 (VPC2 private subnet)
   * Local Subnet CIDR(s): 10.12.2.0/23 (VPC1 private subnet)

4. After the connection is created, select the vertical ellipsis
   <img src="https://mintcdn.com/aviatrix-14b37c43/VY6W0iTAMUQkrobS/images/security/threedot.png?fit=max&auto=format&n=VY6W0iTAMUQkrobS&q=85&s=9498dd71f99faa81563f9d3f0baf4463" alt="vertical ellipsis icon" className="inline-icon" width="24" height="34" data-path="images/security/threedot.png" />
   menu for that connection and select **Download Configuration**.

5. Select **Generic** from the **Vendor** dropdown list and click the
   **Download** to download the external (S2C) configuration. Use this
   configuration file to configure the tunnels and interfaces in your Check
   Point VM firewall.

## Downloading and Installing SmartConsole

1. Using a browser, connect to the Gaia Portal of the CheckPoint-VM at
   `https:/CheckPoint-VM_Public-IP:`

2. Click **Download Now!** as shown below to download SmartConsole.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image1.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=4a02a037aa2387d6cb3d0b34a2aee9c7" alt="Download SmartConsole from Gaia Portal" width="930" height="678" data-path="images/guides/connectivity/vpn/checkpoint-r80-image1.png" />

3. Install SmartConsole at your local machine and launch SmartDashboard.

<a id="network-objects" />

### Creating Network Objects at SmartConsole

1. At the Check Point SmartDashboard window, go to New > Network and create two
   objects.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image2.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=14679c8ee036a3558fc3d770dce015d2" alt="Create new network object in SmartDashboard" width="1228" height="649" data-path="images/guides/connectivity/vpn/checkpoint-r80-image2.png" />

2. Create one network for private subnet of VPC2 (Check Point VPC).

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image3.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=f0e51bf7feca4ac9d47db9c1fb50ccd8" alt="Check Point VPC private subnet network object" width="489" height="593" data-path="images/guides/connectivity/vpn/checkpoint-r80-image3.png" />

   | **Field**            | **Value**                          |
   | -------------------- | ---------------------------------- |
   | Name                 | Arbitrary (e.g. CP-Private-Subnet) |
   | IPv4 Network Address | VPC2 private subnet CIDR           |
   | IPv4 Net mask        | VPC2 private subnet mask           |

3. Create one network for private subnet of VPC1 (Aviatrix Gateway VPC).

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image4.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=8ba79d0c27dd925dcf83cf70f8cc9d6a" alt="Aviatrix Gateway VPC private subnet network object" width="494" height="603" data-path="images/guides/connectivity/vpn/checkpoint-r80-image4.png" />

   | **Field**            | **Value**                           |
   | -------------------- | ----------------------------------- |
   | Name                 | Arbitrary (e.g. AVX-Private-Subnet) |
   | IPv4 Network Address | VPC1 private subnet CIDR            |
   | IPv4 Net mask        | VPC1 private subnet mask            |

<a id="check-point-vpn" />

### Configuring Check Point Security Gateway with VPN

1. At the SmartDashboard window, go to **Gateways and services** > double-click
   on the gateway.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image5.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=9d05295ee549da4df324e6dd6791617b" alt="Check Point gateway in SmartDashboard" width="1229" height="655" data-path="images/guides/connectivity/vpn/checkpoint-r80-image5.png" />

2. Enter the private IP of the Check Point VM WAN port in the IPv4 address
   field.

3. Under Network Security, select **IPsec VPN**.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image6.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=02d363f28d553102050ac286f4261744" alt="IPsec VPN checkbox selection" width="743" height="712" data-path="images/guides/connectivity/vpn/checkpoint-r80-image6.png" />

4. Go to Network management > **VPN domain** > click **Manually defined** and
   select the network created previously (see
   [Creating Network Objects at SmartConsole](#creating-network-objects-at-smartconsole)
   above).

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image7.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=509438b0baf43843ecfec61d7c8500b2" alt="VPN domain manual definition" width="872" height="825" data-path="images/guides/connectivity/vpn/checkpoint-r80-image7.png" />

5. Go to Network management and double-click "eth0" (Check Point WAN port).

6. Select **External (leads out to the Internet)** and click **OK**.

7. Go to Network management and double-click "eth1" (Check Point LAN port).

8. Click on modify.

9. Select the following:
   * **Override**
   * **This network (internal)**
   * **Specific**, and select the network created previously (see
     [Creating Network Objects at SmartConsole](#creating-network-objects-at-smartconsole)
     above).

10. Click **OK**.

11. Double-click on gateway as shown in step 1 above.

12. Select IPsec VPN in the left menu and then select the **Statically NATed
    IP** radio button.

13. Next to this radio button, enter the public IP of the Check Point WAN port.

14. Double-click on the gateway as shown in step 1 above.

15. Select VPN Advanced in the left menu and ensure that **Use the community
    settings** is selected.

16. Ensure that the **Support NAT traversal** checkbox is selected.

17. Click **OK**.

### Configuring an Interoperable Device to Represent Aviatrix Gateway

1. Go to Gateways and services > New network objects > Interoperable devices.

2. Click **Add new** and then use the image below to create a new interoperable
   device to represent Aviatrix Gateway.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image12.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=083c227e18b8b2284dd192fc08cef5c1" alt="Add new interoperable device" width="1033" height="371" data-path="images/guides/connectivity/vpn/checkpoint-r80-image12.png" />

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image13.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=ded7ae78aa4f06453e52540945132d78" alt="Interoperable device configuration" width="895" height="725" data-path="images/guides/connectivity/vpn/checkpoint-r80-image13.png" />

3. Double-click on Interoperable device > avx-gwv (created in step 1 of this
   section) > General properties. The IPv4 address will be the public IP of the
   Aviatrix Gateway.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image-14.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=6691d5f0b185db0d8d71300372dce968" alt="Interoperable device general properties" width="805" height="766" data-path="images/guides/connectivity/vpn/checkpoint-r80-image-14.png" />

4. Double-click on Interoperable device > avx-gwv (created in step 1 in this
   section).

5. Select Topology in the left menu and select the **Manually defined** radio
   button.

6. In the field next to the radio button, select the network for the private
   subnet of the VPC1 (Aviatrix Gateway VPC) network created above.

7. Click **OK**.

8. Double-click on Interoperable device > avx-gwv (created in step 1 of this
   section.

9. Click Link Selection under IPsec VPN in the left menu and then select the
   **Always use this IP address** and **Main address** radio buttons.

10. Click **OK**.

11. Double-click on Interoperable device > avx-gwv (created in step 1 of this
    section).

12. Select VPN Advanced under IPsec VPN in the left menu.

13. Select **Use the community settings** and click **OK**.

### Creating a VPN Community

1. Click on VPN communities on the smart console. Then, create a Star Community
   as shown below.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image18.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=ca74bab94655d6a0be011ccc12c6d3ff" alt="VPN communities in SmartConsole" width="1232" height="422" data-path="images/guides/connectivity/vpn/checkpoint-r80-image18.png" />

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image19.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=f5d588953fe72766f16848fed1234418" alt="Create Star Community" width="1232" height="429" data-path="images/guides/connectivity/vpn/checkpoint-r80-image19.png" />

2. After creating the VPN community, double-click on the created VPN
   community > Gateway tab.

3. In the star-community dialog, select the gateway created above (see
   [Configuring Check Point Security Gateway with VPN](#configuring-check-point-security-gateway-with-vpn)).

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image20.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=48beeac89822094a211f9fd76f46f410" alt="Star community gateway selection" width="666" height="759" data-path="images/guides/connectivity/vpn/checkpoint-r80-image20.png" />

4. Click **OK**.

5. Double-click on the created VPN community and then select Encryption in the
   left menu.

6. Select the options according to the Site2Cloud configuration downloaded
   previously (see
   [Creating an External Connection](#creating-an-external-connection) above).

7. Click **OK**.

8. Double-click on the created VPN community and then select Tunnel management
   in the left menu.

9. Select **Set Permanent Tunnels** / **On all tunnels in the community**.

10. Select the **One VPN tunnel per Gateway pair** radio button.

11. Click **OK**.

12. Double-click on created VPN community > VPN routing > select as shown in the
    image below.

    <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image23.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=1676db14a6c6cb68f529e669a41f3cd0" alt="VPN routing configuration" width="866" height="628" data-path="images/guides/connectivity/vpn/checkpoint-r80-image23.png" />

13. Double-click on the created VPN community. In the left menu select Shared
    Secret.

14. Enter the Shared Secret by copying the Pre-Shared Key from the Site2Cloud
    configuration downloaded previously (see
    [Creating an External Connection](#creating-an-external-connection) above).

    <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image24.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=ae7ad01702067fb83cba9fa87147c016" alt="Shared Secret configuration" width="713" height="568" data-path="images/guides/connectivity/vpn/checkpoint-r80-image24.png" />

15. Click **OK**.

16. Double-click on the created VPN community.

17. In the left menu select Advanced.

18. Enter the Phase1 and Phase2 parameters according to the Site2Cloud
    configuration downloaded previously (see
    [Creating an External Connection](#creating-an-external-connection) above).

19. Click **OK**.

### Creating Firewall Rule for VPN Traffic

1. Go to security and policies. Add a policy and click **Install Policy**.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image26.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=b07bbe20a667aaaa004027e5538f7e4b" alt="Firewall rule for VPN traffic" width="1232" height="394" data-path="images/guides/connectivity/vpn/checkpoint-r80-image26.png" />

### Troubleshooting and Verifying at Check Point Security Gateway

1. Go to **Logs and monitor** and dd a new tab.

2. Click **Open Tunnel & User Monitoring**.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image27.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=78d6371d414cf7bed196248c69b557be" alt="Open Tunnel and User Monitoring" width="1141" height="740" data-path="images/guides/connectivity/vpn/checkpoint-r80-image27.png" />

3. Click **IPsec VPN** to see the tunnel status.

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image28.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=4bc2e2ddcdf1d5e9d3f8e35a2e77ab03" alt="IPsec VPN tunnel status" width="1236" height="575" data-path="images/guides/connectivity/vpn/checkpoint-r80-image28.png" />

   <img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image29.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=67d8e9151b3ac9d1a85ba6fc705a7c6d" alt="IPsec VPN tunnel details" width="1227" height="806" data-path="images/guides/connectivity/vpn/checkpoint-r80-image29.png" />

### Verifying the Connection Status

In CoPilot, go to the Diagnostics > Cloud Routes > External Connections tab to
confirm the Status and Tunnel Status of the external connection.

### Troubleshooting

You can use the Diagnostic Tools (under Diagnostics in the left navigation menu)
to troubleshoot any connection issues.

Below is the sample output for ping from an instance in the Aviatrix private
subnet to an instance in the Check Point private subnet.

<img src="https://mintcdn.com/aviatrix-14b37c43/1zOMu4WXCFpEtXhJ/images/guides/connectivity/vpn/checkpoint-r80-image32.png?fit=max&auto=format&n=1zOMu4WXCFpEtXhJ&q=85&s=2fd5f3520330176bc4b9b78925f015e1" alt="Ping test from Aviatrix subnet to Check Point subnet" width="903" height="217" data-path="images/guides/connectivity/vpn/checkpoint-r80-image32.png" />

## Related Topics

* <a href={"/docs/enterprise/" + "10.1" + "/guides/connectivity/gateways/external-connection-settings"}>About External Connection Settings</a>
* <a href={"/docs/enterprise/" + "10.1" + "/guides/connectivity/vpn/s2c-aviatrixgw-to-checkpoint-r77"}>Aviatrix Gateway to Check Point(R77.30)</a>
* <a href={"/docs/enterprise/" + "10.1" + "/guides/connectivity/vpn/s2c-aviatrixgw-to-cisco-asa"}>Aviatrix Gateway to Cisco ASA</a>
