Hello,
I am using NEPacketTunnelProvider in my application to create a VPN configuration. I am using inbuilt IPSec/IKEv2 only as the VPN protocol. Now I am facing issues with the ISAKMP version of the protocol.
There are two scenarios where I am getting two different versions of ISAKMP-
Scenario 1 (Successful case): I have created a VPN Profile manually in my iPhone with server details and its connecting properly. I am getting this log in my VPN server where ISAKMP version is 2.0-
Internet Security Association and Key Management Protocol
Initiator SPI: 5da12cee4eac9d03
Responder SPI: 526105b4b9cc92c0
Next payload: Encrypted and Authenticated (46)
Version: 2.0
0010 .... = MjVer: 0x2
.... 0000 = MnVer: 0x0
Scenario 2 (Failure case): I am creating a VPN profile through NEPacketTunnelProvider and trying to connect to server where I am getting this log of ISAKMP version (0.8)-
Internet Security Association and Key Management Protocol
Initiator SPI: 4500004541930000
Responder SPI: ff115ffa0a0a0001
Next payload: Hash (8)
Version: 0.8
0000 .... = MjVer: 0x0
.... 1000 = MnVer: 0x8
Now I want to change this version to 0.8 from my application, but I cant see any keywords which is available to NEPacketTunnelProvider.
Please let me know if I need to share more details on that.
TIA.