From owner-freebsd-net@FreeBSD.ORG Mon Dec 29 22:23:21 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A6A81065670 for ; Mon, 29 Dec 2008 22:23:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1342C8FC16 for ; Mon, 29 Dec 2008 22:23:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 42EC941C7AE; Mon, 29 Dec 2008 23:23:20 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id EBydyPG8XKul; Mon, 29 Dec 2008 23:23:19 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id E260E41C7BB; Mon, 29 Dec 2008 23:23:19 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id E609B4448D5; Mon, 29 Dec 2008 22:20:47 +0000 (UTC) Date: Mon, 29 Dec 2008 22:20:47 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Gabe In-Reply-To: <249410.54381.qm@web83812.mail.sp1.yahoo.com> Message-ID: <20081229221821.O28465@maildrop.int.zabbadoz.net> References: <249410.54381.qm@web83812.mail.sp1.yahoo.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: +ipsec_common_input: no key association found for SA X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 22:23:21 -0000 On Mon, 29 Dec 2008, Gabe wrote: > I guess more importantly would be the ipsec configuration: > > spdadd 192.168.10.0/24 192.168.10.165/32 any -P in none; > spdadd 192.168.10.165/32 192.168.10.0/24 any -P out none; > > spdadd 192.168.10.0/24 192.168.20.0/24 any -P out ipsec esp/tunnel/box-box2/unique; > spdadd 192.168.20.0/24 192.168.10.0/24 any -P in ipsec esp/tunnel/box-box2/unique; > > "box" being the server with the error message and box2 being the server at the end, which also has this error message. And I assume there is a typo in the spdadd lines. 1) I cannot see why you'd need the first two if the two tuples are your entire policy. 2) for the 2nd tuple both are box-box2 but one should be box2-box (but I assume this is a typo into the mail). -- Bjoern A. Zeeb The greatest risk is not taking one.