Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    StrongSwan user authentication failed on Android

    Scheduled Pinned Locked Moved IPsec
    24 Posts 4 Posters 4.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alitai
      last edited by

      do you have set dns sec on your android?

      AlanesiA 1 Reply Last reply Reply Quote 0
      • AlanesiA
        Alanesi @Alitai
        last edited by

        @Alitai

        No, but to wich server?

        1 Reply Last reply Reply Quote 0
        • A
          Alitai
          last edited by

          okay, did you set the user identity under advance settings on the strongswan app?

          AlanesiA 1 Reply Last reply Reply Quote 0
          • AlanesiA
            Alanesi @Alitai
            last edited by

            @Alitai
            Yes its the same username.

            1 Reply Last reply Reply Quote 0
            • A
              Alitai
              last edited by

              okay, on the android part there is not much more to todo.
              Normally this is the easy part.

              Now, I think it's time for pictures from your pfsense and android. but don't forget to deleted the sensitive Infos.

              AlanesiA 1 Reply Last reply Reply Quote 0
              • AlanesiA
                Alanesi @Alitai
                last edited by Alanesi

                @Alitai
                This the P1 on pfSense.

                2020-08-12_9-25-04.png
                2020-08-12_9-25-53.png

                This Mobile Client
                2020-08-12_9-25-53.png

                For the Pre-Shared Keys the secret type is EAP.

                This P2

                P2.png

                This on the Andriod

                Screenshot_20200812-093931_strongSwan VPN Client.jpg

                K 1 Reply Last reply Reply Quote 0
                • K
                  Konstanti @Alanesi
                  last edited by

                  @Alanesi
                  Phase 1 - My identifier

                  7760fdd0-7620-42df-bb23-7daccc4aef9c-image.png

                  AlanesiA 1 Reply Last reply Reply Quote 0
                  • AlanesiA
                    Alanesi @Konstanti
                    last edited by

                    Thanks @Konstanti

                    I did that but it didnt make any diffreance still same error.

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alitai
                      last edited by

                      Phase 1:
                      Switch to:
                      AES / 256 bits / SHA256 / 14 (2048 bit)
                      and
                      Enable MOBIKE

                      Android:
                      Don't forget the advanced settings (see above).

                      AlanesiA 1 Reply Last reply Reply Quote 1
                      • AlanesiA
                        Alanesi @Alitai
                        last edited by Alanesi

                        @Alitai
                        THAT'S GREAT IT WORKED.
                        I accualy added AES / 256 bits / SHA256 / 14 (2048 bit) to the current one.

                        Thanks @Alitai 🎖

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.