I'm not very experienced trying to do things like this, but I have been wanting to ban Chinese IPs from my VPS running Ubuntu (12.04 32-bit).
I followed this guide, taking the time to read the explanations and not just pasting in whatever it said: https://mattwilcox.net/web-development/unexpected-ddos-blocking-china-with-ipset-and-iptables/
When I got to the part almost at the end about running /etc/block-china.sh I got a long output of the same error repeating: ipset v6.11: Kernel error received: Operation not permitted
I have searched and couldn't find any help. Is this something I shouldn't even be attempting to do myself, because of my inexperience? Or is there something that I'm just missing?
Also, I have fail2ban setup and it seems to be working well, should I just settle with using that alone?