The Geo database is downloaded from MaxMind, a leading provider of IP Intelligence and online fraud prevention tools.
MaxMind provides mapping of location data for IP addresses. The server downloads the updated database from MaxMind on a daily basis.
To check the current country mapping by test the IP address, visit the GeoIP2 City Database Demo page.
In R80.10 and lower, customers who wish to restrict access to/from a specific country/continent based on IP addresses, should add them to the rule base as Host objects and have to install policy after every change.
Check Point Solution for R80.20 and higher
- For each Country/Continent, Check Point provides an updatable object that can be imported into SmartConsole.
- Each country/continent object matches a list of IP addresses according to the MaxMind database.
- On every update in MaxMind database, these objects are updated automatically on the managed Security Gateways and Clusters (no need to install policy).
- When the source or destination IP address in traffic matches a Network object, the traffic is processed according to the action selected in the corresponding policy rule.
- Connect with SmartConsole to the Management Server.
- From the left navigation panel, click Security Policies.
- In the Access Control section, click Policy.
- Click in the Source or Destination column > click the [+] in the cell.
- In the top right corner, click Import > Updatable Objects.
- In the Updatable Objects window, choose the relevant continent/country from the list of objects.
- Click OK.
- Publish the session.
- Install the Access Control policy.
Example of Geo updatable objects in the Source column (rule 3) and Destination column (rules 1 and 2):
Geo Policy hidden from navigation pane
As of R81 Geo Policy will be hidden from the navigation pane if no rules are configured in that window. Geo Policy rules can still be configured in Updatable Objects as described above.
If however Geo Policy window is needed, It is possible to disable its hidden visibility by setting the environment variable "disableHiddenGeoPolicy" to any value.
The environment variable should be set in the following way:
./reload_env_vars.sh -e "disableHiddenGeoPolicy=1"
and can be unset by using:
./reload_env_vars.sh -u "disableHiddenGeoPolicy=1"
This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.