Date: Wed, 26 Feb 2020 23:39:43 -0500 From: Sam Fourman <sfourman@gmail.com> To: Victor Sudakov <vas@sibptus.ru> Cc: freebsd-net@freebsd.org Subject: Re: l2tp+IPsec client on FreeBSD, VPN gateway on Windows Message-ID: <CAOFF%2BZ20HzOyjsjvHo0i0iycvnvGViAtD9kqGxs7RiMu10HvUw@mail.gmail.com> In-Reply-To: <20191218161217.GA87036@admin.sibptus.ru> References: <20191217070332.GA32902@admin.sibptus.ru> <20191218161217.GA87036@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
I am also interested to see a working configuration, I need to connect a FreeBSD client to a Windows Server via L2TP+IPSEC pre-shared key. - Sam Fourman On Wed, Dec 18, 2019 at 11:12 AM Victor Sudakov <vas@sibptus.ru> wrote: > Victor Sudakov wrote: > > > > 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). > > > > 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.sourceforge.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/racoon/racoon.conf" > 2019-12-18 21:31:53: INFO: x.x.x.x[500] used as isakmp port (fd=6) > 2019-12-18 21:31:58: INFO: IPsec-SA request for 176.120.29.249 queued due > to no phase1 found. > 2019-12-18 21:31:58: INFO: initiate new phase 1 negotiation: > x.x.x.x[500]<=>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-xauth-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.249[500] spi:b0457c4692285a7a > 2019-12-18 21:31:59: INFO: initiate new phase 2 negotiation: > x.x.x.x[500]<=>176.120.29.249[500] > 2019-12-18 21:31:59: [176.120.29.249] ERROR: notification > NO-PROPOSAL-CHOSEN received in informational > 2019-12-18 21:32:19: [176.120.29.249] ERROR: notification > INVALID-HASH-INFORMATION received in informa > 2019-12-18 21:32:23: INFO: initiate new phase 2 negotiation: > x.x.x.x[500]<=>176.120.29.249[1701] > 2019-12-18 21:32:23: [176.120.29.249] ERROR: notification > NO-PROPOSAL-CHOSEN received in informational > 2019-12-18 21:32:29: ERROR: 176.120.29.249 give up to get IPsec-SA due to > time up to wait. > 2019-12-18 21:32:43: [176.120.29.249] ERROR: notification > INVALID-HASH-INFORMATION received in informa > 2019-12-18 21:32:53: ERROR: 176.120.29.249 give up to get IPsec-SA due to > time up to wait. > > Here is my racoon.conf: https://termbin.com/82tr > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ > -- Sam Fourman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ20HzOyjsjvHo0i0iycvnvGViAtD9kqGxs7RiMu10HvUw>