To verify licensing for Geolocation Services on the EdgeSWG from the Management GUI:
Management Console > Maintenance > Licensing > View and look for license details in the
Intelligence Service Bundles section.
If you do not have a valid license, the proxy will not download the database and the Management Console will display Health Monitoring errors. The access logs will also display error messages about the subscription.
To enable Geolocation refer to the Admin Guide.
You can add geolocation policy through the Virtual Policy Manager (VPM) or using Content Policy Language (CPL).
In the VPM, the Client Geolocation object is available in the Source column in policy layers and a location restriction is available in the Action column.
Refer to the Visual Policy Manager Reference section for Client Geolocation and Set Geolocation restrictions.
In CPL, the client.address.country=<"country_name"> condition returns the country from which traffic originates, based on the client IP address or supplier.allowed_countries() for destination restrictions.
For more information see Forward Proxy use cases and Reverse Proxy use cases.