{"id":397417,"date":"2024-06-29T13:26:13","date_gmt":"2024-06-29T13:26:13","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=397417"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=397417","title":{"rendered":"<span>CISCO \u2013 Mikrotik \u2014 FLEXVPN<\/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 \u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u0430 CISCO \u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u043c Mikrotik \u0447\u0435\u0440\u0435\u0437 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0441 IPSec \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u0412 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0438 IPsec \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f IKEv2 \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e PSK. \u0412\u043d\u0443\u0442\u0440\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043d\u044f\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 OSPF \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c\u0438 \u043e \u0441\u0435\u0442\u044f\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0437\u0430 \u043f\u0438\u0440\u0430\u043c\u0438.<\/p>\n<p>\u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<ol>\n<li>\n<p>Mikrotik hEX, RouterOS &#8212; 7.1beta5<\/p>\n<\/li>\n<li>\n<p>Cisco ISR 4331 \u2013 IOS 16.9.6<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u0443\u0436\u0435 \u043c\u0435\u0436\u0434\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u0435\u0441\u0442\u044c L3 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0421\u0445\u0435\u043c\u0430 \u0441\u0435\u0442\u0438<\/p>\n<figure class=\"bordered full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/927\/2cc\/a28\/9272cca2801ecee182ec2f6d85a88097.jpg\" width=\"894\" height=\"269\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/927\/2cc\/a28\/9272cca2801ecee182ec2f6d85a88097.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h3>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Mikrotik<\/h3>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 mikrotik \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 CLI, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GUI \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u201cWinbox\u201d. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d CLI-\u043a\u043e\u043d\u0444\u0438\u0433 mikrotik.<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c Winbox->interfaces -> GRE tunnel -> new<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/38b\/2ac\/f38\/38b2acf383429f2d7d2f2026dd0313b6.jpg\" width=\"542\" height=\"522\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/38b\/2ac\/f38\/38b2acf383429f2d7d2f2026dd0313b6.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0438 tunnel destination (Remote Address) GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Mikrotik \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u043f\u043e DHCP, \u0442\u043e \u0432 \u043f\u043e\u043b\u0435 Local Address, \u043c\u044b \u043b\u0438\u0431\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043b\u0438\u0431\u043e \u0432\u0432\u043e\u0434\u0438\u043c \u201c0.0.0.0\u201d<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 IP \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044c.<\/p>\n<p>IP -> Address -> new<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/d72\/2f2\/643\/d722f264372f8c2fbcc61c1fa0cf2df0.jpg\" width=\"477\" height=\"541\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d72\/2f2\/643\/d722f264372f8c2fbcc61c1fa0cf2df0.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u0432\u0432\u043e\u0434\u0438\u043c IP \u0430\u0434\u0440\u0435\u0441 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043c\u0430\u0441\u043a\u043e\u0439 \u043d\u0435 \u043d\u0438\u0436\u0435 31 (\u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b OSPF) \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0445\u043e\u0442\u0438\u043c \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c IP address (\u0438\u043c\u044f \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21161)<\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0430\u043c\u043e\u0433\u043e IPsec. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c IKEv2 \u043f\u0440\u043e\u0444\u0438\u043b\u044c. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Profiles -> new. \u0422\u0443\u0442 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043f\u0440\u043e\u0444\u0438\u043b\u044f, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, DH Group, Lifitime IKEv2 SA, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u044b DPD.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/b3d\/311\/79b\/b3d31179be3be7449da6d0a278e20f98.jpg\" width=\"521\" height=\"675\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b3d\/311\/79b\/b3d31179be3be7449da6d0a278e20f98.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 IPsec Peer. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Peer -> new. \u0414\u0430\u0451\u043c \u0438\u043c\u044f \u043f\u0438\u0440\u0443, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e IP address, \u0432 \u043f\u043e\u043b\u0435 Local Address \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043b\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u00ab0.0.0.0\u00bb, \u043a\u0430\u043a \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u043c\u0443 Mikrotik \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e DHCP. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435 \u0438 \u0432\u0435\u0440\u0441\u0438\u044e IKE.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3f5\/47c\/21b\/3f547c21bcc284cfdc375adaa23ca3bb.jpg\" width=\"514\" height=\"301\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3f5\/47c\/21b\/3f547c21bcc284cfdc375adaa23ca3bb.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c \u043c\u0435\u0436\u0434\u0443 \u043f\u0438\u0440\u0430\u043c\u0438. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Identities -> new. \u0422\u0443\u0442 \u043c\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c peer, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Auth. Method \u2013 pre-shared key \u0438 \u0432\u0432\u043e\u0434\u0438\u043c PSK \u0432 \u043f\u043e\u043b\u0435 Secret. \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/cb7\/33b\/e7e\/cb733be7ee0e9cce73c41dfcf1c7c087.jpg\" width=\"657\" height=\"362\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cb7\/33b\/e7e\/cb733be7ee0e9cce73c41dfcf1c7c087.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c IPsec Proposal, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 IPsec SA. PFS Group \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/e20\/e1d\/06d\/e20e1d06dc99efa0aa6435499a35e02c.jpg\" width=\"480\" height=\"504\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e20\/e1d\/06d\/e20e1d06dc99efa0aa6435499a35e02c.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 IPsec \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e GRE. \u0418\u0434\u0451\u043c \u0432 IP -> IPsec -> Policies -> new -> General. \u0422\u0443\u0442 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043d\u043e\u0432\u0430 Peer, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21166, \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0433\u0430\u043b\u043e\u0447\u043a\u0430 \u0440\u044f\u0434\u043e\u043c \u0441 Tunnel \u043d\u0435 \u0441\u0442\u043e\u044f\u043b\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Transport mode. \u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f Transport mode, \u0442\u043e Src \u0438 Dst Address \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u043d\u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u044f\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 Apply. \u0415\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0432\u043d\u0435\u0441\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 Src \u0438 Dst \u0430\u0434\u0440\u0435\u0441\u0430, \u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 Peer (\u043f\u0443\u043d\u043a\u0442 \u21166). \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u043f\u0438\u0440\u0430\u043c\u0438 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c GRE \u0442\u0440\u0430\u0444\u0438\u043a, \u0442\u043e \u0432 \u043f\u043e\u043b\u0435 \u201cProtocol\u201d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c 47 \u2013 \u044d\u0442\u043e \u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 GRE<\/p>\n<p>\u00a0<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/439\/096\/28a\/43909628a5caa929a39c7c20897316c1.jpg\" width=\"465\" height=\"340\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/439\/096\/28a\/43909628a5caa929a39c7c20897316c1.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u00a0\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Action. \u0422\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432 \u043f\u043e\u043b\u0435 \u201cAction\u201d \u0441\u0442\u043e\u044f\u043b \u201cencrypt\u201d, \u0432 \u201cIPsec Protocols\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u201cesp\u201d \u0438 \u043f\u043e\u043b\u0435 \u201cProposal\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Proposal, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21166.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/bcb\/a86\/bb8\/bcba86bb8d7f8205c75d4b3875002f83.jpg\" width=\"469\" height=\"341\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bcb\/a86\/bb8\/bcba86bb8d7f8205c75d4b3875002f83.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043d\u0430 Mikrotik \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 IP -> IPsec -> Active Peers. \u0415\u0441\u043b\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f, \u0442\u043e State \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u201cEstablished\u201d \u0438 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 Tx\/Rx packets \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/79f\/2fa\/7a4\/79f2fa7a45dc737a417ec9fc7c6ea507.jpg\" width=\"1275\" height=\"451\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/79f\/2fa\/7a4\/79f2fa7a45dc737a417ec9fc7c6ea507.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u043e \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u043d\u0430\u0447\u043d\u0443\u0442 \u0440\u0430\u0441\u0442\u0438 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043f\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0430\u0444\u0438\u043a, \u0430 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u043d\u044f\u0442\u044b \u0441 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u043c OSPF. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 OSPF \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u0443\u043d\u043a\u0442\u0430\u0445.<\/p>\n<p>8.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 OSPF \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e OSPF-Instance. Routing -> OSPF -> Instances -> new. \u0412\u0432\u043e\u0434\u0438\u043c \u0438\u043c\u044f Instance, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/8c3\/447\/1e4\/8c34471e4927399298775972306a30b2.jpg\" width=\"581\" height=\"546\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8c3\/447\/1e4\/8c34471e4927399298775972306a30b2.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>9.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c OSPF Area. Routing -> OSPF -> Areas -> new. \u0414\u0430\u0451\u043c \u0435\u0439 \u0438\u043c\u044f, \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0451 \u0441 \u043d\u0430\u0448\u0438\u043c OSPF Instance, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u211610, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c backbone area, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 Area ID \u0443 \u043d\u0435\u0451 \u2013 0.0.0.0.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/676\/22e\/ff5\/67622eff529ff0f34494d8b2c50963c6.jpg\" width=\"782\" height=\"450\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/676\/22e\/ff5\/67622eff529ff0f34494d8b2c50963c6.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>10.\u00a0\u00a0 \u041d\u0430\u0434\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c OSPF \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u0445, \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0430 GRE. \u00a0Routing -> OSPF -> Interface Templates -> new. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c OSPF, Area, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 9, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0435\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043d\u0430 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u0412 \u043f\u0443\u043d\u043a\u0442\u0435\u2116 2 \u0431\u044b\u043b\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u0447\u0442\u043e \u0441\u0435\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043c\u0430\u0441\u043a\u043e\u0439 \u043d\u0435 \u043d\u0438\u0436\u0435 31, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043c\u0430\u0441\u043a\u0430 32, \u0442\u043e OSPF \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u0441 cisco \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0435\u0442\u0441\u044f. \u0412 \u201cNetwork type\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u201cptp unnumbered\u201d, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 cisco \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u0440\u0438\u0437\u0435\u043c\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 virtual-template. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c OSPF Hello Interval.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/6dd\/b69\/0f7\/6ddb690f7bea379499dcad65b43db759.jpg\" width=\"511\" height=\"561\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6dd\/b69\/0f7\/6ddb690f7bea379499dcad65b43db759.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0432\u0441\u0451 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e, \u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c\u0441\u044f OSPF \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e, \u0438 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 Tx\/Rx \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0447\u0442\u0438 \u0440\u0430\u0441\u0442\u0438 (\u043f\u0443\u043d\u043a\u0442 \u21169). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c ospf \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u043c\u043e\u0436\u043d\u043e \u0432 Routing -> OSPF -> Neighbors, State \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u201cFull\u201d.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/ef0\/88b\/d90\/ef088bd9018ef5f6b722b8c86a634ef2.jpg\" width=\"780\" height=\"453\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ef0\/88b\/d90\/ef088bd9018ef5f6b722b8c86a634ef2.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043e OSPF, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 IP -> Routes. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043e OSPF, \u0438\u043c\u0435\u044e\u0442 \u0444\u043b\u0430\u0433 Dao. \u0412 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u201cGateway\u201d \u0443\u043a\u0430\u0437\u0430\u043d \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0430\u0444\u0438\u043a \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0441\u0435\u0442\u0438. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/98b\/8e7\/544\/98b8e7544fb4cc80e7d286b3d11651f9.jpg\" width=\"840\" height=\"451\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/98b\/8e7\/544\/98b8e7544fb4cc80e7d286b3d11651f9.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Mikrotik \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430, \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c Firewall, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0438\u043a.<\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0443\u0442 IP -> Firewall -> Filter rules.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/086\/53f\/860\/08653f86043d27489257088a38af16a8.jpg\" width=\"1479\" height=\"475\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/086\/53f\/860\/08653f86043d27489257088a38af16a8.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d dynamic Pat. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0443\u0442 IP -> Firewall -> NAT.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/553\/295\/8dc\/5532958dc61b0aae549cbb6ac8860ee0.jpg\" width=\"1364\" height=\"408\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/553\/295\/8dc\/5532958dc61b0aae549cbb6ac8860ee0.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h3>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f CISCO<\/h3>\n<p>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Cisco ISR 4331 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 CLI.<\/p>\n<p>1.\u00a0\u041d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 <strong>crypto ikev2 fragmentation mtu &lt;><\/strong><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0435\u0435 \u043d\u0430\u0434\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c. Cisco \u0432 4 \u043f\u0430\u043a\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f IKEv2 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 payload, \u043d\u043e Mikrotik \u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0438 \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0442\u0443\u043d\u043d\u0435\u043b\u044c.<\/p>\n<p>2.\u00a0\u0421\u043e\u0437\u0434\u0430\u0451\u043c ikev2 proposal \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f PROP-1, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438 diffie hellman group.<\/p>\n<pre><code>crypto ikev2 proposal PROP-1   \u00a0encryption aes-cbc-256 \/\/\u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f aes-cbc-256  \u00a0integrity sha256 \/\/\u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f sha256  \u00a0group 5 \/\/diffie hellman group - 5<\/code><\/pre>\n<p>\u00a0\u0421\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c Ikev2 proposal \u0441 ikev2 policy.<\/p>\n<pre><code>crypto ikev2 policy IKEV2_POLICY   \u00a0proposal PROP-1<\/code><\/pre>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c KEYRING, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c PSK, \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 \u043f\u0438\u0440\u043e\u0432<\/p>\n<pre><code>crypto ikev2 keyring KEYRING  \u00a0peer ALL  \u00a0 address 0.0.0.0 0.0.0.0 \/\/\u0434\u0430\u043d\u043d\u044b\u0439 Keyring \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0438\u0440\u043e\u0432  \u00a0 pre-shared-key local cisco123  \u00a0 pre-shared-key remote cisco123<\/code><\/pre>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ikev2 profile.<\/p>\n<pre><code>\u00a0crypto ikev2 profile VTI_PROFILE_MIKR  \u00a0authentication remote pre-share \/\/\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e PSK \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u0438\u0440\u0430  \u00a0authentication local pre-share \/\/\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e PSK \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0438\u0440\u0430  \u00a0keyring local KEYRING\/\/ \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c KEYRING, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f PSK \u043a\u043b\u044e\u0447\u0438.  \u00a0dpd 10 3 periodic \/\/ \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c DPD  \u00a0virtual-template 2 mode auto \/\/ \u0421\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c profile \u0441 virtual-template<\/code><\/pre>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ipsec transform-set. \u0414\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f (TSET), \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0437\u0430\u0434\u0430\u0451\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c.<\/p>\n<pre><code>crypto ipsec transform-set TSET esp-aes 256 esp-sha512-hmac   \u00a0mode transport<\/code><\/pre>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ipsec profile, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f \u201cIPSEC_PROFILE_MIKR\u201d \u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0441 transform-set, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 5, \u0438 \u0441 ikev2 profile, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 4.<\/p>\n<pre><code>crypto ipsec profile IPSEC_PROFILE_MIKR  \u00a0set transform-set TSET  \u00a0set ikev2-profile VTI_PROFILE_MIKR<\/code><\/pre>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c loopback \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u0434\u0430\u0451\u043c \u0435\u043c\u0443 IP \u0430\u0434\u0440\u0435\u0441, \u0434\u0430\u043d\u043d\u044b\u0439 IP \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 virtual-template. IP \u0430\u0434\u0440\u0435\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 32 \u043c\u0430\u0441\u043a\u043e\u0439 &#8212; \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b ospf.<\/p>\n<pre><code>interface Loopback1  \u00a0ip address 172.16.10.1 255.255.255.255<\/code><\/pre>\n<p>8.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c virtual-template, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u043d\u043e\u043c\u0435\u0440.<\/p>\n<pre><code>interface Virtual-Template2 type tunnel  \u00a0ip unnumbered Loopback1 \/\/ IP \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0435\u0442 \u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 loopback1 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430  \u00a0ip ospf dead-interval 40 \/\/ \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u043c ospf dead \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b.  \u00a0ip ospf mtu-ignore \/\/ ospf \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 mtu   \u00a0tunnel source GigabitEthernet0\/0 \/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u0438\u0442\u044c\u0441\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044c.  \u00a0tunnel protection ipsec profile IPSEC_PROFILE_MIKR \/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c ipsec profile<\/code><\/pre>\n<p>9.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c ospf<\/p>\n<pre><code>router ospf 1  network 172.16.10.1 0.0.0.0 area 0 \/\/ \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c ospf \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Virtual-Template2.<\/code><\/pre>\n<p>10.\u00a0\u00a0 \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0438\u043b\u0438 \u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>show crypto ipsec sa peer &lt;ip address remote peer><\/code><\/pre>\n<pre><code>interface: Virtual-Access1  \u00a0\u00a0\u00a0 Crypto map tag: Virtual-Access1-head-0, local addr 10.0.174.253  \u00a0  \u00a0\u00a0 protected vrf: (none)  \u00a0\u00a0 local\u00a0 ident (addr\/mask\/prot\/port): (10.0.174.253\/255.255.255.255\/47\/0)  \u00a0\u00a0 remote ident (addr\/mask\/prot\/port): (10.0.200.54\/255.255.255.255\/47\/0)  \u00a0\u00a0 current_peer 10.0.200.54 port 4500  \u00a0\u00a0\u00a0\u00a0 PERMIT, flags={origin_is_acl,}  \u00a0\u00a0\u00a0 #pkts encaps: 68, #pkts encrypt: 68, #pkts digest: 68 \/\/ \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438  \u00a0\u00a0\u00a0 #pkts decaps: 66, #pkts decrypt: 66, #pkts verify: 66 \/\/ \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438  \u00a0\u00a0\u00a0 #pkts compressed: 0, #pkts decompressed: 0  \u00a0\u00a0\u00a0 #pkts not compressed: 0, #pkts compr. failed: 0  \u00a0\u00a0\u00a0 #pkts not decompressed: 0, #pkts decompress failed: 0  \u00a0\u00a0\u00a0 #send errors 0, #recv errors 0  \u00a0  \u00a0\u00a0\u00a0\u00a0 local crypto endpt.: 10.0.174.253, remote crypto endpt.: 10.0.200.54  \u00a0\u00a0\u00a0\u00a0 plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet0\/0\/0  \u00a0\u00a0\u00a0\u00a0 current outbound spi: 0x3F86120(66609440)  \u00a0\u00a0\u00a0\u00a0 PFS (Y\/N): N, DH group: none  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound esp sas:  \u00a0\u00a0\u00a0\u00a0\u00a0 spi: 0xBD3CDFCA(3174883274)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 transform: esp-256-aes esp-sha512-hmac ,  \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0in use settings ={Transport, }  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 conn id: 2499, flow_id: ESG:499, sibling_flags FFFFFFFF80000008, crypto map: Virtual-Access1-head-0  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sa timing: remaining key lifetime (k\/sec): (4607991\/2947)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IV size: 16 bytes  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 replay detection support: Y  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Status: ACTIVE(ACTIVE)  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound ah sas:  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound pcp sas:  \u00a0  \u00a0\u00a0\u00a0\u00a0 outbound esp sas:  \u00a0\u00a0\u00a0\u00a0\u00a0 spi: 0x3F86120(66609440)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 transform: esp-256-aes esp-sha512-hmac ,  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 in use settings ={Transport, }  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 conn id: 2500, flow_id: ESG:500, sibling_flags FFFFFFFF80000008, crypto map: Virtual-Access1-head-0  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sa timing: remaining key lifetime (k\/sec): (4607993\/2947)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IV size: 16 bytes  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 replay detection support: Y  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Status: ACTIVE(ACTIVE)  \u00a0  \u00a0\u00a0\u00a0\u00a0 outbound ah sas:  \u00a0  \u00a0\u00a0\u00a0\u00a0 outbound pcp sas:<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c ospf \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <strong>show ip ospf neighbor<\/strong><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440<\/p>\n<pre><code>show ip ospf neighbor<\/code><\/pre>\n<pre><code>Neighbor ID\u00a0\u00a0\u00a0\u00a0 Pri\u00a0\u00a0 State\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Dead Time\u00a0\u00a0 Address\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Interface  172.16.10.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0 FULL\/\u00a0 -\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 00:00:32\u00a0\u00a0\u00a0 172.16.10.5\u00a0\u00a0\u00a0\u00a0 Virtual-Access1<\/code><\/pre>\n<p>State \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u201cFULL\u201d, \u0438 \u0432 \u043f\u043e\u043b\u0435 \u201c\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u201d \u0443 \u043d\u0430\u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 &#8212; \u201cVirtual-Access1\u201d. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0447\u0435\u0440\u0435\u0437 Virtual-Access1 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/p>\n<p>\u0414\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043e ospf.<\/p>\n<pre><code>show ip route ospf<\/code><\/pre>\n<pre><code>Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 E1 - OSPF external type 1, E2 - OSPF external type 2  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ia - IS-IS inter area, * - candidate default, U - per-user static route  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 a - application route  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 + - replicated route, % - next hop override, p - overrides from PfR  \u00a0  Gateway of last resort is 10.0.131.1 to network 0.0.0.0  \u00a0  \u00a0\u00a0\u00a0\u00a0\u00a0 10.0.0.0\/8 is variably subnetted, 10 subnets, 3 masks  O\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.145.0\/24 [110\/1001] via 172.16.10.5, 11:11:06, Virtual-Access1<\/code><\/pre>\n<p>\u00a0\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u0442\u0440\u0430\u0444\u0438\u043a \u0432 \u0441\u0435\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f 10.0.145.0\/24 \u043f\u043e\u0439\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 Virtual-Access1 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/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\/articles\/594957\/\"> https:\/\/habr.com\/ru\/articles\/594957\/<\/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 \u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u0430 CISCO \u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u043c Mikrotik \u0447\u0435\u0440\u0435\u0437 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0441 IPSec \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u0412 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0438 IPsec \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f IKEv2 \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e PSK. \u0412\u043d\u0443\u0442\u0440\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043d\u044f\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 OSPF \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c\u0438 \u043e \u0441\u0435\u0442\u044f\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0437\u0430 \u043f\u0438\u0440\u0430\u043c\u0438.<\/p>\n<p>\u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<ol>\n<li>\n<p>Mikrotik hEX, RouterOS &#8212; 7.1beta5<\/p>\n<\/li>\n<li>\n<p>Cisco ISR 4331 \u2013 IOS 16.9.6<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u0443\u0436\u0435 \u043c\u0435\u0436\u0434\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u0435\u0441\u0442\u044c L3 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0421\u0445\u0435\u043c\u0430 \u0441\u0435\u0442\u0438<\/p>\n<figure class=\"bordered full-width\"><figcaption><\/figcaption><\/figure>\n<h3>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Mikrotik<\/h3>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 mikrotik \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 CLI, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GUI \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u201cWinbox\u201d. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d CLI-\u043a\u043e\u043d\u0444\u0438\u0433 mikrotik.<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c Winbox->interfaces -> GRE tunnel -> new<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0438 tunnel destination (Remote Address) GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Mikrotik \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u043f\u043e DHCP, \u0442\u043e \u0432 \u043f\u043e\u043b\u0435 Local Address, \u043c\u044b \u043b\u0438\u0431\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043b\u0438\u0431\u043e \u0432\u0432\u043e\u0434\u0438\u043c \u201c0.0.0.0\u201d<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 IP \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044c.<\/p>\n<p>IP -> Address -> new<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u0432\u0432\u043e\u0434\u0438\u043c IP \u0430\u0434\u0440\u0435\u0441 GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043c\u0430\u0441\u043a\u043e\u0439 \u043d\u0435 \u043d\u0438\u0436\u0435 31 (\u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b OSPF) \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0445\u043e\u0442\u0438\u043c \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c IP address (\u0438\u043c\u044f \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21161)<\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0430\u043c\u043e\u0433\u043e IPsec. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c IKEv2 \u043f\u0440\u043e\u0444\u0438\u043b\u044c. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Profiles -> new. \u0422\u0443\u0442 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043f\u0440\u043e\u0444\u0438\u043b\u044f, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, DH Group, Lifitime IKEv2 SA, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u044b DPD.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 IPsec Peer. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Peer -> new. \u0414\u0430\u0451\u043c \u0438\u043c\u044f \u043f\u0438\u0440\u0443, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e IP address, \u0432 \u043f\u043e\u043b\u0435 Local Address \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043b\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u00ab0.0.0.0\u00bb, \u043a\u0430\u043a \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u043c\u0443 Mikrotik \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e DHCP. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435 \u0438 \u0432\u0435\u0440\u0441\u0438\u044e IKE.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c \u043c\u0435\u0436\u0434\u0443 \u043f\u0438\u0440\u0430\u043c\u0438. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c IP -> IPsec -> Identities -> new. \u0422\u0443\u0442 \u043c\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c peer, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Auth. Method \u2013 pre-shared key \u0438 \u0432\u0432\u043e\u0434\u0438\u043c PSK \u0432 \u043f\u043e\u043b\u0435 Secret. \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c IPsec Proposal, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 IPsec SA. PFS Group \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 IPsec \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e GRE. \u0418\u0434\u0451\u043c \u0432 IP -> IPsec -> Policies -> new -> General. \u0422\u0443\u0442 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043d\u043e\u0432\u0430 Peer, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21166, \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0433\u0430\u043b\u043e\u0447\u043a\u0430 \u0440\u044f\u0434\u043e\u043c \u0441 Tunnel \u043d\u0435 \u0441\u0442\u043e\u044f\u043b\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Transport mode. \u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f Transport mode, \u0442\u043e Src \u0438 Dst Address \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u043d\u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u044f\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 Apply. \u0415\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0432\u043d\u0435\u0441\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 Src \u0438 Dst \u0430\u0434\u0440\u0435\u0441\u0430, \u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 Peer (\u043f\u0443\u043d\u043a\u0442 \u21166). \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u043f\u0438\u0440\u0430\u043c\u0438 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c GRE \u0442\u0440\u0430\u0444\u0438\u043a, \u0442\u043e \u0432 \u043f\u043e\u043b\u0435 \u201cProtocol\u201d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c 47 \u2013 \u044d\u0442\u043e \u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 GRE<\/p>\n<p>\u00a0<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u00a0\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Action. \u0422\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432 \u043f\u043e\u043b\u0435 \u201cAction\u201d \u0441\u0442\u043e\u044f\u043b \u201cencrypt\u201d, \u0432 \u201cIPsec Protocols\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u201cesp\u201d \u0438 \u043f\u043e\u043b\u0435 \u201cProposal\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Proposal, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u21166.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043d\u0430 Mikrotik \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 IP -> IPsec -> Active Peers. \u0415\u0441\u043b\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f, \u0442\u043e State \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u201cEstablished\u201d \u0438 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 Tx\/Rx packets \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438. <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u043e \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u043d\u0430\u0447\u043d\u0443\u0442 \u0440\u0430\u0441\u0442\u0438 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043f\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0430\u0444\u0438\u043a, \u0430 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u043d\u044f\u0442\u044b \u0441 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u043c OSPF. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 OSPF \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u0443\u043d\u043a\u0442\u0430\u0445.<\/p>\n<p>8.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 OSPF \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e OSPF-Instance. Routing -> OSPF -> Instances -> new. \u0412\u0432\u043e\u0434\u0438\u043c \u0438\u043c\u044f Instance, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>9.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c OSPF Area. Routing -> OSPF -> Areas -> new. \u0414\u0430\u0451\u043c \u0435\u0439 \u0438\u043c\u044f, \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0451 \u0441 \u043d\u0430\u0448\u0438\u043c OSPF Instance, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u211610, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c backbone area, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 Area ID \u0443 \u043d\u0435\u0451 \u2013 0.0.0.0.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>10.\u00a0\u00a0 \u041d\u0430\u0434\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c OSPF \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u0445, \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0430 GRE. \u00a0Routing -> OSPF -> Interface Templates -> new. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c OSPF, Area, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 9, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0435\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043d\u0430 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u0412 \u043f\u0443\u043d\u043a\u0442\u0435\u2116 2 \u0431\u044b\u043b\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u0447\u0442\u043e \u0441\u0435\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u043c\u0430\u0441\u043a\u043e\u0439 \u043d\u0435 \u043d\u0438\u0436\u0435 31, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043c\u0430\u0441\u043a\u0430 32, \u0442\u043e OSPF \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u0441 cisco \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0435\u0442\u0441\u044f. \u0412 \u201cNetwork type\u201d \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u201cptp unnumbered\u201d, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 cisco \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u0440\u0438\u0437\u0435\u043c\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 virtual-template. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c OSPF Hello Interval.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0432\u0441\u0451 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e, \u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c\u0441\u044f OSPF \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e, \u0438 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 Tx\/Rx \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0447\u0442\u0438 \u0440\u0430\u0441\u0442\u0438 (\u043f\u0443\u043d\u043a\u0442 \u21169). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c ospf \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u043c\u043e\u0436\u043d\u043e \u0432 Routing -> OSPF -> Neighbors, State \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u201cFull\u201d.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043e OSPF, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 IP -> Routes. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043e OSPF, \u0438\u043c\u0435\u044e\u0442 \u0444\u043b\u0430\u0433 Dao. \u0412 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u201cGateway\u201d \u0443\u043a\u0430\u0437\u0430\u043d \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0439\u0434\u0451\u0442 \u0442\u0440\u0430\u0444\u0438\u043a \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0441\u0435\u0442\u0438. <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Mikrotik \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430, \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c Firewall, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0438\u043a.<\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0443\u0442 IP -> Firewall -> Filter rules.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d dynamic Pat. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0443\u0442 IP -> Firewall -> NAT.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f CISCO<\/h3>\n<p>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Cisco ISR 4331 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 CLI.<\/p>\n<p>1.\u00a0\u041d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 <strong>crypto ikev2 fragmentation mtu &lt;><\/strong><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0435\u0435 \u043d\u0430\u0434\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c. Cisco \u0432 4 \u043f\u0430\u043a\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f IKEv2 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 payload, \u043d\u043e Mikrotik \u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0438 \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0442\u0443\u043d\u043d\u0435\u043b\u044c.<\/p>\n<p>2.\u00a0\u0421\u043e\u0437\u0434\u0430\u0451\u043c ikev2 proposal \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f PROP-1, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438 diffie hellman group.<\/p>\n<pre><code>crypto ikev2 proposal PROP-1   \u00a0encryption aes-cbc-256 \/\/\u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f aes-cbc-256  \u00a0integrity sha256 \/\/\u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f sha256  \u00a0group 5 \/\/diffie hellman group - 5<\/code><\/pre>\n<p>\u00a0\u0421\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c Ikev2 proposal \u0441 ikev2 policy.<\/p>\n<pre><code>crypto ikev2 policy IKEV2_POLICY   \u00a0proposal PROP-1<\/code><\/pre>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c KEYRING, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c PSK, \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 \u043f\u0438\u0440\u043e\u0432<\/p>\n<pre><code>crypto ikev2 keyring KEYRING  \u00a0peer ALL  \u00a0 address 0.0.0.0 0.0.0.0 \/\/\u0434\u0430\u043d\u043d\u044b\u0439 Keyring \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0438\u0440\u043e\u0432  \u00a0 pre-shared-key local cisco123  \u00a0 pre-shared-key remote cisco123<\/code><\/pre>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ikev2 profile.<\/p>\n<pre><code>\u00a0crypto ikev2 profile VTI_PROFILE_MIKR  \u00a0authentication remote pre-share \/\/\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e PSK \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u0438\u0440\u0430  \u00a0authentication local pre-share \/\/\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e PSK \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0438\u0440\u0430  \u00a0keyring local KEYRING\/\/ \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c KEYRING, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f PSK \u043a\u043b\u044e\u0447\u0438.  \u00a0dpd 10 3 periodic \/\/ \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c DPD  \u00a0virtual-template 2 mode auto \/\/ \u0421\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c profile \u0441 virtual-template<\/code><\/pre>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ipsec transform-set. \u0414\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f (TSET), \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0437\u0430\u0434\u0430\u0451\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c.<\/p>\n<pre><code>crypto ipsec transform-set TSET esp-aes 256 esp-sha512-hmac   \u00a0mode transport<\/code><\/pre>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c ipsec profile, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u0438\u043c\u044f \u201cIPSEC_PROFILE_MIKR\u201d \u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0441 transform-set, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 5, \u0438 \u0441 ikev2 profile, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u2116 4.<\/p>\n<pre><code>crypto ipsec profile IPSEC_PROFILE_MIKR  \u00a0set transform-set TSET  \u00a0set ikev2-profile VTI_PROFILE_MIKR<\/code><\/pre>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c loopback \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u0434\u0430\u0451\u043c \u0435\u043c\u0443 IP \u0430\u0434\u0440\u0435\u0441, \u0434\u0430\u043d\u043d\u044b\u0439 IP \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 virtual-template. IP \u0430\u0434\u0440\u0435\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 32 \u043c\u0430\u0441\u043a\u043e\u0439 &#8212; \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b ospf.<\/p>\n<pre><code>interface Loopback1  \u00a0ip address 172.16.10.1 255.255.255.255<\/code><\/pre>\n<p>8.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0421\u043e\u0437\u0434\u0430\u0451\u043c virtual-template, \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u043d\u043e\u043c\u0435\u0440.<\/p>\n<pre><code>interface Virtual-Template2 type tunnel  \u00a0ip unnumbered Loopback1 \/\/ IP \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0435\u0442 \u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 loopback1 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430  \u00a0ip ospf dead-interval 40 \/\/ \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u043c ospf dead \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b.  \u00a0ip ospf mtu-ignore \/\/ ospf \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 mtu   \u00a0tunnel source GigabitEthernet0\/0 \/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u0438\u0442\u044c\u0441\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044c.  \u00a0tunnel protection ipsec profile IPSEC_PROFILE_MIKR \/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c ipsec profile<\/code><\/pre>\n<p>9.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c ospf<\/p>\n<pre><code>router ospf 1  network 172.16.10.1 0.0.0.0 area 0 \/\/ \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c ospf \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Virtual-Template2.<\/code><\/pre>\n<p>10.\u00a0\u00a0 \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0438\u043b\u0438 \u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>show crypto ipsec sa peer &lt;ip address remote peer><\/code><\/pre>\n<pre><code>interface: Virtual-Access1  \u00a0\u00a0\u00a0 Crypto map tag: Virtual-Access1-head-0, local addr 10.0.174.253  \u00a0  \u00a0\u00a0 protected vrf: (none)  \u00a0\u00a0 local\u00a0 ident (addr\/mask\/prot\/port): (10.0.174.253\/255.255.255.255\/47\/0)  \u00a0\u00a0 remote ident (addr\/mask\/prot\/port): (10.0.200.54\/255.255.255.255\/47\/0)  \u00a0\u00a0 current_peer 10.0.200.54 port 4500  \u00a0\u00a0\u00a0\u00a0 PERMIT, flags={origin_is_acl,}  \u00a0\u00a0\u00a0 #pkts encaps: 68, #pkts encrypt: 68, #pkts digest: 68 \/\/ \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438  \u00a0\u00a0\u00a0 #pkts decaps: 66, #pkts decrypt: 66, #pkts verify: 66 \/\/ \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0441\u0442\u0438  \u00a0\u00a0\u00a0 #pkts compressed: 0, #pkts decompressed: 0  \u00a0\u00a0\u00a0 #pkts not compressed: 0, #pkts compr. failed: 0  \u00a0\u00a0\u00a0 #pkts not decompressed: 0, #pkts decompress failed: 0  \u00a0\u00a0\u00a0 #send errors 0, #recv errors 0  \u00a0  \u00a0\u00a0\u00a0\u00a0 local crypto endpt.: 10.0.174.253, remote crypto endpt.: 10.0.200.54  \u00a0\u00a0\u00a0\u00a0 plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet0\/0\/0  \u00a0\u00a0\u00a0\u00a0 current outbound spi: 0x3F86120(66609440)  \u00a0\u00a0\u00a0\u00a0 PFS (Y\/N): N, DH group: none  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound esp sas:  \u00a0\u00a0\u00a0\u00a0\u00a0 spi: 0xBD3CDFCA(3174883274)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 transform: esp-256-aes esp-sha512-hmac ,  \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0in use settings ={Transport, }  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 conn id: 2499, flow_id: ESG:499, sibling_flags FFFFFFFF80000008, crypto map: Virtual-Access1-head-0  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sa timing: remaining key lifetime (k\/sec): (4607991\/2947)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IV size: 16 bytes  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 replay detection support: Y  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Status: ACTIVE(ACTIVE)  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound ah sas:  \u00a0  \u00a0\u00a0\u00a0\u00a0 inbound pcp sas:  \u00a0  \u00a0\u00a0\u00a0\u00a0 outbound esp sas:  \u00a0\u00a0\u00a0\u00a0\u00a0 spi: 0x3F86120(66609440)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 transform: esp-256-aes esp-sha512-hmac ,  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 in use settings ={Transport, }  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 conn id: 2500,<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-397417","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/397417","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=397417"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/397417\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=397417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=397417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=397417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}