Libreswan does not establish IKEv1 IPsec tunnel with XAUTH enabled but ModeCFG disabled

Solution Verified - Updated -

Issue

If libreswan is configured as an IKEv1 XAUTH client with xauthclient=yes, but ModeCFG for IP address assignment is disabled using modecfgclient=no in connection configuration, it does not fully establish the IKE SA and both IKE SA and consequent IPSec SA are torn down by exhausted EVENT_v1_RETRANSMITs within seconds.

Environment

  • Red Hat Enterprise Linux 7
  • libreswan-3.20-3.el7 and lower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.