Jump to content

Bloquear paises en FreeBSD


Recommended Posts

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:

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

Link to comment
Share on other sites

Join the conversation

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

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...