From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 16:17:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCB4D1065676 for ; Sat, 26 Mar 2011 16:17:53 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9896A8FC19 for ; Sat, 26 Mar 2011 16:17:53 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 296F02798BD for ; Sat, 26 Mar 2011 17:00:35 +0100 (CET) Received: by astro.zen.inc (Postfix, from userid 1000) id 179121702E; Sat, 26 Mar 2011 17:00:35 +0100 (CET) Date: Sat, 26 Mar 2011 17:00:35 +0100 From: VANHULLEBUS Yvan To: FreeBSD Stable Message-ID: <20110326160034.GA62127@zeninc.net> References: <4D8CC2C5.7020508@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8CC2C5.7020508@earthlink.net> User-Agent: All mail clients suck. This one just sucks less. Subject: Re: SPD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 16:17:53 -0000 On Fri, Mar 25, 2011 at 12:28:53PM -0400, Stephen Clark wrote: > Hi, Hi. > If one has multiple entries in the SPD some representing more specific > network addresses not to be encrypted and sent over an > ipsec tunnel vs more general networks that would be encrypted would this > work? > > In other words say I have a x.x.0.0/16 that should encrypted but in that > x.x.0.0/16 I don't want x.x.84.0/23 > to be encrypted could I do that? If so is dependent on the order the SPD > entries are made? Yes, SPD entries are ordered. Just set up first specific SPD entries for traffic which must not be encrypted, then the tunnel/transport entries for networks. Yvan.