[strongSwan] convert ipsec.conf to swanctl.conf

Numa ROGER numa.roger at gmail.com
Fri Feb 21 16:09:41 CET 2020


Hi all,
I am a simple stronswan user and I have a problem.
Following the update of my version of strongswan in 5.8.2, my vpn tunel no
longer works.
After some research I learned that I had to convert my ipsec.conf file to
swanctl.conf but I don't understand anything. Could someone help me, or
convert my file to me.

below my ipsec.conf file and my ipsec.secret

ipsec.conf
----------------------------------------------------------------------------------------------------
conn blue2
              right=110.87.12.235
              rightid = %any
              rightsubnet=0.0.0.0/0
              leftid=numa.roger at blue2.com
              leftsourceip=%config
              leftauth = psk
              rightauth = psk
              rightsendcert = no
              leftsendcert = no
              keyexchange = ikev2
              auto = add
              type = tunnel
              ike = aes256-sha2_256-modp1536,blowfish256-sha2_256-modp1536!
              esp =
aes256-sha2_256-modp1536-noesn,blowfish256-sha2_256-modp1536-noesn!
              ikelifetime = 21600
              lifetime = 3600

              include strongswan.d/*.conf
----------------------------------------------------------------------------------------

ipsec.secret
----------------------------------------------------------------------------------------
110.87.12.235 : PSK aaaaaMyPSKaaaaaa
include ipsec.d/ipsec.nm-l2tp.secrets
----------------------------------------------------------------------------------------


I hope someone can help me find a solution to my problem.
thank you in advance


____________________________________

Numa Roger
____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200221/ddf91db6/attachment.html>


More information about the Users mailing list