{"id":335360,"date":"2022-07-05T21:00:14","date_gmt":"2022-07-05T21:00:14","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=335360"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=335360","title":{"rendered":"<span>Mikrotik IKEv2 + MacOS + iOS + Cert Auth<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u0430 \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0446\u044b \u0438 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 Mikrotik.<\/p>\n<p>\u0414\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0438\u043b\u0441\u044f IKEv2 Server Mikrotik, \u0447\u0430\u0441\u0442\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043f\u0440\u0438 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435, Windows \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0441 \u0442\u0435\u043c\u0438 \u0436\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0430 Mac \u0438 iOS:<\/p>\n<ul>\n<li>\n<p> identity not found for server:vpn.h.ru peer: FQDN: <a href=\"http:\/\/mac-vpn.hiap.ru\" rel=\"noopener noreferrer nofollow\">mac-vpn.h.ru<\/a><\/p>\n<\/li>\n<li>\n<p> peer&#8217;s ID does not match certificate \u0438 \u043f\u0440\u043e\u0447\u0438\u0435&#8230;<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e IKEv2 \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c Apple \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043a VPN Mikrotik, \u0442\u043a \u0435\u0441\u0442\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b Apple \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u043d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u0430, \u043c\u043e\u0439 \u0433\u0435\u0448\u0442\u0430\u043b\u044c\u0442 \u0437\u0430\u043a\u0440\u044b\u0442 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e.<\/p>\n<p>\u0428\u0410\u04131: \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 IKEv2 \u043d\u0430 Mikrotik, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/interface31.ru\/tech_it\/2020\/04\/nastraivaem-ikev2-vpn-server-na-routerah-mikrotik.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a>. \u0412\u0430\u0436\u043d\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b RSA: \u0421\u0410, \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 4096, \u0432\u0440\u0435\u043c\u044f 3650 \u0434\u043d\u0435\u0439, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c Common Name \u0438 Subject Alt. Name: DNS \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0435 \u0438\u043c\u044f, \u0410 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0432\u0435\u0434\u0443\u0449\u0435\u0435 \u043d\u0430 \u0432\u0430\u0448 IP \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 &#8212; \u0431\u0435\u043b\u044b\u0439, \u043d\u0430 \u0441\u0430\u043c Mikrotik, \u043b\u0438\u0431\u043e \u0432 \u0432\u0430\u0448\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b Input Mikrotik, \u0434\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432 Common Name \u0438 Subject Alt. Name \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: vpn.domain.ru<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/186\/c43\/033\/186c430331f414fed22a01569c982cf5.jpg\" width=\"851\" height=\"877\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/186\/c43\/033\/186c430331f414fed22a01569c982cf5.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/c53\/468\/858\/c5346885884858ec7196baf09605791f.jpg\" width=\"484\" height=\"521\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c53\/468\/858\/c5346885884858ec7196baf09605791f.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/1bd\/cf1\/e68\/1bdcf1e68101ca9e4554700260dae46a.jpg\" width=\"623\" height=\"779\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1bd\/cf1\/e68\/1bdcf1e68101ca9e4554700260dae46a.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/08b\/03c\/fa5\/08b03cfa59ddb2d5ce9c90fff1ea7f61.jpg\" width=\"853\" height=\"886\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/08b\/03c\/fa5\/08b03cfa59ddb2d5ce9c90fff1ea7f61.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/812\/504\/a41\/812504a41069e0fbae1fc9b06c8fe8e3.jpg\" width=\"1365\" height=\"645\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/812\/504\/a41\/812504a41069e0fbae1fc9b06c8fe8e3.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04132. \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c IPSec \u043a\u0430\u043a \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0432\u044b\u0448\u0435, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c Identity \u0434\u043b\u044f MacOS \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b5a\/0e7\/02f\/b5a0e702ff1e984aabcf323fa7f4c975.png\" width=\"1034\" height=\"776\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b5a\/0e7\/02f\/b5a0e702ff1e984aabcf323fa7f4c975.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04133: \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 MacOS, \u043c\u043e\u043c\u0435\u043d\u0442, \u043f\u043e\u0441\u043b\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 p12 \u0438\u0437 Mikrotik: \u0430) \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u0441\u0432\u044f\u0437\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439; \u0431) \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442; \u0432) \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u043a\u0430\u0442 \u0432 \u043f\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 VPN, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0442 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0433\u0434\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440 \u0432\u0432\u043e\u0434\u0430 Shared Key \u043d\u0438\u0436\u0435 \u0432 \u043e\u0431\u0437\u043e\u0440\u0435 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442; \u0433) \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043a \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0443, \u0437\u0430\u0439\u0434\u0438\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437 \u0432 \u0441\u0432\u044f\u0437\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439 \u0438 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447\u0438\u043a \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0438 \u0434\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c, \u043b\u0438\u0431\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u0430\u0433\u0435\u043d\u0442\u0443 neagent &#8212; NEIKEv2Provider:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3a1\/853\/262\/3a1853262a1042f0340a66d43d6ccff6.jpg\" width=\"1170\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3a1\/853\/262\/3a1853262a1042f0340a66d43d6ccff6.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/235\/ecb\/76a\/235ecb76abe01248f68676e6d1d675f1.jpg\" width=\"923\" height=\"657\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/235\/ecb\/76a\/235ecb76abe01248f68676e6d1d675f1.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a7d\/5d0\/b07\/a7d5d0b07c1ed8167988851b0a9d50e5.jpg\" width=\"1165\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a7d\/5d0\/b07\/a7d5d0b07c1ed8167988851b0a9d50e5.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04134: \u0412\u0430\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0430\u0448\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435: vpn.domain.ru \u0432 \u0423\u043b\u0430\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 ID: \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 vpn.domain.ru \u0430 \u0432 \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 ID \u043a\u0430\u043a \u0440\u0430\u0437 Subject Alt. Name \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u0432 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 Mikrotik:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fd5\/4b3\/347\/fd54b33473730667c36f77804c594012.png\" width=\"689\" height=\"562\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd5\/4b3\/347\/fd54b33473730667c36f77804c594012.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u043e\u0441\u044c. \u0412\u0441\u0435\u043c \u0443\u0441\u043f\u0435\u0445\u043e\u0432. \u0418\u041c\u0425\u041e \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c WireGuard, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u0430\u044f \u0442\u0435\u043c\u0430, \u0431\u0435\u0437 \u0442\u0430\u043d\u0446\u0435\u0432 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 &#171;\u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0435\u0439&#187;, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u043b \u043a\u043b\u044e\u0447\u0438 \u0438 \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/675244\/\"> https:\/\/habr.com\/ru\/post\/675244\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u0430 \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0446\u044b \u0438 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 Mikrotik.<\/p>\n<p>\u0414\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0438\u043b\u0441\u044f IKEv2 Server Mikrotik, \u0447\u0430\u0441\u0442\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043f\u0440\u0438 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435, Windows \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0441 \u0442\u0435\u043c\u0438 \u0436\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0430 Mac \u0438 iOS:<\/p>\n<ul>\n<li>\n<p> identity not found for server:vpn.h.ru peer: FQDN: <a href=\"http:\/\/mac-vpn.hiap.ru\" rel=\"noopener noreferrer nofollow\">mac-vpn.h.ru<\/a><\/p>\n<\/li>\n<li>\n<p> peer&#8217;s ID does not match certificate \u0438 \u043f\u0440\u043e\u0447\u0438\u0435&#8230;<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e IKEv2 \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c Apple \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043a VPN Mikrotik, \u0442\u043a \u0435\u0441\u0442\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b Apple \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u043d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u0430, \u043c\u043e\u0439 \u0433\u0435\u0448\u0442\u0430\u043b\u044c\u0442 \u0437\u0430\u043a\u0440\u044b\u0442 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e.<\/p>\n<p>\u0428\u0410\u04131: \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 IKEv2 \u043d\u0430 Mikrotik, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/interface31.ru\/tech_it\/2020\/04\/nastraivaem-ikev2-vpn-server-na-routerah-mikrotik.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a>. \u0412\u0430\u0436\u043d\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b RSA: \u0421\u0410, \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 4096, \u0432\u0440\u0435\u043c\u044f 3650 \u0434\u043d\u0435\u0439, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c Common Name \u0438 Subject Alt. Name: DNS \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0435 \u0438\u043c\u044f, \u0410 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0432\u0435\u0434\u0443\u0449\u0435\u0435 \u043d\u0430 \u0432\u0430\u0448 IP \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 &#8212; \u0431\u0435\u043b\u044b\u0439, \u043d\u0430 \u0441\u0430\u043c Mikrotik, \u043b\u0438\u0431\u043e \u0432 \u0432\u0430\u0448\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b Input Mikrotik, \u0434\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432 Common Name \u0438 Subject Alt. Name \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: vpn.domain.ru<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04132. \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c IPSec \u043a\u0430\u043a \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0432\u044b\u0448\u0435, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c Identity \u0434\u043b\u044f MacOS \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04133: \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 MacOS, \u043c\u043e\u043c\u0435\u043d\u0442, \u043f\u043e\u0441\u043b\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 p12 \u0438\u0437 Mikrotik: \u0430) \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u0441\u0432\u044f\u0437\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439; \u0431) \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442; \u0432) \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u043a\u0430\u0442 \u0432 \u043f\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 VPN, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0442 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0433\u0434\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440 \u0432\u0432\u043e\u0434\u0430 Shared Key \u043d\u0438\u0436\u0435 \u0432 \u043e\u0431\u0437\u043e\u0440\u0435 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442; \u0433) \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043a \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0443, \u0437\u0430\u0439\u0434\u0438\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437 \u0432 \u0441\u0432\u044f\u0437\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439 \u0438 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447\u0438\u043a \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0438 \u0434\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c, \u043b\u0438\u0431\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u0430\u0433\u0435\u043d\u0442\u0443 neagent &#8212; NEIKEv2Provider:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0428\u0410\u04134: \u0412\u0430\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0430\u0448\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435: vpn.domain.ru \u0432 \u0423\u043b\u0430\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 ID: \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 vpn.domain.ru \u0430 \u0432 \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 ID \u043a\u0430\u043a \u0440\u0430\u0437 Subject Alt. Name \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u0432 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 Mikrotik:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u043e\u0441\u044c. \u0412\u0441\u0435\u043c \u0443\u0441\u043f\u0435\u0445\u043e\u0432. \u0418\u041c\u0425\u041e \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c WireGuard, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u0430\u044f \u0442\u0435\u043c\u0430, \u0431\u0435\u0437 \u0442\u0430\u043d\u0446\u0435\u0432 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 &#171;\u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0435\u0439&#187;, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u043b \u043a\u043b\u044e\u0447\u0438 \u0438 \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/675244\/\"> https:\/\/habr.com\/ru\/post\/675244\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-335360","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=335360"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335360\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}