Tools:iptables

From Leurent
Jump to: navigation, search

geoip module

  • Install the needed debian packages


aptitude -y install xtables-addons-dkms xtables-addons-common libtext-csv-xs-perl

iptables -m geoip --help

cd /usr/share/xt_geoip
/usr/lib/xtables-addons/xt_geoip_dl
/usr/lib/xtables-addons/xt_geoip_build GeoIPCountryWhois.csv