Aviatrix Gateway to Check Point¶
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.
Network setup is as following:
VPC1 (with Aviatrix Gateway)
VPC1 CIDR: 10.0.0.0/16
VPC1 Public Subnet CIDR: 10.0.1.0/24
VPC1 Private Subnet CIDR: 10.0.2.0/24
VPC2 (with Check Point Security Gateway)
VPC2 CIDR: 10.10.0.0/16
VPC2 Public Subnet CIDR: 10.10.0.0/24
VPC2 Private Subnet CIDR: 10.10.1.0/24
1. Launch Check Point Security Gateway VM¶
Refer to vSEC Gateway for Amazon Web Services Getting Started Guide to launch CheckPoint VM with at least two network interfaces. One interface serves as WAN port and is in VPC2 public subnet. The other interface serves as LAN port and is in VPC2 private subnet. Collect the public IP address of the WAN port.
2. Create Site2Cloud Connection at Aviatrix Controller¶
2.1 Go to Gateway->New Gateway to launch an Aviatrix Gateway at VPC1 public subnet. Collect both public and private IP addresses of the Gateway.
2.2 Go to site2cloud and click Add New to create a site2cloud connection:
|VPC ID/VNet Name||Choose VPC ID of VPC1|
|Connection Name||Arbitrary (e.g. avx-cp-s2c)|
|Remote Gateway Type||Generic|
|Algorithms||Uncheck this box|
|Encryption over DirectConnect||Uncheck this box|
|Enable HA||Uncheck this box|
|Primary Cloud Gateway||Select Aviatrix Gateway created above|
|Remote Gateway IP Address||Public IP of CheckPoint-VM WAN port|
|Pre-shared Key||Optional (auto-generated if not entered)|
|Remote Subnet||10.10.1.0/24 (VPC2 private subnet)|
|Local Subnet||10.0.2.0/24 (VPC1 private subnet)|
2.3 Go to site2cloud page. From site2cloud connection table, select the connection created above (e.g. avx-cp-s2c). Select Generic from Vendor drop down list and click Download Configuration button to download the site2cloud configuration. Save the configuration file for configuring CheckPoint-VM.
3. Download and Install SmartConsole¶
3.1 Using a browser, connect to Gaia Portal of CheckPoint-VM at https://CheckPoint-VM_Public-IP:
3.2 Click Overview at left navigation bar, click Download Now! to download SmartConsole.
3.3 Install SmartConsole at your local machine and launch SmartDashboard.
4. Create Network Objects at SmartConsole¶
4.1 At Check Point SmartDashboard window, Select Desktop tab. Right click Networks folder at the left navigation bar and select Network.
4.2 Create one network for private subnet of VPC2 (Check Point VPC)
|Name||Arbitrary (e.g. CP-Private-Subnet)|
|IPv4 Network Address||VPC2 private subnet CIDR|
|IPv4 Net mask||VPC2 private subnet mask|
4.3 Create one network for private subnet of VPC1 (Aviatrix Gateway VPC)
|Name||Arbitrary (e.g. AVX-Private-Subnet)|
|IPv4 Network Address||VPC1 private subnet CIDR|
|IPv4 Net mask||VPC1 private subnet mask|
5. Configure Check Point Security Gateway with VPN¶
5.1 At SmartDashboard window, select Desktop tab and expand Check Point folder at the left navigation bar. Note that your gateway VM with name format ‘gw-xxxxxx’ is automatically created.
5.2 Right click the gateway name and select Edit from the menu.
5.3 At Check Point Gateway - General Properties window:
|IPv4 Address||Private IP of CheckPoint VM WAN port|
|Test SIC Status||Make sure the status is ‘communicating’|
|Network Security||Select ‘IPSec VPN’|
5.4 At Check Point Gateway - Topology window, select Manually defined for VPN Domain. Select the network created at Step 4.2.
5.5 At Check Point Gateway - Topology window, double click “eth0” (Check Point WAN port). Select External(leads out to the Internet).
5.6 At Check Point Gateway - Topology window, double click “eth1” (Check Point LAN port). Select Internal(leads to the local network).
5.7 At Check Point Gateway - IPSec VPN - Link Selection window, configure the parameters as following:
|Statically NATed IP||Public IP of Check Point WAN port|
|Selected address from topology table||Private IP of Check Point WAN port|
5.8 At Check Point Gateway - IPSec VPN - VPN Advanced window, configure the parameters as following:
6. Configure an Interoperable Device to Represent Aviatrix Gateway¶
6.1 At Check Point SmartDashboard window, Select Desktop tab. Right click Networks folder at the left navigation bar to create a new interoperable device.
6.2 At Interoperable Device - General Properties window:
|Name||Arbitary (e.g. AVX-GW)|
|IPv4 Address||Public IP of Aviatrix Gateway|
6.3 At Interopable Device - Topology window, select Manually defined for VPN Domain. Select the network created at Step 4.3.
6.4 At Interopable Device - IPSec VPN - Link Selection window, select Always use this IP address->Main Address
6.5 At Interopable Device - IPSec VPN - VPN Advanced window, select Use the community settings
7. Create an VPN Community¶
7.1 At SmartDashboard IPSec VPN tab, select Overview from left navigation bar. Click New button to create a Meshed Community.
7.2 At Meshed Community Properties - General window, create one community with a name (e.g. site2cloud-avx)
7.3 At Meshed Community Properties - Participating Gateways window, add both Check Point Security Gateway (e.g. gw-fe024c) and the interopable device created at Step 6 (e.g. AVX-GW) to this community.
7.4 At Meshed Community Properties - Encryption window, select the options according to the site2cloud configuration downloaded at Step 2.3.
7.5 At Meshed Community Properties - Tunnel Management window, select One VPN tunnel per Gateway pair for VPN Tunnel Sharing.
7.6 At Meshed Community Properties - Advanced Settings - Shared Secret window, enter Shared Secret by copying Pre-Shared Key from the site2cloud configuration downloaded at Step 2.3.
7.7 At Meshed Community Properties - Advanced Settings - Advanced VPN Properties window, enter the Phase1 and Phase2 parameters according to the site2cloud configuration downloaded at Step 2.3.
8. Create Firewall Rule for VPN Traffic¶
8.1 At SmartDashboard window, select Firewall tab.
8.2 Select Policy to add a new rule.
|VPN||Select the Meshed VPN Community created at Step 7|
|Install On||Select Check Point Security Gateway|
8.3 Click Install Policy button to push the firewall policy to the Check Point Security Gateway
9. Troubleshooting and Verifying at Check Point Security Gateway¶
9.1 At SmartDashboard window, from SmartConsole drop down list, select SmartView Monitor
9.2 At SmartView Monitor window, select VPNs from Gateway Status* and verify Encrypted Traffic
10. Troubleshooting and Verifying at Aviatrix Controller¶
10.1 At Aviatrix Controller, go to Site2Cloud page. Verify the status of the site2cloud connection is up.
10.2 At Site2Cloud - Diagnostics page, run various diagnostics commands.
|VPC ID/VNet Name||VPC1 (Aviatrix Gateway VPC) ID|
|Connection||Name of site2cloud connection created at Step 2|
|Gateway||Name of Aviatrix Gateway|
|Action||One of the supported diagnostics commands|
For support, send email to firstname.lastname@example.org.