From owner-freebsd-ports@freebsd.org Fri Aug 26 07:05:23 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9A83A930AA for ; Fri, 26 Aug 2016 07:05:23 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from host64.kissl.de (host64.kissl.de [213.239.241.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.shmhost.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92A37192A for ; Fri, 26 Aug 2016 07:05:23 +0000 (UTC) (envelope-from franco@lastsummer.de) Received: from francos-mbp.homeoffice.local (ipservice-092-208-160-166.092.208.pools.vodafone-ip.de [92.208.160.166]) (Authenticated sender: web104p1) by host64.kissl.de (Postfix) with ESMTPSA id F1E996B7C1; Fri, 26 Aug 2016 09:05:19 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: security/strongswan start=route issue From: Franco Fichtner In-Reply-To: <20160826100000.1126b42d107c93d648a8957a@abinet.ru> Date: Fri, 26 Aug 2016 09:05:19 +0200 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160826100000.1126b42d107c93d648a8957a@abinet.ru> To: abi X-Mailer: Apple Mail (2.3124) X-Virus-Scanned: clamav-milter 0.99.2 at host64.kissl.de X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 07:05:23 -0000 Hi, > On 26 Aug 2016, at 9:00 AM, abi wrote: >=20 > I'd like to open PR on upstream, but I want be sure that the problem = exists not only for me, as the problem looks strange. > The issue is that tunnel behaves different if it autostarts = (auto=3Dstart) and when it starts when traffic registered between left = and right side. (auto=3Droute). This works fine in our OPNsense setups. Make sure you use ping with the option "-S $LEFT_IP", it will only auto-route local traffic that originates from within your leftsubnet. Cheers, Franco=