Help - Search - Members - Calendar
Full Version: How: Block access from Nigeria?
The Planet Forums > Security > General Security > UNIX Security
SuperBaby
Is it possible to block access from Nigeria?
autoquartz
Most probably you will need to get a list of all the IP blocks from Nigeria, then add them to your firewall deny list, this can be easily done on a Linux system with APF installed.

p/s: This will still not block Nigeria connection through proxy outside Nigeria though.
Paul
Like autoquartz said, just add the IP ranges to your firewall. I currently block .hk, .cn and .jp because I don't like them. Next on my hitlist is .fr and .ca icon_smile.gif

Google is your friend for finding the IP blocks owned by each country.
Jeff
Speaking of this, it is an unfortunate situation, but it appears I will need to start blocking access by:
1.) location, getting rid of nigeria scam / fraud capitals, and
2.) any and all web proxies I can find
to at least slow these buggers down.

I have a classified site and the moment somone lists now they are getting 3-5 nigeria scam emails within 48 hours icon_twisted.gif

What started out as a nuissance is now really hurting my site. These scam artists are possibly the worst virus/worm we've seen to date because they are so persistent. It's really unfortunate that they force me to lock out entire countries! Maybe we could just disconnect those countries from the Internet until they get their scam artists under control icon_rolleyes.gif
Serhat
The problem is that there is nothing forcing them to send their scams from Nigeria itself. Also, building proxy lists may be difficult as they're often compromised boxes and (thus) change IP a lot.
codehawk
where do or would you find a ip block list from? for these countries - CN JP and HK north and south korea is going on the list too.
xenneo
QUOTE (SuperBaby)
Is it possible to block access from Nigeria?


Enjoy;

62.56.236.0/24

62.56.244.0/22

63.103.138.0/24

63.103.139.64/26

63.103.140.0/22

66.178.7.16/29

66.178.16.144/29

66.178.16.232/28

66.178.17.64/29

66.178.55.0/24

66.178.58.0/26

66.178.58.128/27
66.178.58.160/29

66.178.58.176/29

66.178.58.200/29

66.178.67.0/24

66.178.72.0/24

66.178.78.120/29

66.178.78.160/27

66.178.80.32/29

66.178.80.64/28
66.178.80.80/29

66.178.80.96/27

66.178.80.144/29

66.178.80.160/28
66.178.80.176/29

66.178.80.192/27

66.178.81.0/28

66.178.81.40/29

66.178.81.72/29

66.178.81.96/27
66.178.81.128/28

66.178.81.192/29

66.178.81.216/27
66.178.81.248/29

66.178.82.128/25

66.178.83.128/29

66.178.83.168/29

66.178.90.88/29

66.178.95.0/25

80.78.16.168/27
80.78.16.200/29

80.78.16.224/29

80.78.17.64/28

80.78.17.88/29

80.78.17.104/29

80.78.17.160/29
80.78.17.168/30
80.78.17.172/32
80.78.17.173/32
80.78.17.174/32

80.78.17.208/28
80.78.17.224/29

80.78.18.0/29

80.78.18.16/28
80.78.18.32/29

80.78.18.48/27

80.78.18.88/27

80.78.18.128/28

80.78.18.184/29

80.78.18.216/27

80.78.19.16/29

80.88.129.0/25

80.88.130.0/24
80.88.131.0/29

80.88.131.16/26
80.88.131.80/28

80.88.131.128/26

80.88.131.208/29

80.88.131.232/28

80.88.132.8/26
80.88.132.72/27
80.88.132.104/28

80.88.132.128/27
80.88.132.160/29

80.88.132.192/27

80.88.132.232/29

80.88.133.0/24
80.88.134.0/28

80.88.134.64/27
80.88.134.96/29

80.88.134.112/29

80.88.134.144/28

80.88.135.0/25
80.88.135.128/29

80.88.135.144/28

80.88.135.176/26
80.88.135.240/28

80.88.136.160/26
80.88.136.224/29

80.88.137.8/28

80.88.137.48/28

80.88.137.88/28
80.88.137.104/29

80.88.137.128/26
80.88.137.192/27
80.88.137.224/29

80.88.138.72/26
80.88.138.136/27
80.88.138.168/28
80.88.138.184/29

80.88.138.200/28
80.88.138.216/29

80.88.139.0/29

80.88.139.16/27

80.88.139.64/28

80.88.139.96/27
80.88.139.128/28

80.88.139.152/26
80.88.139.216/28
80.88.139.232/29

80.88.140.0/25

80.88.140.192/25

80.88.141.80/27

80.88.142.200/27

80.88.142.240/28

80.88.143.128/29

80.88.143.144/23
80.88.145.144/25
80.88.146.16/27
80.88.146.48/28
80.88.146.64/29

80.88.146.80/27
80.88.146.112/29

80.88.146.176/27
80.88.146.208/28
80.88.146.224/29

80.88.147.64/26

80.88.147.144/29

80.88.148.0/23

80.88.150.40/25
80.88.150.168/27
80.88.150.200/28
80.88.150.216/29

