From owner-freebsd-net@FreeBSD.ORG Mon Nov 17 08:41:35 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A094516A4CE for ; Mon, 17 Nov 2003 08:41:35 -0800 (PST) Received: from mizar.origin-it.net (mizar.origin-it.net [194.8.96.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id DACD143F75 for ; Mon, 17 Nov 2003 08:41:33 -0800 (PST) (envelope-from helge.oldach@atosorigin.com) Received: from matar.hbg.de.int.atosorigin.com (dehsfw3e.origin-it.net [194.8.96.68])hAHGfWUQ079590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Nov 2003 17:41:32 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Received: from galaxy.hbg.de.ao-srv.com (galaxy.hbg.de.ao-srv.com [161.89.20.4])ESMTP id hAHGfW35028216; Mon, 17 Nov 2003 17:41:32 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Received: (from hmo@localhost) by galaxy.hbg.de.ao-srv.com (8.9.3p2/8.9.3/hmo30mar03) id RAA29240; Mon, 17 Nov 2003 17:41:31 +0100 (MET) Message-Id: <200311171641.RAA29240@galaxy.hbg.de.ao-srv.com> In-Reply-To: <002101c3ad22$0b51cf30$115dcfc2@nico> from Jamie Heckford at "Nov 17, 2003 4:47: 2 pm" To: jamie@tridentmicrosystems.co.uk Date: Mon, 17 Nov 2003 17:41:30 +0100 (MET) From: Helge Oldach X-Address: Atos Origin GmbH, Friesenstraße 13, D-20097 Hamburg, Germany X-Phone: +49 40 7886 7464, Fax: +49 40 7886 9464, Mobile: +49 160 4782517 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Problem with Racoon/IPSec/Setkey - Routing to/from multiple netwo rks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Nov 2003 16:41:35 -0000 Jamie Heckford: >/usr/sbin/setkey -c << EOF >flush; >spdflush; >spdadd ${LOCAL_NETWORK} ${STJUST_NETWORK} any -P out ipsec >esp/tunnel/${LOCAL_OUTSIDE}-${STJUST_OUTSIDE}/require; >spdadd ${STJUST_NETWORK} ${LOCAL_NETWORK} any -P in ipsec >esp/tunnel/${STJUST_OUTSIDE}-${LOCAL_OUTSIDE}/require; >spdadd ${ALLNET_1} ${STJUST_NETWORK} any -P out ipsec >esp/tunnel/${LOCAL_OUTSIDE}-${STJUST_OUTSIDE}/require; >spdadd ${STJUST_NETWORK} ${ALLNET_1} any -P in ipsec >esp/tunnel/${STJUST_OUTSIDE}-${LOCAL_OUTSIDE}/require; >spdadd ${LOCAL_NETWORK} ${BENELUX_NETWORK} any -P out ipsec >esp/tunnel/${LOCAL_OUTSIDE}-${BENELUX_OUTSIDE}/require; >spdadd ${BENELUX_NETWORK} ${LOCAL_NETWORK} any -P in ipsec >esp/tunnel/${BENELUX_OUTSIDE}-${LOCAL_OUTSIDE}/require; >spdadd ${ALLNET_1} ${BENELUX_NETWORK} any -P out ipsec >esp/tunnel/${LOCAL_OUTSIDE}-${BENELUX_OUTSIDE}/require; >spdadd ${BENELUX_NETWORK} ${ALLNET_1} any -P in ipsec >esp/tunnel/${BENELUX_OUTSIDE}-${LOCAL_OUTSIDE}/require; >EOF Try using "unique" instead of "require". Helge