Description | This article provides an overview of the firewall wildcard address type usage. | |||||||||||||||||||||||||||
Scope | FortiGate. | |||||||||||||||||||||||||||
Solution |
The wildcard address objects can be used in situations where we want to resume repetitive ranges/addresses like the following:
But it's not limited to wildcard entire octets. It can be used for things like:
The wildcard address object is specified with a base IP address and a 'netmask'. This 'netmask' is not limited to the traditional values (255, 254, 252...etc.), but as a bitmask that is applied to both values (the wildcard base IP address and the evaluated IP) before comparing them.
Creating a wildcard address for the range 10.x.20.y -10.x.21.y is not possible, as one wildcard address cannot be created on its own. It is necessary to create two wildcard addresses:
config firewall address edit "example_wildcard_address" set uuid 42e6b832-eais-51ef-xxxx-26280aa4408b set type wildcard set wildcard 10.0.20.0 255.0.255.0 next end
config firewall address edit "example_wildcard_address_2" set uuid 9b1d4078-zzzz-51ef-yyyy-153d9cf27067 set type wildcard set wildcard 10.0.21.0 255.0.255.0 next end
Where X is any value and Y is any value.
Below are some examples of what can be achieved with this:
|
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 2025 Fortinet, Inc. All Rights Reserved.