Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 12:29:24 -0500
From:      eculp <eculp@encontacto.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: How to block Domain
Message-ID:  <20080331122924.20571g6z8gwzu3dw@intranet.encontacto.net>
In-Reply-To: <47F0F131.1070904@gmail.com>
References:  <47F0F131.1070904@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ken <kenlin66@gmail.com>:

> PF how to block domain

Outgoing, I assume?  Maybe something like the following.

  block = "{ domain.com, domain2.com, domain3.com }"
      block out quick from any to $block

You can also block addresses and or address blocks

  addressblock = "{ 207.46.0.0/16 65.55.0.0/16 }"
      block out quick from any to $addressblock

good luck,

ed




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080331122924.20571g6z8gwzu3dw>