Setting Up a Security Gateway in Alibaba Cloud
Step 1: Prepare Your Alibaba Account
To prepare your Alibaba Cloud account, do the following:
-
If you do not already have an Alibaba Cloud account, create one at Alibaba Cloud Platform.
-
Navigate to ECS console using the menu bar.
-
In Network & Security, click SSH Key Pairs.
-
Use the region selector in the navigation bar to choose the Alibaba Cloud region where you want to deploy Check Point Cloud Firewall Gateway
Check Point Virtual Security Gateway that protects dynamic virtual environments with policy enforcement. Cloud Firewall Gateway inspects traffic between Virtual Machines to enforce security, without changing the Virtual Network topology. . -
Create a key pair in your preferred region.
-
If necessary, request a service limit increase for the Alibaba Cloud resources you are going to use.
You may have to do this if you have an existing deployment that uses the Alibaba Cloud resources below, and you may exceed the default limit with this deployment.
The resources that may need a service limit increase are:
-
Number of On-demand ECS instances.
-
Number of Elastic IP addresses.
-
Number of VPCs for each region.
-
Number of VPN connections for each region.
-
VPN connections for each VPC.
-
By default, this Deployment guide uses ec5.xlarge for the Cloud Firewall Gateways and ecs.hfg6.xlarge for the Security Management Server
Dedicated Check Point server that runs Check Point software to manage the objects and policies in a Check Point environment within a single management Domain. Synonym: Single-Domain Security Management Server..
Step 2: Deploy with a Terraform template in Alibaba Cloud
Deploy this solution in the Alibaba Cloud Portal using Terraform.
Deploy the Cloud Firewall Gateway in Alibaba Cloud:
Use this Terraform Template: Check Point Cloud Firewall Gateway.
Deploy the Security Management Server:
Use one of the options below to deploy the Check Point Security Management Server
Check Point Single-Domain Security Management Server or a Multi-Domain Security Management Server..
-
Use the existing on-premises Security Management Server, or existing Security Management Server in Alibaba Cloud Platform.
If the Security Management Server is communicating over a private IP addresses with the Cloud Firewall Gateway, then make sure that the Security Management Server has connection to the Security VPC where they are deployed.
-
Deploy a new Security Management Server with the Management Terraform template: Check Point Security Management Server.
|
|
Note - For direct access to the Cloud Firewall Gateway, deploy the Security Management Serverin the same Security VPC where you deployed the Cloud Firewall Gateway. |
To configure the Check Point Security Management Server, follow the steps in Security Management Administration Guide of your version.
Step 3: Configure Cloud Firewall Gateway in SmartConsole
To enforce a Security Policy
Collection of rules that control network traffic and enforce organization guidelines for data protection and access to resources with packet inspection., the Cloud Firewall Gateway must first be configured on the Security Management Server using Check Point's SmartConsole
Check Point GUI application used to manage a Check Point environment - configure Security Policies, configure devices, monitor products and events, install updates, and so on..
Configuring the Gateway Object
-
Use SmartConsole to connect to your Check Point Security Management Server.
-
If the Security Management Server and the Cloud Firewall Gateway have to communicate through public IP addresses, make sure that the Security Management Server object is defined with the elastic IP address.
Edit the Security Management Server object and change the IP address.
Important - If you change the main IP address of the Security Management Server, you must issue and install the license(s) for the new IP address.
-
Create the Cloud Firewall Gateway:
In the top of the SmartConsole, click
> More > Network Object > Gateway & Servers > Gateway > Classic Mode. -
Define the gateway's general properties:
-
In the Gateway Name field, enter a name for the gateway object (as in "
Alibaba_GW"). -
In the IPv4 address field:
If you manage the gateway from the same VPC, enter the Gateway private IP address. Otherwise, enter the Gateway public IP address.
-
Click Communication.
-
In the One-Time Password field, enter the SIC
Secure Internal Communication. The Check Point proprietary mechanism with which Check Point computers that run Check Point software authenticate each other over SSL, for secure communication. This authentication is based on the certificates issued by the ICA on a Check Point Management Server. key you set up in the Terraform Template. -
In the One-Time Password field, enter the SIC key again.
-
Click Initialize.
-
If the One-time password is confirmed, the Trust State field shows Trust Established.
-
-
To close the Communication properties window, click Close.
If the Activation Key is confirmed, the Trust State field shows Trust Established.
-
Click OK.
-
-
Click Network Management > Get Interfaces > Get Interfaces With Topology.
If this warning appears:
"Topology and Anti-Spoofing settings that are already defined will be overwritten. By results of this operation that contradict them, if any. Do you want to continue?"
Click Yes.
From the Network eth0 and eth1 window, click Topology and disable Anti-Spoofing.
-
Verify the settings:
-
To close the window, click OK.
-
Install policy on the Cloud Firewall Gateway.
-
To Allow Outbound Traffic
-
Use SmartConsole to connect to your Check Point Security Management Server.
-
Create an Internal Network
Computers and resources protected by the Firewall and accessed by authenticated users. for the Security VPC:In the right navigation bar, click new > Network….
-
Configure Network general properties:
-
Enter a name for your network (such as Security_network).
-
In the IPv4 section, insert the Network Address and the Net mask of the Security VPC
-
-
Create a NAT rule
Set of traffic parameters and other conditions in a Rule Base (Security Policy) that cause specified actions to be taken for a communication session. for the network to hide behind the Security Gateways:-
In the Network's object left pane, click NAT.
-
Check the box: Add automatic address translation rules.
-
Leave the configuration as default:
-
Translation method: Hide
-
-
Hide behind the gateway
-
-
Verify the settings:
-
To close the window, click OK.
-
Install policy.
-
Step 4: Configure VPN
|
Step |
Description |
||
|---|---|---|---|
|
1 |
Create a Network Group object to represent the encryption domain for the Cloud Firewall Gateway:
|
||
|
2 |
Decide if you want to proceed with a default VPN Community or use any of your existing VPN Communities. In the first case, just follow the steps below. In the second case, make sure the VPN Community you plan to use is properly configured. For that:
|
||
|
3 |
Enable the VPN Blade and configure your Network Group as the encryption domain of the cluster object:
|
||
|
4 |
Configure the VPN community:
|
||
|
5 |
Configure the outgoing VPN interface:
|
||
|
6 |
Configure the VPN Community to use Permanent Tunnels:
|
||
|
7 |
Install the applicable Access Control Policy on the cluster object. |
Testing and Troubleshooting
Cloud Firewall Gateway
-
In AliCloud ECS console, go to the instance and check system log is finished successfully (machine is ready to be logged in):
Expected output:
This system is for authorized use only.
login -
Connect VIA SSH using configured SSH key / Password
-
Check user-data script finished successfully by running in Expert mode:
cat /var/log/cloud_config.logExpected output:
cloud_config finished successfully -
Check both interfaces are configured correctly.
-
In the SmartConsole, check Device & License Information for problems.
-