The pro version of IP Login also gives you the ability to use IP ranges.
Use a trailing * to match addresses with the same complete leading address parts. For example, 192.0.2.* matches the entire last IPv4 part. Wildcards do not match arbitrary text within an address part.
For IPv6 wildcard prefixes, write each leading part explicitly rather than using :: to omit zero parts.
Or you can use a "dash" (-) for from - to ranges. In this case, the matched IP range depends on how many IP parts you give for the ending IP.
From-to ranges include both endpoints, which must use the same address family: IPv4 or IPv6. CIDR notation, such as 192.0.2.0/24, is not supported in these login rules; use a wildcard or from-to range instead.
A lone * removes the address restriction entirely. The secret URL key is still required, but no client or referrer address needs to match. Use a specific address or range when you want an address restriction.
Here are some examples to show you how these work:
IPv4 Ranges
| IP Range | IP addresses matching range |
|---|---|
110.120.130.* |
110.120.130.0 to 110.120.130.255 |
110.120.* |
110.120.0.0 to 110.120.255.255 |
110.120.130.50-110.120.130.100 |
110.120.130.50 to 110.120.130.100 |
110.120.130.50-100 |
110.120.130.50 to 110.120.130.100 |
110.120.50.0-100.255 |
110.120.50.0 to 110.120.100.255 |
IPv6 Ranges
| IP Range | IP addresses matching range |
|---|---|
1111:2222:3333:4444:5555:6666:7777:* |
1111:2222:3333:4444:5555:6666:7777:0000 to 1111:2222:3333:4444:5555:6666:7777:ffff |
1111:2222:3333:4444:5555:6666:7777:1000-1111:2222:3333:4444:5555:6666:7777:a000 |
1111:2222:3333:4444:5555:6666:7777:1000 to 1111:2222:3333:4444:5555:6666:7777:a000 |
1111:2222:3333:4444:5555:6666:7777:8888-dddd:eeee:ffff |
1111:2222:3333:4444:5555:6666:7777:8888 to 1111:2222:3333:4444:5555:dddd:eeee:ffff |