Fortinet white logo
Fortinet white logo

CLI Reference

profile geoip-group

profile geoip-group

Use this command to create groups of GeoIP addresses.

FortiMail utilizes the GeoIP database to map the geolocations of client IP addresses. You can use GeoIP groups in access control rules and IP-based policies to geo-targeting spam and virus devices.

Syntax

config profile geoip-group

edit <profile_name>

set description "<comment_str>"

set country {ZZ | O1 | AD | ...}

end

Variable

Description

Default

<profile_name>

Enter a unique name.

description "<comment_str>" Enter a description or comment.

country {ZZ | O1 | AD | ...}

Assign countries to the GeoIP address group.

Enter set country ? to display all available countries. For multiple countries, separate each entry with a space.

profile geoip-group

profile geoip-group

Use this command to create groups of GeoIP addresses.

FortiMail utilizes the GeoIP database to map the geolocations of client IP addresses. You can use GeoIP groups in access control rules and IP-based policies to geo-targeting spam and virus devices.

Syntax

config profile geoip-group

edit <profile_name>

set description "<comment_str>"

set country {ZZ | O1 | AD | ...}

end

Variable

Description

Default

<profile_name>

Enter a unique name.

description "<comment_str>" Enter a description or comment.

country {ZZ | O1 | AD | ...}

Assign countries to the GeoIP address group.

Enter set country ? to display all available countries. For multiple countries, separate each entry with a space.