From owner-freebsd-questions@freebsd.org Sat Jan 11 11:23:48 2020 Return-Path: Delivered-To: freebsd-questions@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 0402A2263BD; Sat, 11 Jan 2020 11:23:47 +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 47vyCl39lNz3x83; Sat, 11 Jan 2020 11:23:47 +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=In-Reply-To:Message-ID:Subject:To:From:Date; bh=Sua4B46rMeoElTTCjsMdrkHHiwg9Ali9x4LJXu79rk0=; b=nOo251oLb5JY6OReo66ByQfaVv unJreu+v5HfChQZZnbA7u0C/ghrg1PP4iRpwGsHDOBkjv34RG8tEJm7I/1Ku4vSDA2jh/2m62640M D8QVE1736rQCT+p1iauvBYg67YDDYPakhOk5Chsw5rFgwRODynnYPX48n0/ZJwC0NUx0=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iqErp-000GHF-Rx; Sat, 11 Jan 2020 18:23:45 +0700 Date: Sat, 11 Jan 2020 18:23:45 +0700 From: Victor Sudakov To: Michael Grimm Cc: freebsd-questions@freebsd.org, FreeBSD Subject: Re: replacement of security/ipsec-tools Message-ID: <20200111112345.GB62210@admin.sibptus.ru> References: <50378AC0-0A0A-4E33-961F-3D180987A8C1@ellael.org> <20200110035009.GB67842@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 47vyCl39lNz3x83 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=nOo251oL; 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.38 / 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)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.28)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.54), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jan 2020 11:23:48 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Grimm wrote: [dd] >=20 > Then this mail made my day: >=20 > >> What do I need? > >> #) a VPN tunnel between two hosts > >> #) both local networks reachable from the remote host > >=20 > > That is what kernel IPSec is for, you can even do it on static keys > > without any ISAKMP daemon like racoon. See an example in if_ipsec(4). >=20 > I did install my IPSEC/racoon tunnel many years ago and missed the recent= implementation of if_ipsec completely.=20 >=20 > Victor, thank you very, very much for pointing me to this interface. > Now, my tunnel is far less complicated to implement[1], and I will no > longer need security/ipsec-tools at all!=20 You are welcome. But maybe one day you'll want to change your IPSec keys more often than in a manual setup, then you'll return to some ISAKMP implementation. I've been trying out strongswan for the last 2-3 days and must admit it's not that scary when you grasp the concept. But it is not without its problems either, see my another post about it. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeGbBBAAoJEA2k8lmbXsY0de4IAJvjbwvFGUBYkg3Hx7Iy9Z6r AyF4FoYlQOBQtW5oYhq//cR05o3ThaQFvgVOMM3sIeqM5jfnaC+KRz9MYjY/kBLv 1LIQrVO+CcQIiZx8EZ5yEnNEGIOgFxzJSnJddvuyt2LOmzmUAwTnbrVLdjtcib5h sJiDQYLAQUKgleWW8svvHNd5crLzlKf8+z7FUicxk8e5khuRLiHwJeHhg8iZeUm/ bP1Jph7cSGMbMWC3vcRMflLzZDBsplIFPWoxBWygNtIPdqbvFgPKgNtNVwpcOwYP hknKFx79ifUVivh5jv50kQsdpzu4IEnRsOp0tvjaINwPgtMytGP5QnxOeLuH4O4= =3kzw -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB--