Do we support Wildcard with IP address objects?
8811
Created On 09/12/19 22:16 PM - Last Modified 10/07/26 13:55 PM
Question
How to use a wildcard with IP address objects such as 10.*.60.10?
Environment
- PAN-OS.
- Address objects.
Answer
- Using Wildcards in IP address objects is supported from PAN-OS 9.0. you can create an address object similar to 10.*.60.10.
- Create an Address Object: go to Objects > Addresses > Add
- Name - 10.x.60.10-wildcard
- Type - IP Wildcard Mask
- Prefix - 10.0.60.10/0.255.0.0
- You can use this object in any Security Policy.
Additional Information
Restrictions:
- You can reference an address object of type IP Wildcard Mask only in a Security rule.
-
No Negation: You cannot check the "Negate" box when using a wildcard object in a rule.
- You can't reference an address object of type IP Wildcard Mask in Address-Groups
- You can't configure an address object of type IP Wildcard Mask with the first IP address octet of '0' and the first subnet octet of '255'
- If you wish to get a wildcard for the last 2 octets in an IP address, for example x.x.60.10, you need to configure 2 IP Wildcard Mask objects:
-
Object 1:
0.0.60.10 / 127.255.0.0-
Covers
0.x.60.10through127.x.60.10.
-
-
Object 2:
128.0.60.10 / 127.255.0.0-
Covers
128.x.60.10through255.x.60.10.
-
-
- If you wish to get a wildcard for the last 2 octets in an IP address, for example x.x.60.10, you need to configure 2 IP Wildcard Mask objects:
For additional information:
https://docs.paloaltonetworks.com/network-security/security-policy/administration/objects/addresses