FortiGate Prefix List GE LE Example

In the realm of network security, FortiGate firewalls offer robust features to manage and control network traffic. One such feature is the prefix list, which is a powerful tool for defining IP address ranges. Let's delve into an example of a FortiGate prefix list with a focus on the 'ge' (greater than or equal to) operator.

a table with the names and numbers of different types of items in each language, including words
a table with the names and numbers of different types of items in each language, including words

Prefix lists are crucial for defining access policies, quality of service (QoS) rules, and traffic filtering. They allow you to specify IP address ranges using CIDR notation, making it easier to manage complex IP schemes.

the information sheet for fortgate useful commands
the information sheet for fortgate useful commands

Understanding FortiGate Prefix Lists

Before diving into the 'ge' operator, let's understand the basic syntax of a FortiGate prefix list. The general format is as follows:

100 Prefixes and Suffixes List in English with Examples
100 Prefixes and Suffixes List in English with Examples

config system prefix-list

edit <prefix-list-name>

How To Teach Prefixes — The Designer Teacher
How To Teach Prefixes — The Designer Teacher

set prefix <ip-address/cidr>

set action <accept|deny>

Defining IP Address Ranges

two different types of english words and their meanings
two different types of english words and their meanings

The 'prefix' command is used to define the IP address range using CIDR notation. For instance, '192.168.1.0/24' represents all IP addresses from 192.168.1.0 to 192.168.1.255.

The 'action' command determines whether to accept or deny traffic matching the defined IP range.

The 'ge' Operator

Redirect Notice
Redirect Notice

The 'ge' operator is used to match IP addresses that are greater than or equal to the specified value. This operator is particularly useful when you want to match a range of IP addresses that start from a specific point but are not defined by a fixed CIDR block.

Here's an example of using the 'ge' operator in a FortiGate prefix list:

Prefix in English: Meaning, Structure, and Examples
Prefix in English: Meaning, Structure, and Examples
Prefixes List A to Z in English Grammar Pdf - Meaning and Examples - English Grammar Pdf
Prefixes List A to Z in English Grammar Pdf - Meaning and Examples - English Grammar Pdf
Helpful Tips for Prefixes Learners
Helpful Tips for Prefixes Learners
List of Prefixes
List of Prefixes
the different types of reflexs in english and spanish are shown on this poster, which shows
the different types of reflexs in english and spanish are shown on this poster, which shows
Common English Prefixes: A Complete Guide to 50+ Prefixes - ESLBUZZ
Common English Prefixes: A Complete Guide to 50+ Prefixes - ESLBUZZ
Prefixes and Suffixes
Prefixes and Suffixes
a table that has different types of reflexs and prefixes in each one
a table that has different types of reflexs and prefixes in each one
Prefixes Worksheets | Free Printable Prefix Practice
Prefixes Worksheets | Free Printable Prefix Practice
Prefixes with adjectives
Prefixes with adjectives
Prefixes in English – Definition, Types, and Examples
Prefixes in English – Definition, Types, and Examples
Prefix Grade 3, Separable Prefixes List, List Of Prefixes And Multiples, Un Prefix Words List, Prefixes Words List, Learn New Word Prefixes, Prefixes In English Chart, Prefixes List For Students, Prefix Definition And Examples
Prefix Grade 3, Separable Prefixes List, List Of Prefixes And Multiples, Un Prefix Words List, Prefixes Words List, Learn New Word Prefixes, Prefixes In English Chart, Prefixes List For Students, Prefix Definition And Examples
a poster with words and pictures on it that describe the different types of prepositions
a poster with words and pictures on it that describe the different types of prepositions
Educational Grammar Chart, Grammar Study Guide For Students, How To Teach Prefixes And Suffixes, Prefix Suffix Examples List, Prefixes And Suffixes Chart, Common Prefixes And Suffixes, Prefix And Suffix, Prefix And Suffix Meaning, Prefixes In English
Educational Grammar Chart, Grammar Study Guide For Students, How To Teach Prefixes And Suffixes, Prefix Suffix Examples List, Prefixes And Suffixes Chart, Common Prefixes And Suffixes, Prefix And Suffix, Prefix And Suffix Meaning, Prefixes In English
a printable worksheet with words and pictures on it
a printable worksheet with words and pictures on it
the different types of words in english with pictures on each one and below it is an image
the different types of words in english with pictures on each one and below it is an image
a printable worksheet for reflexs, root words and suffxes
a printable worksheet for reflexs, root words and suffxes
a table that has different types of words in each word, and the names below it
a table that has different types of words in each word, and the names below it
the basic english and german rules poster
the basic english and german rules poster
Prefixes and Suffixes - Posters, Interactive Notebook Pages, and More!
Prefixes and Suffixes - Posters, Interactive Notebook Pages, and More!

config system prefix-list

edit my-prefix-list

set prefix 192.168.1.100 ge

set action accept

In this example, the prefix list 'my-prefix-list' will accept any IP address greater than or equal to 192.168.1.100.

Using Prefix Lists in FortiGate Policies

Prefix lists can be used in FortiGate policies to control traffic based on the defined IP address ranges. Here's how you can apply the 'my-prefix-list' created earlier in a policy:

config firewall policy

edit <policy-name>

set srcaddr prefix my-prefix-list

set dstaddr any

set action accept

In this policy, any traffic originating from IP addresses greater than or equal to 192.168.1.100 will be accepted, regardless of the destination address.

Combining Prefix Lists and Ranges

You can also combine prefix lists with explicit IP address ranges to create more complex traffic control rules. For instance, you can create a prefix list to match IP addresses greater than or equal to 192.168.1.100 and use it alongside an explicit range for 192.168.1.0/24:

config firewall policy

edit <policy-name>

set srcaddr prefix my-prefix-list, 192.168.1.0/24

set dstaddr any

set action accept

In this case, the policy will accept traffic from both the range 192.168.1.0/24 and any IP address greater than or equal to 192.168.1.100.

Mastering FortiGate prefix lists and operators like 'ge' empowers you to create sophisticated traffic control rules, enhancing your network's security and efficiency. Regularly reviewing and updating your prefix lists ensures that your firewall policies remain effective and relevant in an ever-changing network landscape.