Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/12/2010, 18:01
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 17 años, 4 meses
Puntos: 1567
Respuesta: Como prohibir la visibilidad o entrada al foro a cierta region geografica?

Con los de todo un continente va a ser un poco dificil, ahora que si es un pais, podés usar esta herramienta
http://www.find-ip-address.org/ip-country/

y colocar en tu htaccess la lista de ip's a bloquear, con eto bloquearias el acceso a tu web desde Afganistán...

Código Apache:
Ver original
  1. <Limit GET HEAD POST>
  2. order allow,deny
  3. deny from 27.116.56.0/22
  4. deny from 58.147.128.0/19
  5. deny from 63.250.179.160/27
  6. deny from 63.250.182.192/29
  7. deny from 64.71.230.128/28
  8. deny from 64.86.63.64/27
  9. deny from 66.128.51.96/27
  10. deny from 72.9.146.168/29
  11. deny from 80.78.17.144/29
  12. deny from 80.78.23.80/29
  13. deny from 80.247.139.0/24
  14. deny from 81.31.199.32/30
  15. deny from 82.205.192.0/21
  16. deny from 82.205.202.0/23
  17. deny from 82.205.204.0/22
  18. deny from 84.11.21.0/27
  19. deny from 84.11.26.128/26
  20. deny from 84.11.33.0/24
  21. deny from 84.11.79.0/24
  22. deny from 86.62.1.184/29
  23. deny from 86.62.1.224/29
  24. deny from 86.62.1.248/29
  25. deny from 86.62.4.120/30
  26. deny from 86.62.4.208/30
  27. deny from 86.62.4.252/30
  28. deny from 86.62.5.0/29
  29. deny from 86.62.5.36/30
  30. deny from 86.62.5.64/30
  31. deny from 86.62.5.88/30
  32. deny from 86.62.5.108/30
  33. deny from 86.62.5.116/30
  34. deny from 86.62.6.240/29
  35. deny from 86.62.7.28/30
  36. deny from 86.62.7.56/30
  37. deny from 86.62.7.72/30
  38. deny from 86.62.7.120/30
  39. deny from 86.62.7.132/30
  40. deny from 86.62.7.252/30
  41. deny from 86.62.9.40/29
  42. deny from 86.62.9.48/29
  43. deny from 86.62.9.60/30
  44. deny from 86.62.9.64/30
  45. deny from 86.62.9.76/30
  46. deny from 86.62.9.100/30
  47. deny from 86.62.9.120/29
  48. deny from 86.62.9.148/30
  49. deny from 86.62.12.4/30
  50. deny from 86.62.12.84/30
  51. deny from 86.62.12.116/30
  52. deny from 86.62.12.128/30
  53. deny from 86.62.12.140/30
  54. deny from 86.62.12.188/30
  55. deny from 86.62.12.200/30
  56. deny from 86.62.12.252/30
  57. deny from 86.62.13.24/30
  58. deny from 86.62.13.152/30
  59. deny from 86.62.13.172/30
  60. deny from 86.62.13.184/30
  61. deny from 86.62.13.236/30
  62. deny from 86.62.14.0/30
  63. deny from 86.62.14.48/30
  64. deny from 86.62.14.180/30
  65. deny from 86.62.15.68/30
  66. deny from 86.62.15.100/30
  67. deny from 86.62.15.104/30
  68. deny from 86.62.15.208/30
  69. deny from 86.62.15.244/30
  70. deny from 86.62.17.0/30
  71. deny from 86.62.17.88/30
  72. deny from 86.62.17.108/30
  73. deny from 86.62.17.124/30
  74. deny from 86.62.17.144/30
  75. deny from 86.62.18.20/30
  76. deny from 86.62.18.24/30
  77. deny from 86.62.19.56/30
  78. deny from 86.62.19.192/29
  79. deny from 86.62.19.204/30
  80. deny from 86.62.20.44/30
  81. deny from 86.62.20.52/30
  82. deny from 86.62.21.240/29
  83. deny from 86.62.21.248/30
  84. deny from 86.62.22.136/30
  85. deny from 86.62.22.160/30
  86. deny from 86.62.22.216/30
  87. deny from 86.62.22.248/30
  88. deny from 86.62.23.44/30
  89. deny from 86.62.23.108/30
  90. deny from 86.62.23.120/30
  91. deny from 86.62.24.48/30
  92. deny from 86.62.24.244/30
  93. deny from 86.62.25.60/30
  94. deny from 86.62.25.100/30
  95. deny from 86.62.25.128/30
  96. deny from 86.62.25.152/30
  97. deny from 86.62.25.164/30
  98. deny from 86.62.25.168/30
  99. deny from 86.62.26.64/29
  100. deny from 86.62.26.160/29
  101. deny from 86.62.27.8/30
  102. deny from 86.62.27.20/30
  103. deny from 86.62.27.24/30
  104. deny from 86.62.27.52/30
  105. deny from 86.62.27.100/30
  106. deny from 86.62.27.116/30
  107. deny from 86.62.27.244/30
  108. deny from 86.62.27.252/30
  109. deny from 86.62.28.4/30
  110. deny from 86.62.28.8/29
  111. deny from 86.62.28.52/30
  112. deny from 86.62.28.56/30
  113. deny from 86.62.28.76/30
  114. deny from 86.62.28.248/30
  115. deny from 86.62.29.28/30
  116. deny from 86.62.29.36/30
  117. deny from 86.62.29.108/30
  118. deny from 86.62.29.172/30
  119. deny from 86.62.29.192/30
  120. deny from 86.62.30.56/30
  121. deny from 86.62.30.64/29
  122. deny from 86.62.30.140/30
  123. deny from 86.62.30.204/30
  124. deny from 86.62.31.24/30
  125. deny from 86.62.31.36/30
  126. deny from 86.62.31.44/30
  127. deny from 86.62.31.112/30
  128. deny from 86.62.31.160/30
  129. deny from 86.62.31.244/30
  130. deny from 86.62.32.4/30
  131. deny from 86.62.32.28/30
  132. deny from 86.62.32.36/30
  133. deny from 86.62.32.64/30
  134. deny from 86.62.32.96/30
  135. deny from 86.62.32.144/30
  136. deny from 86.62.32.184/30
  137. deny from 86.62.32.248/30
  138. deny from 86.62.33.0/29
  139. deny from 86.62.33.40/29
  140. deny from 86.62.33.120/29
  141. deny from 86.62.33.128/29
  142. deny from 87.249.84.0/24
  143. deny from 92.39.124.0/25
  144. deny from 111.125.152.0/21
  145. deny from 111.223.244.0/22
  146. deny from 117.55.192.0/20
  147. deny from 117.104.224.0/21
  148. deny from 119.59.80.0/21
  149. deny from 121.58.160.0/21
  150. deny from 121.100.48.0/21
  151. deny from 121.127.32.0/19
  152. deny from 125.213.192.0/19
  153. deny from 175.106.32.0/19
  154. deny from 180.94.64.0/19
  155. deny from 180.222.136.0/21
  156. deny from 193.201.151.64/26
  157. deny from 193.219.208.192/29
  158. deny from 193.219.243.8/29
  159. deny from 193.219.243.16/28
  160. deny from 193.219.243.32/27
  161. deny from 193.219.243.64/27
  162. deny from 193.219.255.112/29
  163. deny from 193.220.157.0/27
  164. deny from 202.56.176.0/20
  165. deny from 202.86.16.0/20
  166. deny from 202.133.9.240/28
  167. deny from 202.133.13.8/29
  168. deny from 202.133.13.16/28
  169. deny from 202.133.13.40/29
  170. deny from 202.133.13.56/29
  171. deny from 202.133.13.96/28
  172. deny from 202.174.133.8/29
  173. deny from 202.174.133.32/28
  174. deny from 202.174.133.144/29
  175. deny from 202.174.134.0/29
  176. deny from 202.174.144.0/29
  177. deny from 202.174.144.216/29
  178. deny from 202.174.148.48/29
  179. deny from 202.174.148.128/29
  180. deny from 202.174.153.184/29
  181. deny from 202.174.154.0/29
  182. deny from 202.174.154.24/29
  183. deny from 202.174.154.96/28
  184. deny from 202.174.154.128/29
  185. deny from 202.174.154.160/29
  186. deny from 202.174.154.180/30
  187. deny from 202.174.154.184/30
  188. deny from 202.174.154.212/30
  189. deny from 202.174.155.128/29
  190. deny from 202.174.155.136/32
  191. deny from 202.174.155.144/29
  192. deny from 202.174.155.217/32
  193. deny from 202.174.155.218/31
  194. deny from 202.174.155.220/30
  195. deny from 202.174.155.240/29
  196. deny from 202.174.156.64/26
  197. deny from 202.174.156.192/28
  198. deny from 202.174.156.208/29
  199. deny from 202.174.156.248/29
  200. deny from 202.174.157.192/27
  201. deny from 202.174.157.232/29
  202. deny from 203.88.66.64/29
  203. deny from 203.88.66.160/29
  204. deny from 203.88.82.240/29
  205. deny from 203.88.88.24/29
  206. deny from 203.88.88.32/29
  207. deny from 203.88.88.40/30
  208. deny from 203.88.88.160/29
  209. deny from 203.88.88.224/29
  210. deny from 203.174.27.0/24
  211. deny from 203.208.205.192/26
  212. deny from 203.215.32.0/20
  213. deny from 204.231.159.0/27
  214. deny from 205.234.152.192/28
  215. deny from 206.123.95.56/29
  216. deny from 206.217.128.112/29
  217. deny from 206.217.132.104/29
  218. deny from 206.217.134.48/29
  219. deny from 206.217.134.208/28
  220. deny from 206.217.136.160/29
  221. deny from 206.217.139.152/29
  222. deny from 208.35.53.176/28
  223. deny from 208.250.54.64/29
  224. deny from 210.5.226.0/24
  225. deny from 212.116.232.208/28
  226. deny from 217.10.167.0/24
  227. deny from 217.23.3.79/32
  228. deny from 217.23.3.80/32
  229. deny from 217.195.144.24/29
  230. deny from 217.195.144.32/30
  231. deny from 217.195.145.0/27
  232. deny from 217.195.145.32/28
  233. deny from 217.195.145.56/29
  234. deny from 217.195.145.80/28
  235. deny from 217.195.145.96/27
  236. deny from 217.195.145.128/25
  237. deny from 217.195.146.8/29
  238. deny from 217.195.146.16/28
  239. deny from 217.195.146.32/29
  240. deny from 217.195.146.48/29
  241. deny from 217.195.146.64/26
  242. deny from 217.195.146.128/28
  243. deny from 217.195.146.144/30
  244. deny from 217.195.146.152/29
  245. deny from 217.195.146.160/27
  246. deny from 217.195.146.192/28
  247. deny from 217.195.146.208/29
  248. deny from 217.195.146.232/29
  249. deny from 217.195.146.240/28
  250. deny from 217.195.147.0/28
  251. deny from 217.195.147.41/32
  252. deny from 217.195.147.42/31
  253. deny from 217.195.147.44/30
  254. allow from all
  255. </LIMIT>

Además está el tema de los Proxies
si no fuese algo Vital... yo no bloquearía nada

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.