80.88.150.240/28

80.88.151.176/28

80.88.151.200/29

80.88.151.216/29

80.88.151.240/29

80.88.152.0/26

80.88.152.128/27

80.88.152.176/28

80.88.152.200/27
80.88.152.232/29

80.88.153.0/24

80.88.154.16/26
80.88.154.80/29

80.88.154.112/24
80.88.155.112/26

80.88.155.192/28

80.88.155.216/28
80.88.155.232/29

80.88.155.248/28
80.88.156.8/29

80.88.156.32/29

80.88.156.48/28

80.88.157.8/28
80.88.157.24/29

80.88.157.80/27

80.88.157.128/28

80.88.157.184/30

80.88.157.232/28
80.88.157.248/29

80.231.4.0/23

80.247.136.0/23

80.247.141.32/26

80.247.141.128/24
80.247.142.128/25

80.247.147.16/28
80.247.147.32/29

80.247.147.64/27

80.247.151.0/24

80.247.153.0/24

80.247.156.0/30

80.247.156.8/29

80.247.156.48/28

80.247.156.128/28

80.247.156.160/28

80.247.157.0/24

80.247.159.0/24

80.255.39.184/29

80.255.40.112/27

80.255.40.192/28

80.255.40.224/27

80.255.58.64/26
80.255.58.128/28

80.255.58.176/26
80.255.58.240/28

80.255.61.0/26
80.255.61.64/27
80.255.61.96/28
80.255.61.112/29
80.255.61.120/30
80.255.61.124/32
80.255.61.125/32

80.255.61.192/26

80.255.63.8/29

80.255.63.24/29

80.255.63.40/29

80.255.63.64/27

81.18.32.0/20

81.23.194.0/26
81.23.194.64/27

81.23.194.128/24
81.23.195.128/25
81.23.196.0/26
81.23.196.64/27

81.23.196.128/23
81.23.198.128/25

81.24.0.0/20

81.199.2.192/26

81.199.5.0/23
81.199.7.0/24

81.199.49.0/25

81.199.72.0/22
81.199.76.0/24

81.199.82.0/22
81.199.86.0/23

81.199.90.0/24

81.199.94.0/23

81.199.108.0/22

81.199.130.0/24

81.199.132.0/22

81.199.142.0/23

81.199.144.160/27

81.199.162.0/23

81.199.166.0/23

81.199.209.0/23

82.193.32.0/27
82.193.32.32/29

82.193.32.48/28

82.193.32.72/25
82.193.32.200/27
82.193.32.232/28

82.193.33.0/28

82.193.33.20/25
82.193.33.148/26
82.193.33.212/27
82.193.33.244/29

82.193.34.4/26
82.193.34.68/27
82.193.34.100/30

82.193.34.112/25
82.193.34.240/27
82.193.35.16/29

82.193.35.32/26
82.193.35.96/28
82.193.35.112/30

82.193.37.0/22
82.193.41.0/23

82.206.128.160/28

82.206.128.184/29

82.206.129.0/28

82.206.145.0/25
82.206.145.128/32

82.206.176.0/24

82.206.182.128/25

82.206.183.128/25

83.143.8.0/21

83.229.16.0/22
83.229.20.0/24

83.229.22.0/23

83.229.26.16/29

83.229.26.48/26
83.229.26.112/28

83.229.26.144/27
83.229.26.176/29

83.229.26.192/28

83.229.26.240/29

83.229.48.64/26
83.229.48.128/29

83.229.48.152/29

83.229.48.168/29

83.229.48.192/27

83.229.56.0/23

83.229.62.0/29

83.229.62.32/28

83.229.62.88/29

83.229.62.112/28

83.229.68.0/24

83.229.69.16/28

83.229.69.112/28

83.229.70.128/29

83.229.70.192/28

83.229.70.224/29

83.229.97.0/27

83.229.97.128/26

83.229.102.72/28

83.229.103.0/25

83.229.103.160/27
83.229.103.192/29

83.229.103.208/29

83.229.103.240/29

83.229.122.128/29

83.229.125.0/23

84.254.130.1/30

193.110.2.0/23

193.189.0.0/18
193.189.64.0/23

193.189.128.0/24

193.219.210.0/29

193.219.216.0/24

193.219.221.0/28

193.219.221.128/28

193.219.222.0/24

193.219.226.0/23

193.219.240.0/26

193.219.244.0/24
193.219.245.0/26

193.219.248.0/26

193.219.248.128/26

193.220.26.0/24

193.220.30.0/26

193.220.45.0/25

193.220.47.0/25

193.220.50.0/24

193.220.64.0/23
193.220.66.0/24

193.220.77.0/26

193.220.78.0/23

193.220.212.0/23
193.220.214.0/28

193.220.219.0/25

193.220.232.0/24
193.220.233.0/28

193.238.28.0/22

195.8.22.0/24

196.201.144.0/28

204.10.224.64/27

208.52.116.0/24

209.159.162.8/29

209.159.162.48/28

209.159.162.96/26
209.159.162.160/28

209.159.164.0/24

