l2tp+IPsec client on FreeBSD, VPN gateway on Windows

Victor Sudakov vas at sibptus.ru
Wed Dec 18 16:12:26 UTC 2019


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 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20191218/c7228ea0/attachment.sig>


More information about the freebsd-net mailing list