Update: I feel at this point that the project is ready and safe for the general use (which doesn't mean there are no bugs...), so I announced it in the community section. Anyone curious is welcome to take a look. Big thanks again to everyone who helped!
Geoip-shell: user-friendly and flexible geoip blocker for Linux, now supports OpenWrt