Updated method to block commercial VPN and VPS sites from hitting your NetScalers. The previous method of creating Datasets put a large load on the NetScaler management gui, so I tackled this in another method. I take a NetScaler location DB, and adjust any of the subnets that are owned by the VPN and VPS providers, and give them a custom continent code. Then you can log or drop those directly as geo locations instead of searching through 5-9 massive datasets. Take it for a test spin, and let me know what you think. There is an issue I am seeing where my NetScaler Console can't push a csv, but it can push a maxmind zipped csv and covert it. I will update this as that ticket evolves.
https://github.com/jeffriechers/Random-Powershell-Scripts/tree/main/NetScalerVPNandVPSblocking