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

    VPN ipsec Windows 10

    Scheduled Pinned Locked Moved IPsec
    4 Posts 2 Posters 3.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.
    • J
      jostir
      last edited by

      Hi everyone,

      Since one week, i try to realise an Ipsec authentication + shared key between windows clients and my pfsense firewall.

      From an iPhone with ipsec configuration, the connection work and i can access to my local network! :)

      From a Windows 10 computer, the connetion won't to work…

      Do you have a tutorial for configure IPsec with Windows 10 ?

      Thank you

      1 Reply Last reply Reply Quote 0
      • F
        flowjo-mike
        last edited by

        If you are using IKEv2, I had to do add the following Registry Key:

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\Parameters
        In there, add a new DWORD (If Windows 10, use DWORD 32bit) entry named DisableIKENameEkuCheck and set it to 1.

        That was able to get me to connect, but you will also have to enable split tunnel and add the LAN Gateway.  You can do this in PowerShell:

        Set-VpnConnection VPN_NAME -splittunneling $True

        Add-VpnConnectionRoute -ConnectionName "VPN_NAME" -DestinationPrefix 192.168.1.0/24 -PassThru (*Edit change subnet to your LAN subnet)

        I hope this helps.

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

          Thank you for your reply.

          I have try to add the Registry Key with no success.

          I have also try to execute the powershell command with no success again.

          Someone can send me a configuration in your pfsense for a compatibility with windows 8/10 ?

          Thank you !

          1 Reply Last reply Reply Quote 0
          • F
            flowjo-mike
            last edited by

            Sorry that didn't work for you.  To get our VPN working, I just followed instructions here:

            https://doc.pfsense.org/index.php/IKEv2_with_EAP-MSCHAPv2

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