you can block countrys directly on your server
How can I solve it?
How to block IPs and traffics originating from and destined to a specifc country using geoip and iptables addons in Linux based machine.
linoxide.com
root@ubuntu:/home/xtables-addons-2.13# make
make: *** No targets specified and no makefile found. Stop.
root@ubuntu:/home/xtables-addons-2.13# make install
make: *** No rule to make target 'install'. Stop.
root@ubuntu:/home/xtables-addons-2.13#
root@ubuntu:/home/xtables-addons-2.13/geoip# ./xt_geoip_build GeoIPCountryWhois.csv./xt_geoip_build GeoIPCountryWhois.csv
Can't locate Text/CSV_XS.pm in @INC (you may need to install the Text::CSV_XS module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at ./xt_geoip_build line 8.
BEGIN failed--compilation aborted at ./xt_geoip_build line 8.
root@ubuntu:/home/xtables-addons-2.13/geoip# mkdir -p /usr/share/xt_geoip/
root@ubuntu:/home/xtables-addons-2.13/geoip# cp -r {BE,LE} /usr/share/xt_geoip/
cp: cannot stat 'BE': No such file or directory
cp: cannot stat 'LE': No such file or directory