Blocking Country IPs using IPTables

Doctor

Well-Known Member
Apr 26, 2003
180
0
166
Does anyone know where I can find accurate country IPs and how I can block them using IPTables?

I need to block Korea, Indonesia, China, Hungary, Russia, France and Netherlands. I get many portscans from culprits living in these countries. :mad:

cPanel.net Support Ticket Number:
 

justchil

Active Member
Aug 1, 2003
27
0
151
I'm looking for something like this as well.. no luck with google just yet but I hope to find something.
 

jamesbond

Well-Known Member
Oct 9, 2002
738
1
168
Originally posted by Doctor
Does anyone know where I can find accurate country IPs and how I can block them using IPTables?

I need to block Korea, Indonesia, China, Hungary, Russia, France and Netherlands. I get many portscans from culprits living in these countries. :mad:
Yeah why not! Block Western Europe!
I encourage all American hosting companies to do the same :D
 

justchil

Active Member
Aug 1, 2003
27
0
151
I don't plan on blocking all of them... just a few ISP's :)