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

Re: iptables geoip not working after update to jessie



	Hi.

On Wed, May 09, 2018 at 08:37:52AM +0200, mj wrote:
> Hi,
> 
> Yesterday I upgraded a server from wheezy to jessie. Went fine, with one
> exception: my geoip iptables rules no longer work:
> 
> > root@jessie:~# iptables -A INPUT -m geoip --src-cc RU -j DROP
> > iptables: No chain/target/match by that name.
> 
> This machine was originaly wheezy, and at that time, I installed the geo ip,
> according to my notes, like this:
> 
> > apt-get install xtables-addons-common libtext-csv-xs-perl

That's not enough. 'apt show xtables-addons-common' says:

Note: this package is only useful with a corresponding
xtables-addons-dkms package, which you may produce with
module-assistant:

module-assistant auto-install xtables-addons-source

Either install "xtables-addons-dkms" (which should build missing kernel
modules by itself), or "xtables-addons-source" (and use module-assistant
then).

Reco


Reply to: