1
General Discussion / Excluding an IP range from a Alias....
« on: March 22, 2024, 09:34:58 am »
Howdy,
So I am using an Alias for "Country Block" (GeoIP). Now for some reason I seem to open up an IP range that I seem to now days need. Now anyone using country blocking IP ranges knows it might fail at some time. In this cas this country is blocked since ages in my firewall, I never had to open up things like this. So I am a newbie on this, and well how do I do this?
In Alias documentation it says to add an ! to exclude from a Alias list. So:
Let's say I have an "URL Table (IPs)" so I enter the name of the table in the "Content" box, say something like this:
And it will read in the lot, say 1000 rows.
So now I need to do an exclusion, if I add a 2nd row to the above:
And now I will have zero rows in that table - exlusion yes, but on ALL rows. So what do I do wrong?
So I am using an Alias for "Country Block" (GeoIP). Now for some reason I seem to open up an IP range that I seem to now days need. Now anyone using country blocking IP ranges knows it might fail at some time. In this cas this country is blocked since ages in my firewall, I never had to open up things like this. So I am a newbie on this, and well how do I do this?
In Alias documentation it says to add an ! to exclude from a Alias list. So:
Code: [Select]
!xxx.yyy.zzz.www/24
Let's say I have an "URL Table (IPs)" so I enter the name of the table in the "Content" box, say something like this:
Code: [Select]
https://raw.git.com/larhedse/list.txt
And it will read in the lot, say 1000 rows.
So now I need to do an exclusion, if I add a 2nd row to the above:
Code: [Select]
https://raw.git.com/larhedse/list.txt
!xxx.yyy.zzz.www/24
And now I will have zero rows in that table - exlusion yes, but on ALL rows. So what do I do wrong?