Page 1 of 1

How to block countries

Posted: 23 Jul 2020 00:53
by wind
Hi

how to block country using GeoIP via iptables? i want to block some country specially China.



thanks,

Re: How to block countries

Posted: 23 Jul 2020 07:19
by pdwalker
Have you tried searching the forums to see if anyone has had this question before?

Using this with google as my search parameters
"site:forum.efa-project.org block by country"

I found the following link that my be closest to what you want
viewtopic.php?t=1556

The RelayCountry module is already enabled. You just need to make sure your GeoIP database is up to date.