Blocking countries in FreeBSD

Anyone know how to block enitre countries in FreeBSD using IPFirewall / IPFilter? I'm interested in blocking the common spammer/abusers such as china, brazil, korea, russia etc. I know this is not an ideal situation, but I have no legitimate users from any of these countries.

I know theres a few threads about this as well, but as far as I can see non of the threads are covering FreeBSD and IPFirewall.

Happy New year! Blocking countries in FreeBSD

 

 

 

 

Top