من از
http://www.blockacountry.com/ داشتم استفاده می کردم، اما قاطی داره وقتی همه رو جز ایران انتخاب می کنم باز بعضی آی پی های ایران رو می بنده. چون فکر کنم به روز نیست.
حالا اینی که شما دادی رو هم امتحان می کنم.
ممنون
من زیاد وارد نیستم , ولی امکانی که این سایت که دادم داره اینه که میتونی فقط به ای پی یه کشور اجازه دسترسی بدی , لازم نیست همه رو بن کنی .
این میشه کدش
<Limit GET HEAD POST>
order deny,allow
# Country: IRAN, ISLAMIC REPUBLIC OF
# ISO Code: IR
# Total Networks: 159
# Total Subnets: 2,509,824
allow from 62.60.128.0/17
allow from 62.193.0.0/19
allow from 62.220.96.0/19
allow from 77.36.128.0/17
allow from 77.77.64.0/18
allow from 77.104.64.0/18
allow from 77.237.64.0/19
allow from 77.237.160.0/19
allow from 77.245.224.0/20
allow from 78.38.0.0/15
allow from 78.109.192.0/20
allow from 78.110.112.0/20
allow from 78.111.0.0/20
allow from 78.154.32.0/19
allow from 78.157.32.0/19
allow from 78.158.160.0/19
allow from 79.127.0.0/17
allow from 79.132.192.0/19
allow from 79.170.144.0/21
allow from 79.175.128.0/18
allow from 80.66.176.0/20
allow from 80.69.240.0/20
allow from 80.71.112.0/20
allow from 80.75.0.0/20
allow from 80.191.0.0/16
allow from 80.242.0.0/20
allow from 80.253.128.0/20
allow from 80.253.144.0/20
allow from 81.12.0.0/17
allow from 81.28.32.0/20
allow from 81.28.48.0/20
allow from 81.29.240.0/20
allow from 81.31.160.0/20
allow from 81.31.176.0/20
allow from 81.90.144.0/20
allow from 81.91.128.0/20
allow from 81.91.144.0/20
allow from 82.99.192.0/18
allow from 82.115.0.0/19
allow from 83.147.192.0/18
allow from 84.47.192.0/18
allow from 84.241.0.0/18
allow from 85.9.64.0/18
allow from 85.15.0.0/18
allow from 85.133.128.0/17
allow from 85.185.0.0/16
allow from 85.198.0.0/18
allow from 86.57.0.0/17
allow from 86.109.32.0/19
allow from 87.107.0.0/16
allow from 87.247.160.0/19
allow from 87.248.128.0/19
allow from 88.135.32.0/20
allow from 89.144.128.0/18
allow from 89.165.0.0/17
allow from 89.184.192.0/19
allow from 89.221.80.0/20
allow from 89.235.64.0/18
allow from 91.98.0.0/15
allow from 91.184.64.0/19
allow from 91.186.192.0/19
allow from 91.206.122.0/23
allow from 91.208.165.0/24
allow from 91.209.242.0/24
allow from 91.212.16.0/24
allow from 91.212.19.0/24
allow from 91.212.252.0/24
allow from 91.216.4.0/24
allow from 92.42.48.0/21
allow from 92.50.0.0/18
allow from 92.61.176.0/20
allow from 92.62.176.0/20
allow from 92.242.192.0/19
allow from 93.110.0.0/16
allow from 93.190.24.0/21
allow from 94.74.128.0/18
allow from 94.101.128.0/20
allow from 94.101.176.0/20
allow from 94.101.240.0/20
allow from 94.139.160.0/19
allow from 94.182.0.0/15
allow from 94.184.0.0/17
allow from 94.184.128.0/17
allow from 94.232.168.0/21
allow from 94.241.128.0/18
allow from 95.38.0.0/16
allow from 95.80.128.0/18
allow from 95.81.64.0/18
allow from 95.82.0.0/18
allow from 95.82.64.0/18
allow from 95.130.56.0/21
allow from 95.130.240.0/21
allow from 95.142.224.0/20
allow from 109.72.192.0/20
allow from 109.74.224.0/20
allow from 109.95.56.0/21
allow from 109.95.64.0/21
allow from 109.109.32.0/19
allow from 109.110.160.0/19
allow from 109.111.32.0/19
allow from 109.122.192.0/18
allow from 109.125.128.0/18
allow from 109.162.128.0/17
allow from 109.201.0.0/19
allow from 109.203.160.0/19
allow from 109.225.128.0/18
allow from 109.230.64.0/18
allow from 109.238.176.0/20
allow from 109.239.0.0/20
allow from 178.21.40.0/21
allow from 178.22.72.0/21
allow from 178.131.0.0/16
allow from 178.173.128.0/17
allow from 178.248.40.0/21
allow from 188.34.0.0/16
allow from 188.75.64.0/18
allow from 188.93.64.0/21
allow from 188.118.64.0/18
allow from 188.121.96.0/19
allow from 188.121.128.0/19
allow from 188.126.128.0/19
allow from 188.136.128.0/17
allow from 188.158.0.0/15
allow from 193.104.212.0/24
allow from 193.105.2.0/24
allow from 193.105.6.0/24
allow from 193.106.196.0/22
allow from 193.189.122.0/23
allow from 194.225.0.0/16
allow from 195.110.38.0/23
allow from 195.146.32.0/19
allow from 195.170.163.0/24
allow from 195.191.74.0/23
allow from 195.211.44.0/22
allow from 195.245.70.0/23
allow from 212.16.64.0/19
allow from 212.33.192.0/19
allow from 212.50.224.0/19
allow from 212.80.0.0/19
allow from 212.95.128.0/19
allow from 212.120.192.0/19
allow from 213.147.128.0/19
allow from 213.176.0.0/19
allow from 213.176.32.0/19
allow from 213.176.64.0/18
allow from 213.195.0.0/18
allow from 213.207.192.0/18
allow from 213.217.32.0/19
allow from 213.233.160.0/19
allow from 217.11.16.0/20
allow from 217.24.144.0/20
allow from 217.25.48.0/20
allow from 217.64.144.0/20
allow from 217.66.192.0/20
allow from 217.66.208.0/20
allow from 217.146.208.0/20
allow from 217.172.96.0/19
allow from 217.174.16.0/20
allow from 217.218.0.0/15
#
deny from all
</Limit>