The GeoIP LEAF package designed for iptables 1.3.5 on Bering uClibc kernel 2.4.34.
It may run on other kernels but it is crucial that you use the specified version
of iptables. Unfortunately this version of iptables is not very descriptive and may
show a very cryptic error if you forgot to load the included kernelmodule (ipt_geoip.o)
so check this first if you're seeing errors.
Download the GeoIP LEAF package
The GeoIP package includes a fake database that only includes the zone "LO" that
you can use to test functionality. Specifying "LO" filters on rfc1918 private ranges
(10.0.0.0/8, 224.0.0.0/8, 192.168.0.0/16). You can overwrite this database with one
you created yourself from the original listing on
MaxMind
To create your own database you need the csv2bin utility available from the GeoIP authors
website
Download the GeoIPdb LEAF package (GeoIP database
from August 1, 2009) for a quick start.