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

Re: iptables geoip not working after update to jessie


So, I removed xtables-addons-source:

 apt-get remove xtables-addons-source

And reinstalled xtables-addons-dkms:

 apt-get install --reinstall xtables-addons-dkms

That built the module, and things started working again.

Thanks Reco!

On 9-5-2018 10:38, Reco wrote:

On Wed, May 09, 2018 at 08:37:52AM +0200, mj wrote:

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 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


Reply to: