Iran IP List / FortiGate

FortiGate GeoIP List for Iran IP Addresses

Download the Iran IP List for FortiGate, including a dedicated GeoIP override configuration, IPv4 address objects, IPv6 address objects and a combined configuration. The files are generated from RIPE NCC allocation data to help network administrators maintain Iran-associated IP ranges for security and network-policy workflows.

Automatically generated Multiple FortiGate formats IPv4 and IPv6 lists
Downloads

Iran IP List for FortiGate: Choose a Configuration

Each download serves a different purpose. Select the format that matches your configuration workflow rather than importing every file indiscriminately. All links below point to the generated files published with this page.

IPv4

FortiGate Iran IPv4 Address List

Generated IPv4 address objects for workflows that use explicit IP addresses and subnets. These objects are separate from the GeoIP override and can be referenced only after they have been imported and checked.

IPv6

FortiGate Iran IPv6 Address List

Generated IPv6 address6 objects for IPv6-aware environments. The presence of this file does not mean the separate GeoIP override format accepts IPv6 ranges. Confirm the features supported by your target FortiOS release.

Combined

Combined Iran IPv4 and IPv6 Configuration

A single file containing both generated IPv4 and IPv6 address-object configuration. Review existing object names and compatibility before importing it into an established firewall configuration.

Dedicated technical guide

FortiGate GeoIP List for Iran: How the Override Works

The Iran GeoIP override file is intended for the FortiOS GeoIP override mechanism. This is not the same thing as creating a normal firewall address object for every subnet. A GeoIP override changes how supported FortiOS versions associate configured IP ranges with a geographic country entry.

What is included?

  • A dedicated FortiGate GeoIP override configuration.
  • Iran-associated IPv4 ranges derived from registry allocation data.
  • The country identifier and object syntax present in the generated file.
  • A separate download from the ordinary IPv4, IPv6 and combined address-object configurations.

What must you verify?

  • Whether your FortiOS release supports this override mechanism.
  • Whether the country identifier is valid for that release.
  • Any firmware-specific syntax, entry-count or range limitations.
  • Whether the resulting GeoIP match behaves as intended in your policies.
Important compatibility note

Do not assume that every FortiGate model or FortiOS version accepts the same GeoIP override format. Validate the downloaded configuration against the official documentation for your release and test before production use. The country identifier shown in a file is configuration data, not a guarantee that every firmware release will accept it.

Step-by-step guide

How to Install and Validate the Iran GeoIP Override

Use this checklist before deploying a FortiGate Iran GeoIP configuration. The exact import and activation procedure depends on the capabilities and syntax of your FortiOS version.

  1. Identify your FortiOS version and supported syntax.

    Confirm that the target release supports the GeoIP override feature and the configuration structure used by the downloaded file. Do not assume support based only on the hardware model.

  2. Download and inspect the configuration.

    Review the country identifier, configured object name, IP ranges and command structure. Compare them with the official FortiOS documentation and your current configuration.

  3. Back up the existing configuration.

    Save a recoverable backup before making changes. If possible, validate the configuration in a lab or non-production environment first.

  4. Apply the file using a supported procedure.

    Use the import or CLI procedure documented for your release. Do not paste an unverified configuration into production or assume a file can be imported unchanged across different FortiOS versions.

  5. Verify the result before using it in a policy.

    Confirm that the configuration was accepted and that the intended geographic match is visible and behaves correctly. Review policy order, logs and representative traffic before relying on the result.

Address objects and policies

Using the FortiGate Iran IP Address List in Firewall Policies

The standard IPv4, IPv6 and combined downloads contain address-object configuration. These objects are different from a GeoIP override. After importing and verifying the objects, administrators can reference supported objects in relevant firewall policies and groups according to their network design.

Use address-object configuration when

  • You need explicit network or subnet objects.
  • Your workflow requires IPv4 and/or IPv6 address objects.
  • You want to review and reference named objects directly in supported policies.

Use GeoIP override when

  • Your intended workflow relies on FortiOS GeoIP matching.
  • Your FortiOS version supports the supplied override syntax.
  • You have validated the country mapping and the resulting policy behavior.
Operational recommendation

Decide whether the list should be used for matching, allowing, restricting or logging traffic based on your security requirements. Check object-name conflicts, policy order, logging and the effect on existing sessions. Review the data before every production change.

Data quality and updates

Automatically Generated Iran IP Ranges and Daily Updates

The Iran IP List generator uses the RIPE NCC alloclist.txt allocation dataset as a source for producing multiple network-list formats, including FortiGate configurations. Automated generation helps reduce the need to maintain the published ranges manually.

The project is designed for scheduled daily updates. A schedule alone does not prove that the latest run completed successfully. Before relying on a new dataset, check the actual published file, its timestamp and the generator's latest successful status where that information is available.

Does an Iran IP allocation prove physical location?

No. Registry allocation data describes address-space assignments and is a useful reference, but it does not guarantee the physical location of a user, device or service. Reassignments, hosting providers, VPNs, proxies and routing changes can affect how an address is used. Treat the list as one input to network policy, not as definitive geolocation evidence.

Source: RIPE NCC allocation data. Generated output: Iran IP List. Validate the published configuration before using it in a production environment.

Technical FAQ

Frequently Asked Questions About the FortiGate Iran IP List

Where can I download the FortiGate GeoIP List for Iran?

Use the GeoIP Override download near the top of this page. Separate downloads are also available for IPv4 address objects, IPv6 address objects and a combined IPv4/IPv6 configuration.

What is the difference between a GeoIP override and an IP address list?

A GeoIP override is intended for the supported GeoIP mapping mechanism. Standard IPv4 and IPv6 files define address objects. Their syntax and use are different, so select the file that matches your intended workflow.

Is the Iran IP List automatically updated every day?

The generator is designed to run on a daily schedule. Check the latest published file timestamp and generation status to confirm the last successful update; a scheduled run does not guarantee every run succeeds.

Does the GeoIP override work on every FortiGate model?

Compatibility depends on the FortiOS release and the features, syntax and limits it supports. Verify the specific release and test before deployment.

Can I use the IPv6 list in the GeoIP override?

The IPv6 address-object download is separate. Its availability does not establish that the GeoIP override format supports IPv6. Verify the capability and syntax of your FortiOS release.

Does an Iranian IP allocation always mean that the IP is physically in Iran?

No. Allocation records are not definitive physical geolocation data. Reassignment, hosting, VPNs, proxies and routing can affect the actual use and apparent location of an address.

Can I import the generated configuration directly into production?

Review the file, confirm compatibility, back up the current configuration and test first. Object-name conflicts, syntax differences and policy behavior should be checked before production deployment.