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

    Any IPSec Mobile client that actually works in Windows?

    Scheduled Pinned Locked Moved IPsec
    15 Posts 7 Posters 3.9k 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.
    • J
      jolebole
      last edited by

      @JustMe:

      You've got a mismatch because your pfsense box expects the client to have the Phase 1 Hash Algorithm configured as SHA2 (SHA256), but your client is on SHA1. One of them needs changing to be a match…

      I saw that, but both sides are configured as SHA1. Check out the screenshootss for P1 and P2 and the Mobile client




      1 Reply Last reply Reply Quote 0
      • J
        jolebole
        last edited by

        @kapara:

        What version of pfSense?  I am routinely deploying native IPSec ikev2 on Windows boxes with no issues.  I am running 2.2.6

        I'm running the latest version 2.3, but I had this problem on 2.2.6 also.

        1 Reply Last reply Reply Quote 0
        • J
          jolebole
          last edited by

          No matter what Algorithm I pick on the pfSense side the log still shows that  my configured proposal is: IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_1024 even tho its not.

          A bug maybe?

          1 Reply Last reply Reply Quote 0
          • J
            jolebole
            last edited by

            Something definitely is wrong on my pfsense box. I tested this on a new pfSense that I recently installed and it works. Go figure. I might have to do a clean install

            1 Reply Last reply Reply Quote 0
            • J
              JustMe
              last edited by

              Very odd. Amazingly neither the pfsense box nor the remote client appear to offer / request your configured 3des in your log, both request AES. It is almost as if the log is from a different machine… Reinstall sounds sensible. Perhaps you can have a look in the saved backup file to see what was locally stored.

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                Do you happen to have a site to site VPN configured using the IP of the system your mobile client is connecting with? In that case, strongswan will end up trying to match your mobile client to the site to site VPN. That's the only situation I can think of where that wouldn't match up with mobile.

                The log you pasted shows the client's trying to use AES, where your screenshots clearly show 3DES. AES would be preferable regardless, but seems like either your client config changed since the logs earlier, or your client isn't actually using what you have configured in that screenshot.

                1 Reply Last reply Reply Quote 0
                • J
                  jolebole
                  last edited by

                  @cmb:

                  Do you happen to have a site to site VPN configured using the IP of the system your mobile client is connecting with? In that case, strongswan will end up trying to match your mobile client to the site to site VPN. That's the only situation I can think of where that wouldn't match up with mobile.

                  The log you pasted shows the client's trying to use AES, where your screenshots clearly show 3DES. AES would be preferable regardless, but seems like either your client config changed since the logs earlier, or your client isn't actually using what you have configured in that screenshot.

                  Yes I do! ;D.But it was inactive at the time of the mobile client testing. I kinda suspected that might be messing thing up. Thanks for pointing that to me.

                  I was clearing the log before any connection attempt so I knew I got the right logs from the mobile client trying to connect. Lesson learned. Thanks a lot!  :D

                  1 Reply Last reply Reply Quote 0
                  • J
                    jswope
                    last edited by

                    I have IPSec site to site and VPN client working with shrewsoft and Cisco vpnclient 5.0.07.

                    If you need help PM and u will help you

                    1 Reply Last reply Reply Quote 0
                    • ?
                      Guest
                      last edited by

                      On Windows 7 I can't get it to work no matter what. I tried all the guides, from the pfsense official doc to various blogs that show basically the same setup with just different types of encryption. ShrewSoft client doesnt wanna establish the connection. I use Mutual PSK + Xauth.

                      The ShrewSoftVPN Client should be really nice and well running, in your case here surely it can really be 
                      that you were installing some more clients together on your Windows based PC and this is often then causing
                      errors too, but no one is able to solve it out or you are not able to get rid of it. Please think about that point.

                      I am trying to setup some mobile VPN clients on Windows, but this problem is really restricting me and make me use Untangle instead. I don't like Untangle much, but I have no other choice. Any help will be greatly appreciated.

                      No one needs Untangle UTM only to set up a IPSec connection! Please beware of telling us such a story!
                      If all is breaking you could place in the DMZ a small RaspBerry PI 2.0 for ~$30 together with a Debian
                      for RAPI and SoftEtherVPN server and client. For small budget and serving many VPN methods!!!

                      To clarify two other things here would be not really helping you out of your problem, but having more
                      to think this is more normal, what is going on at your side! In former days very experienced admins
                      were afraid of setting up a proper and smooth running VPN connection, this is as today more common
                      no since smartphones and tablet computers are in the game, but not really less complicated and often
                      only a smaller thing will be missed or a typo was occurring during the config.

                      I have IPSec site to site and VPN client working with shrewsoft and Cisco vpnclient 5.0.07.

                      In my Eyes there are two main VPN connections that are in the game and many other VPN methods.
                      Site-to-Side = Router - router or firewall to firewall or router to firewall.
                      Client-to-Side = Is also called "road warrior" VPN, thats a client device such a mobile phone, smartphone,
                      table PC or any other kind of devices such a laptop or MacBook that is not sitting behind a NAT solution!

                      So if now someone is setting up the PC behind a router or firewall that is doing NAT or the mobile ISP is
                      doing NAT because he is using between the Internet and your device a private network, it will be also
                      really often causing problems too.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MiroM
                        last edited by

                        Hi !

                        Have you solved it ?

                        Reading your post I remembered I had problems with ShrewSoft client.
                        What fixed it for me was the setting
                        NAT Traversal: Force  ( in mobile clients / advanced )

                        LP, Miro

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