Pattern | Description | Example |
---|---|---|
* (asterix) | Mathced all strings | * - Will match all IPs/domains |
* (asterix) | Embedded in string, will match all substrings (prefix) | *.mycompany.net will match all domains ending with .mycompany.net |
* (asterix) | Embedded in string, will match all substrings (suffix) | sub.mycompany.* will match all suffixes (like net, com, us etc.) |
a.b.c.d | a,b,c,d are all numbers between 0-255, this pattern represents a single IP address | 195.55.35.112 |
a.b.c.0/24 | This patterns represents a whole /24 subnet, which means all IP addresses with the a.b.c prefix and 0-255 as ‘d’ number. | 195.55.35.0/24 |
a.b.c.d - x.y.z.w | Range of IPs between a.b.c.d and x.y.z.w | 10.20.30.40-10.20.30.50 |
a.b.c.d/x.y.z.w | Netmask: A netmask separates the IP address into network and host parts. Similar to the use of subnets. | 10.20.30.40/255.255.252.0 |