Jump to content

Recommended Posts

Posted

Hola chicos aquís os dejo una interesante guía para bloquear países en FreeBSD.

 

Debeis tener instalando el PF.

Y en nuestro pf.conf ponemos:

ext_if="em0"table <cn-block> persist file "/etc/paises.txt"block in log quick on $ext_if from <cn-block> to anyblock out log quick on $ext_if from any to <cn-block>

En /etc creamos una tabla con las ips del pais/paises que quieres bloquear. Las ips las obtenemos de esta lista:

http://www.ipdeny.com/ipblocks/

Posted

mui buena la guia pero creo que nadie la usara asi porque si ya que es pa bloquear un pais entero juju pero igual se te agradece enseñar cosas nuevas salu2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.