View Single Post
  #12  
Old 30 Jan 2011, 12:00
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Originally Posted by dormopoco View Post
I would only allow ips Italian, tnx a lot! 4 your help.
Ok, I am attached list (Italy_CIDR_VLSM.txt) of all Italian net-masks, written in CIDR/VLSM formatting.

First of all - you must delete all others allowed CIDRs/NetMasks which is in allowed list after plugin installation. Then you can open attached txt file with notepad, press Ctrl+A (to select all ) and then you can paste it in "Allowed Sub-Networks (CIDR regions)" plugin field.

All Italian IP ranges I am get - there.

For future, you can convert IP ranges into CIDR formatting using Range_to_CIDR.php file, which I am attached to this post too (when it will be needed, you can upload php file to your site and then go to it via web-browser).

Attached Files
File Type: txt Italy_CIDR_VLSM.txt (16.5 KB, 9 views)
File Type: php Range_to_CIDR.php (6.9 KB, 5 views)

Last edited by LordOfWAR_PC; 30 Jan 2011 at 12:15.
Reply With Quote