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

IPSec Tunnel no IKE config found for …

Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
22 Posts 4 Posters 36.5k 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.
  • K
    karl23
    last edited by Jul 25, 2014, 7:22 AM

    Correction, it is actually only using the last phase 2 entered.

    1 Reply Last reply Reply Quote 0
    • K
      karl23
      last edited by Jul 25, 2014, 7:34 AM

      It looks like you may not be able to do multiple subnets in ike v1 without the strongswan unity plugin

      https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection

      See the left|rightsubnet section, and reference to cisco unity.

      Would this be difficult to add?

      1 Reply Last reply Reply Quote 0
      • K
        karl23
        last edited by Jul 25, 2014, 7:54 AM

        Looks like it needs this patch as well

        https://wiki.strongswan.org/issues/597

        Let me know if it is possible to get the unity plugin in pfsense, specifically with the above patch.

        1 Reply Last reply Reply Quote 0
        • C
          charliem
          last edited by Jul 25, 2014, 7:40 PM

          I'm not sure about the unity plug-in, but the issue of only using one (the first) phase 2 entry is addressed here: https://redmine.pfsense.org/issues/3769

          Judging by the dates, it should be in the snapshots as of this morning.  If it fixes the issue for you, you could confirm that in the bug report.

          1 Reply Last reply Reply Quote 0
          • K
            karl23
            last edited by Jul 28, 2014, 6:04 AM

            Sadly this fix was already in the snapshot that I tried. I think I need the unity plugin in order to support multiple subnets in the multiple SA's.

            Let me know if there is any work to include unity + the listed patch.

            -Karl

            1 Reply Last reply Reply Quote 0
            • K
              karl23
              last edited by Jul 28, 2014, 11:09 PM

              Tried changing the tunnel to ikev2 today to specifically support multiple subnets, and would still only connect to the most recent phase two / SA.

              Let me know if you can rebuild the included ipsec with unity + the patch,

              Thanks,

              -Karl

              1 Reply Last reply Reply Quote 0
              • K
                karl23
                last edited by Sep 2, 2014, 2:30 PM

                Any hope of building strong swan with the unity plugin? I see that the needed bug fix to strongswan has now been applied to master https://wiki.strongswan.org/issues/597

                Let me know if this is possible,

                -Karl

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by Sep 4, 2014, 2:23 PM

                  Try the latest snapshots this should have already been fixed with no limit on phase2 entries even for IKEv1.

                  1 Reply Last reply Reply Quote 0
                  • K
                    karl23
                    last edited by Oct 10, 2014, 6:18 AM

                    Just checked the latest snapshots, and while the ipsec.conf file looks clean, I Am still unable to bring up anything other than the first Phase 2 entry in my ikeV1 IPSec profile. According to strong swan this really needs the unity plugin in order to support multiple subnets on an ikeV1 profile.

                    Could you please add the Unity plugin to strong swan?

                    1 Reply Last reply Reply Quote 0
                    • E
                      eri--
                      last edited by Oct 10, 2014, 7:10 AM

                      It is not true anyway karl23.

                      If you check your SPD db on status->ipsec you will see that the SPD policies are there and they are ok.

                      You are saying that the other end is not recieving the phase2 in their negotiation of mobile client?

                      1 Reply Last reply Reply Quote 0
                      • K
                        karl23
                        last edited by Oct 10, 2014, 8:02 AM Oct 10, 2014, 7:54 AM

                        I must not be communicating something.

                        I have an IkeV1 site:site tunnel which needs to connect to 4 different subnets on the other end. My config is below.

                        Whenever I try to bring this config up, I am only able to contact the first subnet in the rightsubnet list.

                        The problem is stated in the strongswan documentation here (https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection) scroll down to the rightsubnet description

                        "IKEv2 supports multiple subnets separated by commas, IKEv1 only interprets the first subnet of such a definition,
                        unless the Cisco Unity extension plugin is enabled (available since 5.0.1)."

                        Hence my request for the cisco unity plugin to be installed.

                        I have my config below. Please take a look and let me know if I am missing something, or if it is possible to add the cisco unity plugin.

                        conn con1
                                aggressive = no
                                fragmentation = yes
                                keyexchange = ikev1
                                reauth = yes
                                rekey = yes
                                reqid = 1
                                installpolicy = yes
                                type = tunnel
                                dpdaction = restart
                                dpddelay = 10s
                                dpdtimeout = 60s
                                auto = route
                                left = x.x.x.x
                                right = y.y.y.y
                                leftid = x.x.x.x
                                ikelifetime = 86400s
                                lifetime = 28800s
                                rightsubnet = 10.43.12.0/24,10.43.22.0/24,10.43.32.0/24,10.43.42.0/24
                                leftsubnet = 192.168.1.0/24
                                ike = 3des-sha1-modp1024!
                                esp = 3des-sha1,3des-sha1!
                                leftauth = psk
                                rightauth = psk
                                rightid = y.y.y.y

                        1 Reply Last reply Reply Quote 0
                        • K
                          karl23
                          last edited by Oct 20, 2014, 4:02 AM

                          Any update on getting a build with the unity plugin? Are you just using the package release instead of building from source? I've tried building this on a separate freebsd box and copying all the binaries over, but could not get the pfsense box to recognize the new binaries. Let me know how to proceed,

                          Thanks,

                          -Karl

                          1 Reply Last reply Reply Quote 0
                          • valnarV
                            valnar
                            last edited by Oct 24, 2014, 11:37 AM

                            I have the exact same problem.

                            1 Reply Last reply Reply Quote 0
                            • E
                              eri--
                              last edited by Oct 24, 2014, 5:18 PM

                              Unity plugin has been enabled please test with latest snapshot.

                              1 Reply Last reply Reply Quote 0
                              • C
                                charliem
                                last edited by Oct 27, 2014, 2:25 PM

                                @ermal:

                                Unity plugin has been enabled please test with latest snapshot.

                                Unity still does not show up as a plugin:

                                [2.2-BETA][root@pfsense.localdomain]/var/etc/ipsec: uname -a
                                FreeBSD pfsense.localdomain 10.1-RC3 FreeBSD 10.1-RC3 #40 927f39f(releng/10.1)-dirty: Sun Oct 26 06:27:12 CDT 2014     root@pf22-amd64-snap:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10  amd64
                                [2.2-BETA][root@pfsense.localdomain]/var/etc/ipsec: ipsec statusall | grep -i unity
                                [2.2-BETA][root@pfsense.localdomain]/var/etc/ipsec:
                                
                                

                                It does show as a module in the strongswan unit tests here http://www.strongswan.org/uml/testresults/ikev1/rw-cert-unity/moon.daemon.log:

                                Oct 19 09:10:39 moon charon: 00[LIB] loaded plugins: charon test-vectors aes des sha1 sha2 md5 pem pkcs1 pkcs8 gmp random nonce x509 curl revocation hmac xcbc ctr ccm gcm stroke kernel-netlink socket-default attr unity

                                There are some unity-related patches in 5.2.1 (just released), and also some changes that may address IKEv1 re-keying issues I've seen (but haven't posted here yet, sorry; your ipsec plate seems full at the moment).

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eri--
                                  last edited by Oct 29, 2014, 7:54 PM

                                  Unity plugin is now included, the plugin was missing.

                                  Strongswan is on 5.2.1 version.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    charliem
                                    last edited by Oct 30, 2014, 1:22 PM

                                    @ermal:

                                    Unity plugin is now included, the plugin was missing.

                                    Strongswan is on 5.2.1 version.

                                    Good news is yes, unity plugin is now included, and we're on 5.2.1

                                    Bad news is that it was built without support for IKEv1 (similar to this: https://forum.pfsense.org/index.php?topic=78431.0)  Can you fix that before the next snapshot?

                                    Oct 30 09:11:05 pfsense charon: 07[ENC] generating INFORMATIONAL response 0 [ N(INVAL_MAJOR) ]
                                    Oct 30 09:11:05 pfsense charon: 07[NET] sending packet: from 24.74.47xx.xx[500] to 173.15.yy.yy[500] (36 bytes)
                                    Oct 30 09:11:05 pfsense charon: 07[NET] received unsupported IKE version 1.0 from 173.15.yy.yy, sending INVALID_MAJOR_VERSION
                                    [2.2-BETA][root@pfsense.localdomain]/var/log: uname -a
                                    FreeBSD pfsense.localdomain 10.1-RC3 FreeBSD 10.1-RC3 #47 72c1d40(releng/10.1)-dirty: Wed Oct 29 23:32:18 CDT 2014    root@pf22-amd64-snap:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10  amd64

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      eri--
                                      last edited by Oct 30, 2014, 6:58 PM

                                      Its rebuilding sorry about the occurence.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        karl23
                                        last edited by Nov 4, 2014, 4:15 PM

                                        Has the rebuild shown up in the latest snapshot yet?

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          charliem
                                          last edited by Nov 5, 2014, 1:46 AM

                                          Yes, since at least 31-Oct, but I have not been in a position to test it.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received