XF 1.2 How to ban a certain range of IPs?

whynot

Well-known member
You may enter a partial IP, using * at the end to ban a range of IPs (example: 192.168.*).

I'm not happy with :
192.160.*
192.161.*
192.162.*
192.163.*
192.164.*
192.165.*
192.166.*
192.167.*
192.168.*
192.169.*

I would like to ban any IP which follows 192.16 :
192.16*
The result:
Please enter a valid IP or IP range. Wildcards may only occur at the end.
 
I'm not happy with :
192.160.*
192.161.*
192.162.*
192.163.*
192.164.*
192.165.*
192.166.*
192.167.*
192.168.*
192.169.*

I would like to ban any IP which follows 192.16 :
192.16*
The result:

You can't wild card like that, you'd need to do 192.160.0.0/9 192.160.0.0/9

or you could use 192.0.0.0/8 that would block off 192.*.*.*
 
Back
Top Bottom