How to block countries

Questions and answers about how to do stuff
Post Reply
wind
Posts: 6
Joined: 17 Jul 2020 03:38

How to block countries

Post by wind »

Hi

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



thanks,
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to block countries

Post 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.
Post Reply