You are not logged in.

#1 2024-04-06 13:39:36

MAYBL8
Member
Registered: 2022-01-14
Posts: 212

need help with xtables-addons

I have installed xtables-addons

When I try to add a rule I get:

[demo@mail ~]$ sudo iptables -I INPUT -m geoip ! --src-cc US -j DROP
iptables v1.8.10 (legacy): Couldn't load match `geoip':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
[demo@mail xtables]$ uname -a
Linux mail 6.6.23-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 27 Mar 2024 07:47:20 +0000 x86_64 GNU/Linux

This is in my /usr/share folder:

drwxr-xr-x   2 root root  4096 Nov 21 08:36 xtables
drwxr-xr-x   2 root root 12288 Apr  5 13:37 xt_geoip

Not much help online for this .
I used this as a guide for the rule to use.
https://www.xmodulo.com/block-network-t … linux.html

Online

Board footer

Powered by FluxBB