From owner-freebsd-pf@FreeBSD.ORG Mon Mar 31 17:39:49 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138D51065673 for ; Mon, 31 Mar 2008 17:39:49 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id AB69D8FC29 for ; Mon, 31 Mar 2008 17:39:48 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.17.152]) by ns2.bafirst.com with esmtp; Mon, 31 Mar 2008 12:29:30 -0500 id 000D4C57.47F11F7A.0000FDB3 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Mon, 31 Mar 2008 11:29:24 -0600 id 0004AC1A.47F11F74.0001113F Received: from 172.16.0.2 (172.16.0.2 [172.16.0.2]) by intranet.encontacto.net (Horde Framework) with HTTP; Mon, 31 Mar 2008 12:29:24 -0500 Message-ID: <20080331122924.20571g6z8gwzu3dw@intranet.encontacto.net> Date: Mon, 31 Mar 2008 12:29:24 -0500 From: eculp To: freebsd-pf@freebsd.org References: <47F0F131.1070904@gmail.com> In-Reply-To: <47F0F131.1070904@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) Subject: Re: How to block Domain X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 17:39:49 -0000 Quoting Ken : > 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