There is rampant paki posting on this website. And they don't even post with their flags. My goal is not to ban any country/flag from posting but to block VPN/Proxy to a good extent such that posts can only be made using original IPs and original flags.
I read in on thread that you are using maxmind's free db for geolocation. Their free version also has a db for getting ASN from IP. But getting the ASN classification is only in the paid version.
To get ASN type data you can scrape ipinfo website to build a country wise local db https://ipinfo.io/countrieshttps://ipinfo.io/countries or check for individual ASNs when a new post is being made https://ipinfo.io/AS13335https://ipinfo.io/AS13335.