Specifying IP Addresses
IPv4
At some points, vWAF permits IP address ranges to be specified in the format:
xxx.xxx.xxx.xxx/xx
Here, all the values from the specified number up to 255 apply. The number after the forward slash describes the prefix length of an IP address. The allocation tables following the examples helps you with the meaning of the prefix length.
Element | Meaning |
---|---|
81.243.62.0/24 |
81.243.62.0 to 81.243.62.255 |
81.243.62.128/25 |
81.243.62.128 to 81.243.62.255 |
81.243.128.0/17 |
81.243.128.0 to 81.243.255.255 |
80.0.0.0/8 |
80.0.0.0 to 80.255.255.255 |
Element | Meaning |
---|---|
/8 |
255.0.0.0 |
/9 |
255.128.0.0 |
/10 |
255.192.0.0 |
/11 |
255.224.0.0 |
/12 |
255.240.0.0 |
/13 |
255.248.0.0 |
/14 |
255.252.0.0 |
/15 |
255. 254.0.0 |
/16 |
255.255.0.0 |
/17 |
255.255.128.0 |
/18 |
255.255.192.0 |
/19 |
255.255.224.0 |
/20 |
255.255.240.0 |
/21 |
255.255.248.0 |
/22 |
255.255.252.0 |
/23 |
255.255.254.0 |
/24 |
255.255.255.0 |
/25 |
255.255.255.128 |
/26 |
255.255.255.192 |
/27 |
255.255.255.224 |
/28 |
255.255.255.240 |
/29 |
255.255.255.248 |
/30 |
255.255.255.252 |
IPv4
You can enter IPv6 addresses either as full addresses, or you can omit the zeros:
fdd4:f917:0:b532:3e07:54ff:fe23:1df5 2a01:4f8:130:8421::145
Optionally, you can add brackets:
[fdd4:f917:0:b532:3e07:54ff:fe23:1df5] [2a01:4f8:130:8421::145]
When using IPv6 addresses in combination with port numbers, brackets are required:
[2a01:4f8:130:8421::145]:8082
To specify a range of IPv6 addresses, use the following syntax:
Element | Meaning |
---|---|
2a01:4f8:130:8421::145/128 |
single IP address |
2a01:4f8:130:8421::/64 |
subnet |
Brackets are optional. For example, [2a01:4f8:130:8421::]/64 is equivalent to 2a01:4f8:130:8421::/64.