Question

New to Ubuntu and Strongswan - VPN assistance

I am new to both Ubuntu and Strongswan. I have worked through this tutorial three times with the same result, unable to connect from Windows 10 or iOS.

Below are the log entries when attempting to connect (x.x.x.x is the server IP, y.y.y.y is the client IP). Is there another troubleshooting tool I can use to figure out why the connection is not being established?

Aug 21 14:59:21 KorberVPN charon: 11[NET] received packet: from y.y.y.y[500] to x.x.x.x[500] (1104 bytes) Aug 21 14:59:21 KorberVPN charon: 11[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(FRAG_SUP) N(NATD_S_IP) N(NATD_D_IP) V V V V ] Aug 21 14:59:21 KorberVPN charon: 11[IKE] received MS NT5 ISAKMPOAKLEY v9 vendor ID Aug 21 14:59:21 KorberVPN charon: 11[IKE] received MS-Negotiation Discovery Capable vendor ID Aug 21 14:59:21 KorberVPN charon: 11[IKE] received Vid-Initial-Contact vendor ID Aug 21 14:59:21 KorberVPN charon: 11[ENC] received unknown vendor ID: 01:52:8b:bb:c0:06:96:12:18:49:ab:9a:1c:5b:2a:51:00:00:00:02 Aug 21 14:59:21 KorberVPN charon: 11[IKE] y.y.y.y is initiating an IKE_SA Aug 21 14:59:21 KorberVPN charon: 11[IKE] remote host is behind NAT Aug 21 14:59:21 KorberVPN charon: 11[ENC] generating IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(CHDLESS_SUP) N(MULT_AUTH) ] Aug 21 14:59:21 KorberVPN charon: 11[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500] (328 bytes) Aug 21 14:59:26 KorberVPN charon: 12[NET] received packet: from y.y.y.y[500] to x.x.x.x[500] (408 bytes) Aug 21 14:59:26 KorberVPN charon: 12[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ] Aug 21 14:59:26 KorberVPN charon: 12[IKE] no IKE config found for x.x.x.x…y.y.y.y, sending NO_PROPOSAL_CHOSEN Aug 21 14:59:26 KorberVPN charon: 12[ENC] generating INFORMATIONAL_V1 request 3369216153 [ N(NO_PROP) ] Aug 21 14:59:26 KorberVPN charon: 12[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500] (40 bytes) Aug 21 14:59:27 KorberVPN charon: 13[NET] received packet: from y.y.y.y[500] to x.x.x.x[500] (408 bytes) Aug 21 14:59:27 KorberVPN charon: 13[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ] Aug 21 14:59:27 KorberVPN charon: 13[IKE] no IKE config found for x.x.x.x…y.y.y.y, sending NO_PROPOSAL_CHOSEN Aug 21 14:59:27 KorberVPN charon: 13[ENC] generating INFORMATIONAL_V1 request 727456103 [ N(NO_PROP) ] Aug 21 14:59:27 KorberVPN charon: 13[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500] (40 bytes) Aug 21 14:59:28 KorberVPN charon: 14[NET] received packet: from y.y.y.y[500] to x.x.x.x[500] (408 bytes) Aug 21 14:59:28 KorberVPN charon: 14[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ] Aug 21 14:59:28 KorberVPN charon: 14[IKE] no IKE config found for x.x.x.x…y.y.y.y, sending NO_PROPOSAL_CHOSEN Aug 21 14:59:28 KorberVPN charon: 14[ENC] generating INFORMATIONAL_V1 request 589088403 [ N(NO_PROP) ] Aug 21 14:59:28 KorberVPN charon: 14[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500] (40 bytes) Aug 21 14:59:31 KorberVPN charon: 15[NET] received packet: from y.y.y.y[500] to x.x.x.x[500] (408 bytes) Aug 21 14:59:31 KorberVPN charon: 15[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ] Aug 21 14:59:31 KorberVPN charon: 15[IKE] no IKE config found for x.x.x.x…y.y.y.y, sending NO_PROPOSAL_CHOSEN Aug 21 14:59:31 KorberVPN charon: 15[ENC] generating INFORMATIONAL_V1 request 1818908561 [ N(NO_PROP) ] Aug 21 14:59:31 KorberVPN charon: 15[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500] (40 bytes) Aug 21 14:59:51 KorberVPN charon: 16[JOB] deleting half open IKE_SA with y.y.y.y after timeout

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Jamon Camisso
DigitalOcean Employee
DigitalOcean Employee badge
August 25, 2020
Accepted Answer

This question was answered by @erikschindeldecker:

That was it - I was missing the : and space before RSA in the ipsec.secrets - thought it was representing the line prompt. Thank you again for your patience and assistance.

View the original comment

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up

    Get our biweekly newsletter

    Sign up for Infrastructure as a Newsletter.

    Hollie's Hub for Good

    Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

    Become a contributor

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    Welcome to the developer cloud

    DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

    Learn more
    DigitalOcean Cloud Control Panel