標題: MikroTik IKEv2 works with MacOS Catalina, iPad, Windows 10, Android phone and Android Pad [打印本頁] 作者: 角色 時間: 2022-4-4 21:19 標題: MikroTik IKEv2 works with MacOS Catalina, iPad, Windows 10, Android phone and Android Pad
本帖最後由 角色 於 2022-5-18 19:22 編輯
很久以前我电脑用PPTP连接香港的VPN server,但是后来用了Mikrotik routers后,VPN的种类也多了起来,而电脑升级后,不再支持PPTP,只有L2TP Over IPSec,IPSec,IKEv2。L2TP Over IPSec在MikroTik routers设置也非常简单,但是连接比较慢,最近有时间,看看用IKEv2怎样。最后都可以把MikroTik router set好。用MacBook Catalina,iPad,Windows 10,Android phone and pad连上去都没有问题,效果非常显著。现在把settings 放在下面,让大家可以参考:
1. Update the routers firmware. For my case, V6.48.6 (long term)
2. Reset router
3. Open a terminal and key in the following commands:
注意,user的 name,如common-name=peter name=peter subject-alt-name=DNS:peter,所有names必须一样,还有字母不能有点号,能有hyphen or underscore。但是在server没有这个限制。
Please note the if your Windows 10 connect both StrongSwan and Mikrotik IKE server, you have to do the following two things:
1. On Mikrotik router, you have to include by ticking the box for aes-256 under IPsec Profile <ike2>
2. On Windows 10, you have to tell Windows IKE connecting using the MODP 2048 and AES256. For details, please read the following link: http://www.telecom-cafe.com/foru ... &extra=page%3D1作者: 角色 時間: 2022-4-5 00:53
本帖最後由 角色 於 2022-4-14 16:51 編輯
The next task to build the IKEv2 server using scripting language. The following references may be referred frequently: