{"id":7,"date":"2024-03-30T21:05:44","date_gmt":"2024-03-30T18:05:44","guid":{"rendered":"http:\/\/marx.mix.net.ru\/?p=7"},"modified":"2026-07-13T23:38:43","modified_gmt":"2026-07-13T20:38:43","slug":"ipsec-sa-expired-before-finishing-rekey","status":"publish","type":"post","link":"https:\/\/mix.net.ru\/?p=7","title":{"rendered":"IPsec-SA expired before finishing rekey"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 IKEv2 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 30 \u043c\u0438\u043d\u0443\u0442, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432 IPSec Proposal \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>PFS Group<\/strong> \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <strong>none<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"524\" src=\"https:\/\/i0.wp.com\/marx.mix.net.ru\/wp-content\/uploads\/2024\/03\/psf.png?resize=524%2C524\" alt=\"\" class=\"wp-image-9\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 IKEv2 VPN \u043d\u0430 MikroTik (RouterOS 7.23.2) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 FastTrack<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u0438\u043c\u043f\u0442\u043e\u043c\u044b:<\/strong> \u043f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f FastTrack \u0432 firewall \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c (RDP \u0438 \u0434\u0440.) \u0447\u0435\u0440\u0435\u0437 IKEv2 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u041f\u043e\u0441\u043b\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u2014 \u043d\u043e\u0432\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: VPN-\u0441\u0435\u0441\u0441\u0438\u044f \u043e\u0431\u0440\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u0440\u043e\u0432\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0435 30 \u043c\u0438\u043d\u0443\u0442.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 1: RDP\/\u0434\u043e\u0441\u0442\u0443\u043f \u043a LAN \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 VPN \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u043c FastTrack<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0420\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 <code>Accept IPsec inbound\/outbound<\/code> \u0432 <code>forward<\/code> chain <strong>\u0440\u0430\u043d\u044c\u0448\u0435<\/strong> \u043f\u0440\u0430\u0432\u0438\u043b\u0430 <code>Drop invalid<\/code>.<\/li>\n\n\n\n<li>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 <code>raw prerouting<\/code>, <strong>\u043f\u0435\u0440\u0432\u044b\u043c<\/strong> \u043f\u0440\u0430\u0432\u0438\u043b\u043e\u043c, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e IPsec-\u0442\u0440\u0430\u0444\u0438\u043a\u0430 (<code>ipsec-policy=in,ipsec accept<\/code>), \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u043b \u043f\u043e\u0434 anti-spoofing \u0444\u0438\u043b\u044c\u0442\u0440\u044b.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 2: VPN-\u0441\u0435\u0441\u0441\u0438\u044f \u043e\u0431\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 30 \u043c\u0438\u043d\u0443\u0442<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 \u043b\u043e\u0433\u0435:<\/strong> <code>IPsec-SA expired before finishing rekey<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0423\u043a\u0430\u0437\u0430\u0442\u044c <code>policy-template-group=&lt;\u043d\u0443\u0436\u043d\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430><\/code> \u0432\u043e \u0432\u0441\u0435\u0445 <code>\/ip ipsec identity<\/code>.<\/li>\n\n\n\n<li>\u0423\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 <code>proposal<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u0439 <code>lifetime<\/code> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 1 \u0434\u0435\u043d\u044c) \u0438 <code>pfs-group=none<\/code>.<\/li>\n\n\n\n<li>\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 (\u0438\u043b\u0438 \u0434\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f), \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 IKEv2 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 30 \u043c\u0438\u043d\u0443\u0442, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432 IPSec Proposal \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 PFS Group \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 none \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 IKEv2 VPN \u043d\u0430 MikroTik (RouterOS 7.23.2) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 FastTrack \u0421\u0438\u043c\u043f\u0442\u043e\u043c\u044b: \u043f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f FastTrack \u0432 firewall \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c (RDP \u0438 \u0434\u0440.) \u0447\u0435\u0440\u0435\u0437 IKEv2 VPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u041f\u043e\u0441\u043b\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u2014 \u043d\u043e\u0432\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: VPN-\u0441\u0435\u0441\u0441\u0438\u044f \u043e\u0431\u0440\u044b\u0432\u0430\u043b\u0430\u0441\u044c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[3,7],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-1","tag-mikrotik","tag-vpn"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mix.net.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":6,"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/mix.net.ru\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions\/371"}],"wp:attachment":[{"href":"https:\/\/mix.net.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mix.net.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mix.net.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}