From owner-freebsd-net@freebsd.org Tue Dec 17 07:03:42 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7E551DDCD6 for ; Tue, 17 Dec 2019 07:03:42 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47cTd95DWPz3Ql6 for ; Tue, 17 Dec 2019 07:03:41 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=nthutJMtOcAN2Uf3ZJdHoOm9EVFyzW8Gl4OkcMPXOMc=; b=TsJ7hFB/uqChM2l49zjMgAGv75 6z2l/4lFghAuWARmmwOmFt+61xnmtp4MnZzrIiAxtCDC/ZXsp23QwMt6wq15eEdnJQ36N0XR9YtnW VLSMZMDlljF+Fcf650ljasmRPcJKyauG9C26oQz/bRTTN5c/ZV+uKix/Ot1jpR9fgeeM=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ih6tI-0008bJ-Vk for freebsd-net@freebsd.org; Tue, 17 Dec 2019 14:03:32 +0700 Date: Tue, 17 Dec 2019 14:03:32 +0700 From: Victor Sudakov To: freebsd-net@freebsd.org Subject: l2tp+IPsec client on FreeBSD, VPN gateway on Windows Message-ID: <20191217070332.GA32902@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47cTd95DWPz3Ql6 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=TsJ7hFB/; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.40)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-2.11), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 07:03:42 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Could anyone share a working (e.g. personally tested) IPSec+l2tp *client* configuration for FreeBSD as VPN client? The VPN gateway is a Windows server with a preshared key. I have a working configuration of mpd5 in l2tp client mode (works just fine when the Windows admin makes IPSec optional).=20 But I'd be interested in seeing a racoon.conf (and a set of setkey commands if necessary) for such a VPN client. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJd+H3EAAoJEA2k8lmbXsY0muYIALnvBsIaFXnKxPa1IgdUscOA PHKXWlxDxNp5F8FdX45jEJvx/a6Ga6m1iVQqvL+xD1EE9XWEJDhaVADyR+UNsX83 sVSf73zI0hno+0Xc85eHWA6tnl39jh5t0yYEZUXsKDDglffRhD9zOBJt8HtInG7O TlD62uFBlIwHY7DTKTW/qJOIxrD9mtCmQ5xULPgyIUqy4WkiHzvOn9oT6mElCRtH R2DK67977bL7cUpJa/M/x+ENmPtCOvjVEfFLoFuNgx5eWbx0R09L1xCLdIA9Q/Uo RuBXAeDW4VaHNXMrqUxpKOrXKOewbqufJ1U0iWB6nAeK2MqNirCKtvjl28K5aB4= =+Kak -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--