D
D
Dmitry2016-03-06 21:03:42
iptables
Dmitry, 2016-03-06 21:03:42

iptables error: No chain/target/match by that name when adding rule with geoip?

Hello.
I can't figure out how to solve this error. Essence of the question:
On a VPS with KVM, I decided to configure iptables with geoip to filter by country.
Installed packages, downloaded and collected geoip databases. But when adding, for example, such a simple rule, an error occurs. The internet didn't help much.

iptables -A INPUT -m geoip ! --src-cc EN -j DROP
iptables: No chain/target/match by that name.

Other rules are established and work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2016-03-06
@zmeyjr

maybe it's in!
and so you need to install an extended package for iptables for geo to work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question