Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2019 23:12:17 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: l2tp+IPsec client on FreeBSD, VPN gateway on Windows
Message-ID:  <20191218161217.GA87036@admin.sibptus.ru>
In-Reply-To: <20191217070332.GA32902@admin.sibptus.ru>
References:  <20191217070332.GA32902@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Victor Sudakov wrote:
>=20
> 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.
>=20
> I have a working configuration of mpd5 in l2tp client mode (works just
> fine when the Windows admin makes IPSec optional).=20
>=20

If anyone could suggest an idea why I cannot get past phase 2 with the
following error messages, I'd be most grateful:

2019-12-18 21:31:53: INFO: @(#)ipsec-tools 0.8.2 (http://ipsec-tools.source=
forge.net)
2019-12-18 21:31:53: INFO: @(#)This product linked OpenSSL 1.1.1d-freebsd  =
10 Sep 2019 (http://www.ope
2019-12-18 21:31:53: INFO: Reading configuration from "/usr/local/etc/racoo=
n/racoon.conf"
2019-12-18 21:31:53: INFO: x.x.x.x[500] used as isakmp port (fd=3D6)
2019-12-18 21:31:58: INFO: IPsec-SA request for 176.120.29.249 queued due t=
o no phase1 found.
2019-12-18 21:31:58: INFO: initiate new phase 1 negotiation: x.x.x.x[500]<=
=3D>176.120.29.249[500]
2019-12-18 21:31:58: INFO: begin Identity Protection mode.
2019-12-18 21:31:58: INFO: received Vendor ID: draft-ietf-ipsra-isakmp-xaut=
h-06.txt
2019-12-18 21:31:58: INFO: received Vendor ID: DPD
2019-12-18 21:31:58: INFO: ISAKMP-SA established x.x.x.x[500]-176.120.29.24=
9[500] spi:b0457c4692285a7a
2019-12-18 21:31:59: INFO: initiate new phase 2 negotiation: x.x.x.x[500]<=
=3D>176.120.29.249[500]
2019-12-18 21:31:59: [176.120.29.249] ERROR: notification NO-PROPOSAL-CHOSE=
N received in informational
2019-12-18 21:32:19: [176.120.29.249] ERROR: notification INVALID-HASH-INFO=
RMATION received in informa
2019-12-18 21:32:23: INFO: initiate new phase 2 negotiation: x.x.x.x[500]<=
=3D>176.120.29.249[1701]
2019-12-18 21:32:23: [176.120.29.249] ERROR: notification NO-PROPOSAL-CHOSE=
N received in informational
2019-12-18 21:32:29: ERROR: 176.120.29.249 give up to get IPsec-SA due to t=
ime up to wait.
2019-12-18 21:32:43: [176.120.29.249] ERROR: notification INVALID-HASH-INFO=
RMATION received in informa
2019-12-18 21:32:53: ERROR: 176.120.29.249 give up to get IPsec-SA due to t=
ime up to wait.

Here is my racoon.conf: https://termbin.com/82tr

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--huq684BweRXVnRxX
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJd+k/hAAoJEA2k8lmbXsY0pZkH+gMYC3jrUe2mxeTvUggP9+9O
gkCWx1K2IN0hSPu0yNsAcatbbrlf2nDPRDPe/u30F57dafYgeqyiA+X7A15EUVFf
YcBa0ZzkvrS2wczt+P2zGd9MvQQSeCuRL6QlavVMjbxLWzGz6cnDsrue4vkQRZiG
0TGd03hbYoznW4iFOckI0abqAkPTQpvHpDYxXUgqD+IiomwyM7reqWnNMAAy4U2b
FqF/5wlI4hF8HrMLVvJbhegmKLJVGMQoGZTjRuqxCxNaXozjhg+vKyMXGd2UMJCu
2NwQHmZff3dDGhvHY9Mn2yPgbs/7gORxxOo2iXXAI3NqMKx2btJRpShDuyK+JUM=
=dISD
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191218161217.GA87036>