Created on 11-20-2023 09:31 AM Edited on 05-21-2024 12:38 AM By Jean-Philippe_P
Description | This article describes how to use a POSIX expression to include or exclude a source or destination subnet with a generic text filter. |
Scope | FortiAnalyzer. |
Solution |
A generic filter can be used to exclude or include subnets as a source and/or destination address.
POSIX syntax can be used to represent the subnets and ranges as follows:
In the above:
In this example, the generic text filter expression will be:
srcip!~"10\.[0-9]+\.[0-9]+\.[0-9]+" and srcip!~"192\.168\.[0-9]+\.[0-9]+"and srcip!~"172\.2[0-1]\.[0-9]+\.[0-9]+" |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.