209.159.166.0/24

209.159.170.0/23

209.159.173.0/24

209.159.175.0/24

212.165.132.64/27

212.165.132.128/25

212.165.135.0/24

212.165.140.0/30

212.165.140.16/29

212.165.140.64/24
212.165.141.64/25
212.165.141.192/26

212.165.147.0/26

212.165.147.128/26

212.165.151.16/29

212.165.151.32/27

212.165.155.52/30

212.165.155.144/28

212.165.168.0/23
212.165.170.0/24
212.165.171.0/32

213.140.62.0/23

213.166.160.0/19

213.181.64.0/19

213.185.104.0/24

213.185.106.0/23

213.185.113.96/27

213.185.113.208/28

213.185.118.128/28

213.185.119.0/24

213.185.124.0/24

213.187.131.64/29

213.187.131.96/28

213.187.134.0/23
213.187.136.0/24

213.187.137.128/25

213.187.142.0/23

213.187.145.0/24

213.187.146.32/26
213.187.146.96/27

213.232.96.0/24

213.255.192.112/28

213.255.192.232/24
213.255.193.232/28
213.255.193.248/29

213.255.195.0/25
213.255.195.128/27

213.255.195.168/29

213.255.195.232/27
213.255.196.8/29

213.255.196.32/28

213.255.196.128/29

213.255.197.64/30

213.255.198.136/28

213.255.198.160/29

213.255.198.176/28
213.255.198.192/29

213.255.198.248/25
213.255.199.120/29

213.255.201.0/24

213.255.204.0/23
213.255.206.0/24

213.255.211.216/29

213.255.211.240/28

213.255.218.160/28

213.255.218.184/28
213.255.218.200/29

213.255.218.240/28

213.255.219.24/29

213.255.219.56/27
213.255.219.88/29

213.255.219.128/28
213.255.219.144/29

213.255.219.176/27

213.255.219.224/27

213.255.224.32/28
213.255.224.48/29

213.255.224.112/29

213.255.226.64/28

213.255.247.88/28

213.255.247.112/28
213.255.247.128/29

213.255.247.144/29

213.255.247.200/29

213.255.247.232/29

213.255.248.0/25
213.255.248.128/26

213.255.254.64/26

213.255.254.200/29

216.72.104.0/21

216.129.147.128/28

216.129.159.0/24

216.139.164.72/29

216.139.169.224/29

216.139.170.32/29

216.139.170.112/28

216.139.172.32/29

216.139.176.56/29

216.139.176.80/29

216.139.176.104/28

216.139.176.144/29

216.139.181.24/29

216.139.181.64/25
216.139.181.192/26

216.139.185.8/29

216.147.158.96/27

216.236.200.96/28

216.236.202.96/28

216.236.205.0/24

216.236.222.128/26

216.250.195.0/27

217.10.163.128/26

217.10.163.224/27

217.10.166.0/27

217.10.166.48/27

217.10.169.0/23
217.10.171.0/24

217.10.173.0/26

217.10.173.96/26

217.10.175.80/29

217.10.175.160/28

217.10.185.0/24

217.15.124.0/25
217.15.124.128/29

217.20.241.1/30
217.20.241.5/32
217.20.241.6/32
217.20.241.7/32

217.20.241.16/28

217.20.241.40/25
217.20.241.168/27
217.20.241.200/28

217.20.242.0/27
217.20.242.32/28
217.20.242.48/29

217.20.242.64/26

217.20.242.160/27

217.20.243.24/27
217.20.243.56/29

217.20.243.160/27

217.21.148.128/26

217.146.3.144/27
217.146.3.176/29

217.146.3.224/27

217.146.4.64/26

217.146.5.0/24
217.146.6.0/25

217.146.6.160/28
217.146.6.176/29
217.146.6.184/30
217.146.6.188/32
217.146.6.189/32
217.146.6.190/32

217.146.7.0/24
217.146.8.0/25

217.146.9.0/24

217.146.10.128/24

217.146.12.0/23
217.146.14.0/25

217.146.15.0/25

217.146.16.0/27
217.146.16.32/29

217.168.113.0/25

217.194.132.0/24

217.194.133.64/28

217.194.133.216/29

217.194.135.128/28

217.194.136.224/29
217.194.136.232/32
217.194.136.233/32

217.194.137.24/29

217.194.140.0/22
217.194.144.0/24

217.194.145.48/29

217.194.145.176/25
217.194.146.48/26
217.194.146.112/28

217.194.146.192/25
217.194.147.64/26
217.194.147.128/28

217.194.147.216/29

217.194.149.16/29

217.194.149.40/29

217.194.149.72/29

217.194.149.96/28

217.194.149.144/27
217.194.149.176/29
217.194.149.184/32
217.194.149.185/32

217.194.149.240/29

217.194.152.0/23

217.194.155.80/28
217.194.155.96/29

217.194.155.120/29

217.194.156.0/24

217.194.157.64/26

217.194.157.160/29

217.194.157.176/29

217.194.157.216/29

I know this is an old question icon_razz.gif, but others may wanna know! icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.