[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: geoip and iptables



Hi,

In the past, we achieved this following this page:

http://blog.jeshurun.ca/technology/block-countries-ubuntu-iptables-xtables-geoip

Perhaps it helps you too.

MJ

On 19-3-2019 7:54, john doe wrote:
Hi,

I want to use geoip with iptables.

I have installed the package 'geoip-database-extra' and it allows me to
use the 'geoiplookup' utility.
 From what I understand, iptables requires the directory
'/usr/share/xt_geoip' to be populated.

What debian package(s) do I need to install that is not 'non-free' 'or
contrib' to get that directory populated

I can do it manually (1) but I would prefer a debian package.

In other words: how do I let iptables use the geoip database provided by
debian.

Any help is welcome.

1)  http://xtables-addons.sourceforge.net/geoip.php


--
John Doe



Reply to: