xauth like authentication method will work between two mikrotik routers or other vendor client that can support psk server auth and username/password client auth (without eap).
IOS does not support such method. So if you want to authenticate IOS by username/password RADIUS server with EAP should be used.
But than this is not Xauth (mode Confg) …or am I wrong?
I did some tests on windows10 and Ipad (Ios 10.x) and IkeV2 proposal are:
Windows10:
IKE:3DES_CBC/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024,
IKE:AES_CBC_256/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024,
IKE:3DES_CBC/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_1024,
IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_1024,
IKE:3DES_CBC/HMAC_SHA2_384_192/PRF_HMAC_SHA2_384/MODP_1024,
IKE:AES_CBC_256/HMAC_SHA2_384_192/PRF_HMAC_SHA2_384/MODP_1024
If you have both clients (Windows and Apple) connecting to IKEv2 Server only valid IPSEC settings are:
IKE:3DES_CBC/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024
I just upgraded to ROS 6.38.1 and cleaned out the whole IPSEC conf and recreated this one:
I tried Windows10 IKEv2 VPN (native) and no joy.
IKEv2 SA is beeing Established. It seems that windows wants Certificate and I cannot specify that in IKE2 mode on Mikrotik Server. Win10 Client does not allow to specify group secret (specified in ip ipsec peer).
What about ipsec policy. Must I specify them or will they you automaticly added? I only have default template..
get connected Windows 10 but no routes are added. must add route to internal network by hand.. On Pfsense IKEv2 routes are beeing added automaticly. So it is not Windows thing.. If no traffic is transmited over tunel it kill the connection in about a half a minute.
2.Android StrongSwan - Working.. Also add the route to internal network but only the first split-include
12:28:35 ipsec,info respond new phase 1 (Identity Protection): 10.2.1.1[500]<=>10.2.1.253[500]
12:28:36 ipsec,info ISAKMP-SA established 10.2.1.1[500]-10.2.1.253[500] spi:f772ffebd2ce1af7:e18317d7859a57cf
12:28:36 ipsec,info acquired 10.6.1.255 address for 10.2.1.253[500]
12:28:36 ipsec,info Xauth login succeeded for user: test
12:28:37 ipsec,error 10.2.1.253 failed to pre-process ph2 packet.
12:28:41 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:28:44 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:28:47 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:28:51 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:28:54 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:28:57 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:29:00 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:29:04 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:29:07 ipsec,error 10.2.1.253 peer sent packet for dead phase2
12:29:08 ipsec,info purging ISAKMP-SA 10.2.1.1[500]<=>10.2.1.253[500] spi=f772ffebd2ce1af7:e18317d7859a57cf:04622161.
12:29:09 ipsec,info ISAKMP-SA deleted 10.2.1.1[500]-10.2.1.253[500] spi:f772ffebd2ce1af7:e18317d7859a57cf rekey:1
12:29:09 ipsec,info releasing address 10.6.1.255