Example Configuration for Check Point VM in AWS
In this document, we provide an example to set up the Check Point Security Gateway instance for you to validate that packets are indeed sent to the Check Point Security Gateway for VPC-to-VPC and from VPC to internet traffic inspection.
Both "Firewall" and "Security Gateway" will be used interchangeably in this document. Both refer to the Check Point Security Gateway product. |
Prerequisites for Check Point in AWS Firewall
Before you start setting up your Check Point Security Gateway with AWS example to verify that packets are sent to the gateway for traffic inspection, make sure you meet the basic requirements:
-
Basic Check Point Architecture understanding
-
Check Point CloudGuard IaaS product is subscribed to in the AWS Marketplace
The following Check Point AMIs and software versions are supported.
Supported AMI Name | Software Version |
---|---|
CloudGuard IaaS Next-Gen Firewall with Threat Prevention & SandBlast BYOL |
R80.40, R80.30 |
CloudGuard IaaS Next-Gen Firewall with Thread Prevention |
R80.40, R80.30 |
CloudGuard IaaS All-In-One R80.40 |
R80.40 |
The basic Check Point architecture is shown below:
In this document, we provide an example to set up the Check Point Firewall instance for you to validate that packets are indeed sent to the Check Point Firewall for VPC-to-VPC and from VPC to internet traffic inspection.
You must first create a Transit FireNet in AWS, and deploy a Check Point firewall in that Transit FireNet. |
After you launch a Check Point firewall instance, the Security > FireNet > Firewall tab displays the public IP address of the firewall’s management/egress interface. You click this to access the firewall UI.
Launching Check Point Firewall from Aviatrix CoPilot (AWS)
You must first create a Transit FireNet in AWS, and deploy a Check Point firewall in that Transit FireNet. |
You can use the Security Gateway information in this example for your reference. Please adjust it depending on your requirements.
Example setting | Example value |
---|---|
Firewall Image |
Check Point CloudGuard IaaS All-In-One R80.40 |
Firewall Image Version |
R80.40-294.581 |
Firewall Instance Size |
m5.large |
Egress Interface Subnet |
Select the subnet whose name contains "FW-ingress-egress." |
Key Pair Name (Optional) |
The .pem file name for SSH access to the firewall instance. |
Attach |
Check |
Make note of the SIC (Secure Inter-communication) Key; it is required to add the Security Gateway inside the Security Manager. |
The Check Point Firewall instance has two interfaces as described below. Additionally, firewall instance eth1 is on the same subnet as FireNet Gateway eth2 interface. |
Check Point VM instance interfaces | Description | Inbound Security Group Rule |
---|---|---|
eth0 (on subnet -Public-FW-ingress-egress-AZ-a) |
Egress or Untrusted interface |
Allow ALL |
eth1 (on subnet -dmz-firewall) |
LAN or Trusted interface |
Allow ALL (Do not change) |
Below are the steps for initial setup.
Setting up Check Point Gateway (Firewall) SSH login Using Password
For Metered AMI, open a terminal and run the following command.
After you download the access key (.pem file), change the file permission to 600. It usually takes 5-10 minutes for the Check Point Gateway to be ready. |
ssh -i <private_key.pem> admin@<public-ip_address> set expert-password Enter new expert password: Enter new expert password (again): gw-358e82> expert Enter expert password: Warning! All configurations should be done through clish You are in expert mode now. [Expert@gw-358e82:0]# sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config [Expert@gw-358e82:0]# sed -i 's/PermitRootLogin forced-commands-only/PermitRootLogin yes/' /etc/ssh/sshd_config [Expert@gw-358e82:0]# service sshd reload Reloading sshd: [ OK ] [Expert@gw-358e82:0]# exit
Terminate the SSH session.
Logging in to the Check Point Firewall Gaia Portal
-
After the firewall launch is completed in Aviatrix CoPilot, go to Security > FireNet > Firewall and click on the firewall link in the Management UI column. This step applies to AWS and Azure.
The URL takes you to the Check Point Firewall Gaia Portal you just launched.
Launching Check Point firewall instances from Aviatrix CoPilot automatically initiates its onboarding process. For initial Check Point login information, go to Credentials for Check Point Initial Login. You must be registered to access the Aviatrix Customer Support website. If you are not already registered, you can sign-up at https://support.aviatrix.com. |
Initializing and Logging in to the Check Point Firewall via Gaia Portal
When you log in for the first time you see the Check Point First Time Configuration Wizard screen as shown below.
-
Click Next in each dialog and then click Finish.
Since Aviatrix CoPilot automatically configures the Check Point interfaces and RFC1918 static routes which are required for the FireNet feature, initialize wizard configurations are no longer required. However, you must complete the wizard steps to initialize the firewall properly. |
After the initialization is completed, you see the Check Point Firewall Gaia Portal Overview page.
-
Navigate to Network Management > Network Interfaces to review eth0 (WAN) and eth1 (LAN) configuration as shown below.
-
Review static routes RFC 1918 which is configured on LAN port, the purpose of those static route is to send the packets back to the Gateway (GW).
Routes can also be reviewed by clicking Monitoring on the page Network Management > IPv4 Static Routes.
Vendor Integration
Click here for information on vendor integration.
Downloading and Installing the SmartConsole
The Check Point Single Gateway 'All-In-One' image is used in this example and does not require Check Point Security Manager. All other Gateway images require Check Point Security Manager. If you are not using the 'All-In-One' image, skip this step and follow the Deploying and Installing the SmartConsole steps. |
The SmartConsole must be downloaded on a Windows-based computer. |
Log in to the Check Point Gateway and download the SmartConsole on a Windows-based computer.
Option 1: click Download Now! with the message "Manage Software Blades using SmartConsole" on the Overview page as shown below.
Option 2: download it by using this link: R80.40.
Installing and Logging into the SmartConsole
The Check Point SmartConsole is a Windows-based application used to configure and manage polices. These policies can be applied to one or more Security Gateways.
-
Install the SmartConsole and log in with the Gaia Portal username, password and IP Address of the Check Point Gateway.
-
Execute the "Get Interfaces With Topology" function to sync up the settings that we have configured via the Gaia Portal.
-
Select Gateways & Servers on the left.
-
Double-click on the Check Point Firewall.
-
Select Network Management on the left.
-
Click Get Interfaces to expand options.
-
Click Get Interfaces With Topology.
-
Click Yes.
-
Review the Get Topology Results which should match to the settings that we have configured via Gaia Portal.
-
Click Accept.
-
Go to Security Policies > Access Control > Policy and click Install Policy and then Install to commit the settings.
Configuring the Basic Traffic Policy to Allow Traffic VPC-to-VPC
In this step, you will configure a basic traffic security policy that allows traffic to pass through the firewall.
-
In the Check Point UI, from Security Policies > Access Control > Policy, configure a policy by either modifying the default Cleanup rule or adding a new rule above the default rule.
Field Value Name
Configure any name for this policy (i.e. allow-all)
Source
Any
Destination
Any
VPN
Any
Service & Applications
Any
Action
Accept
Track
Log
-
Click Install Policy and then Install to commit the settings.
(Optional) Configuring the Basic Traffic Policy to Allow Traffic VPC to Internet
In this step, you will configure a basic traffic security policy that allows Internet traffic to pass through the firewall. Given that Aviatrix Gateways will only forward traffic from the TGW to the LAN port of the firewall, we can just set our policy condition to match any packet that is going into the LAN interface and out of the WAN interface.
You must enable the Egress inspection feature on FireNet if it is not already enabled. To enable it:
-
In Aviatrix CoPilot, navigate to Security > FireNet > FireNet Gateways on the left navigation menu.
-
Click the Edit icon next to a FireNet Gateway.
-
Scroll down to the Egress toggle switch and turn it On.
-
Click Save.
-
Verify the Egress status on the FireNet Gateways tab.
-
In the Check Point Firewall SmartConsole, navigate to the Gateways & Servers page and then double-click on the gateway to enable NAT function as per the following screenshot.
-
Click NAT.
-
Select the Hide internal networks behind the Gateway’s external IP checkbox.
-
Click OK.
-
Click Install Policy.
The NAT function needs to be enabled on the Check Point FW interface eth0 for this VPC to Internet policy. Please refer to Check Point’s NAT instruction for details.
-
(Optional) If you have the default "Cleanup rule", navigate to Security Policies > Access Control > Policy and inject a new rule for Internet Policy on top of the default Cleanup rule.
Field Value Name
Configure any name for this policy (i.e. Internet-Policy)
Source
Any
Destination
Select the object with All_internet
VPN
Any
Service & Applications
Any
Action
Accept
Track
Log
-
Click Install Policy and then Install to commit the settings.
After validating that your traffic is being routed through your firewall instances, you can customize the security policy to your requirements.
Validate Check Point in AWS firewall Instance
Now your firewall instance is configured and ready to receive packets.
The next step is to validate your configurations and polices using FlightPath and Diagnostic Tools (ping, traceroute, etc.).
Viewing Traffic Log for Check Point in AWS/Azure
You can view if traffic is forwarded to the firewall instance by logging in to the Check Point Firewall SmartConsole and navigating to the Logs & Monitor page.
Verifying VPC-to-VPC traffic
Launch one instance in PROD Spoke VPC and another in DEV Spoke VPC. Start pinging packets from a instance in DEV Spoke VPC to the private IP of another instance in PROD Spoke VPC. The ICMP traffic should go through and be inspected in the firewall.
(Optional) Verifying VPC to Internet traffic
To verify VPC to internet traffic for your Check Point in AWS firewall, launch a private instance in the Spoke VPC (i.e. PROD Spoke VPC) and start pinging packets from the private instance towards Internet (e.g 8.8.8.8) to verify the egress function. The ICMP traffic should go through, and be inspected on the firewall.