Fortinet white logo
Fortinet white logo

CLI Reference

profile geoip-group

profile geoip-group

Use this command to create groups of GeoIP addresses.

FortiMail uses the GeoIP database to map the IP addresses of SMTP clients to geographic locations. You can use GeoIP groups in access control rules and IP-based policies.

Syntax

config profile geoip-group

edit name <name_str>

set description <description_str>

set country {ZZ O1 AD ...}

end

Variable

Description

Default

name <name_str>

Enter a unique name.

description <description_str> Enter a description.

country {ZZ O1 AD ...}

Assign countries to the GeoIP address group.

Enter set country ? to display a list of all available country codes. 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 uses the GeoIP database to map the IP addresses of SMTP clients to geographic locations. You can use GeoIP groups in access control rules and IP-based policies.

Syntax

config profile geoip-group

edit name <name_str>

set description <description_str>

set country {ZZ O1 AD ...}

end

Variable

Description

Default

name <name_str>

Enter a unique name.

description <description_str> Enter a description.

country {ZZ O1 AD ...}

Assign countries to the GeoIP address group.

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