Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question