What is the exact command you're using? Banning a single IP works fine for me, I haven't messed with banning countries at all.
What router are you using this on?
Country bans will never be perfect. Lists will lag behind the actual changes, plus there are plenty of ways to mask what country...
I don't know the original script was broken, but I suspect a few parts didn't work quite right. Since it's a different version of iptables and ipset, it's hard to say.
If you have ssh setup, you can run the script or individual commands manually. You may need to add some additional debug...
The script mostly uses ipset and iptable. Assuming you have a place for the script to live (like jffs), and a way to run it, there's no reason you couldn't come up with a way to do it. How much of an adaptation that'd be, I have no idea.
Posting the code in a separate post, to get around the character limit...
#!/bin/sh
#################################################################################################
## - 25/12/2014 --- RT-AC66U/RT-AC56U/RT-AC68U Firewall Addition v2.5 - #...
The command is:
sh firewall BANSINGLE
It will then prompt you to enter an IP address. If that doesn't work, see the changes I made to the script below.
So I've been working on this, to get it working on my RT-N66U. What I have working so far works fine for manually entered blocks, but...