LINUX.ORG.RU

iptables geoip debian 10

 , ,


0

1

На debian 9 geoip ставился без всяких проблем. Но вот на 10ке появились проблемы. Сколько не читаю статей, все ведут на установку xtables-addons-common, который в свою очередь не хочет ставиться

https://rolandschnabel.de/blog/2018/11/iptables-block-traffic-by-country-debian-9/

root@d1:~# update-alternatives --config iptables
There are 2 choices for the alternative iptables (providing /usr/sbin/iptables).

  Selection    Path                       Priority   Status
------------------------------------------------------------
* 0            /usr/sbin/iptables-nft      20        auto mode
  1            /usr/sbin/iptables-legacy   10        manual mode
  2            /usr/sbin/iptables-nft      20        manual mode

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode
root@d1:~# apt-get install install xtables-addons-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xtables-addons-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package install
E: Package 'xtables-addons-common' has no installation candidate
root@d1:~#


xtables-addons-common, который в свою очередь не хочет ставиться

Ты впервые с этим сталкиваешься? А я вот с Wheezy такое периодически наблюдаю. Судьба.

anonymous
()
Ответ на: комментарий от anonymous

установить удалось путем добавления репов. Но ошибка следующая

iptables v1.8.2 (legacy): Couldn’t load match `geoip’:No such file or directory

User01
() автор топика
Последнее исправление: User01 (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.