{"id":308125,"date":"2020-08-07T09:00:11","date_gmt":"2020-08-07T09:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=308125"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=308125","title":{"rendered":"1.5 \u0441\u0445\u0435\u043c\u044b \u043d\u0430 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c IPsec VPN. \u0422\u0435\u0441\u0442\u0438\u0440\u0443\u044e \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/514190\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ms\/se\/1m\/msse1mivdxud3wwwc9x_4wlddfg.png\"><\/p>\n<h3>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h3>\n<p>  \u042f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0421-\u0422\u0435\u0440\u0440\u0430 VPN \u0432\u0435\u0440\u0441\u0438\u0438 4.3 \u043d\u0430 \u0442\u0440\u0438 \u043c\u0435\u0441\u044f\u0446\u0430. \u0425\u043e\u0447\u0443 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0441\u0442\u0430\u043d\u0435\u0442 \u043b\u0438 \u043c\u043e\u044f \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u0430\u044f \u0436\u0438\u0437\u043d\u044c \u043b\u0435\u0433\u0447\u0435, \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e.<br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e, \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0438\u043a\u0430 \u0440\u0430\u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e\u0433\u043e \u043a\u043e\u0444\u0435 3 \u0432 1 \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u0438. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b GRE-over-IPsec \u0438 IPsec-over-GRE.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u044e<\/h3>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nw\/cc\/p6\/nwccp6-k8m5pxvhppms2xfm2gi4.png\"><\/p>\n<p>  \u0418\u0437 \u0440\u0438\u0441\u0443\u043d\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0443\u0436\u043d\u043e:<\/p>\n<ul>\n<li>\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u043e \u043d\u0430 presale@s-terra.ru \u0441 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430;<\/li>\n<li>\u0412 \u043f\u0438\u0441\u044c\u043c\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0418\u041d\u041d \u0432\u0430\u0448\u0435\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438;<\/li>\n<li>\u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e.<\/li>\n<\/ul>\n<p>  \u0414\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0442\u0440\u0438 \u043c\u0435\u0441\u044f\u0446\u0430. \u0412\u0435\u043d\u0434\u043e\u0440 \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c. <\/p>\n<h3>\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044e \u043e\u0431\u0440\u0430\u0437<\/h3>\n<p>  \u0414\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u044f \u0448\u043b\u044e\u0437\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u2013 \u044d\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e VMWare Workstation. \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u043e\u0432 \u0438 \u0441\u0440\u0435\u0434 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432\u0435\u043d\u0434\u043e\u0440\u0430. <br \/>  \u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0435\u0442 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dj\/br\/d2\/djbrd2y5urxf7byd-coh234u7dq.png\"><\/p>\n<p>  \u041b\u043e\u0433\u0438\u043a\u0430 \u044f\u0441\u043d\u0430, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e. \u0414\u043e\u0431\u0430\u0432\u043b\u044e \u0441\u0440\u0430\u0437\u0443 \u0447\u0435\u0442\u044b\u0440\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/v5\/zi\/6a\/v5zi6a1l7zbecaplmsxo8ip9ses.png\"><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443. \u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0448\u043b\u044e\u0437 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c. <\/p>\n<blockquote><p>\u0412 \u0421-\u0422\u0435\u0440\u0440\u0430 \u0428\u043b\u044e\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u0435\u0439 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0443\u0447\u0435\u0442\u043d\u044b\u043c\u0438 \u0437\u0430\u043f\u0438\u0441\u044f\u043c\u0438. \u041f\u043e\u0441\u0447\u0438\u0442\u0430\u044e \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u0410 \u043f\u043e\u043a\u0430:<br \/>  <code>Login as: administrator<br \/>  Password: s-terra<\/code><\/p><\/blockquote>\n<p>  \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e \u0448\u043b\u044e\u0437. \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u2013 \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: \u0432\u0432\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0438\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b (\u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u043d\u044b\u0439 \u0442\u0440\u0435\u043d\u0430\u0436\u0435\u0440 \u2013 \u043c\u043e\u0439 \u0440\u0435\u043a\u043e\u0440\u0434 27 \u0441\u0435\u043a\u0443\u043d\u0434) \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432.<\/p>\n<h3>\u041a\u0430\u0440\u0442\u0430 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432. \u0421\u0442\u0430\u043b\u043e \u043b\u0435\u0433\u0447\u0435<\/h3>\n<p>  \u0412\u0435\u0440\u0441\u0438\u044f 4.2 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<p>  <code>Starting IPsec daemon\u2026.. failed<br \/>  ERROR: Could not establish connection with daemon<\/code><\/p>\n<p>  <i>\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c (\u043f\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430) \u2013 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0431\u0435\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/i><\/p>\n<p>  \u0427\u0442\u043e-\u0442\u043e \u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a, \u0435\u0449\u0435 \u0434\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u0412\u0441\u0435 \u0434\u0435\u043b\u043e \u0432 \u043a\u0430\u0440\u0442\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c:<\/p>\n<p>  <code>\/bin\/netifcfg enum &gt; \/home\/map<br \/>  \/bin\/netifcfg map \/home\/map<br \/>  service networking restart<\/code><\/p>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0440\u0442\u0430 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043c\u0430\u043f\u043f\u0438\u043d\u0433 \u0438\u043c\u0435\u043d \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 (0000:02:03.0) \u0438 \u0438\u0445 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 (eth0) \u0438 Cisco-like \u043a\u043e\u043d\u0441\u043e\u043b\u0438 (FastEthernet0\/0):<\/p>\n<p>  <code>#Unique ID iface type OS name Cisco-like name<\/p>\n<p>  0000:02:03.0 phye eth0 FastEthernet0\/0<\/code><\/p>\n<p>  \u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0430\u043b\u0438\u0430\u0441\u0430\u043c\u0438. \u0410\u043b\u0438\u0430\u0441\u044b \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/ifaliases.cf. <br \/>  \u0412 \u0432\u0435\u0440\u0441\u0438\u0438 4.3 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043a\u0430\u0440\u0442\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u043c\u0435\u043d\u044f\u0435\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0435, \u0442\u043e \u0431\u0443\u0434\u044c\u0442\u0435 \u0434\u043e\u0431\u0440\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0437\u0430\u043d\u043e\u0432\u043e:<\/p>\n<p>  <code>\/bin\/netifcfg enum &gt; \/home\/map<br \/>  \/bin\/netifcfg map \/home\/map<br \/>  systemctl restart networking<\/code><\/p>\n<h3>\u0421\u0445\u0435\u043c\u0430 1: GRE-over-IPsec<\/h3>\n<p>  \u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044e \u0434\u0432\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0448\u043b\u044e\u0437\u0430, \u043a\u043e\u043c\u043c\u0443\u0442\u0438\u0440\u0443\u044e \u0442\u0430\u043a, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0440\u0438\u0441\u0443\u043d\u043a\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/v9\/tl\/qt\/v9tlqthvlyl3ybyka4qaz8e9m3y.png\"><\/p>\n<p>  <b>\u0428\u0430\u0433 1. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e IP \u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b<\/b><\/p>\n<p>  <code>VG1(config) #<br \/>  interface fa0\/0<br \/>  ip address 172.16.1.253 255.255.255.0<br \/>  no shutdown<br \/>  interface fa0\/1<br \/>  ip address 192.168.1.253 255.255.255.0<br \/>  no shutdown<br \/>  ip route 0.0.0.0 0.0.0.0 172.16.1.254<\/code><\/p>\n<p>  <code>VG2(config) #<br \/>  interface fa0\/0<br \/>  ip address 172.16.1.254 255.255.255.0<br \/>  no shutdown<br \/>  interface fa0\/1<br \/>  ip address 192.168.2.254 255.255.255.0<br \/>  no shutdown<br \/>  ip route 0.0.0.0 0.0.0.0 172.16.1.253<\/code><\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e IP \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c:<\/p>\n<p>  <code>root@VG1:~# ping 172.16.1.254 -c 4<br \/>  PING 172.16.1.254 (172.16.1.254) 56(84) bytes of data.<br \/>  64 bytes from 172.16.1.254: icmp_seq=1 ttl=64 time=0.545 ms<br \/>  64 bytes from 172.16.1.254: icmp_seq=2 ttl=64 time=0.657 ms<br \/>  64 bytes from 172.16.1.254: icmp_seq=3 ttl=64 time=0.687 ms<br \/>  64 bytes from 172.16.1.254: icmp_seq=4 ttl=64 time=0.273 ms<\/p>\n<p>  --- 172.16.1.254 ping statistics ---<br \/>  4 packets transmitted, 4 received, 0% packet loss, time 3005ms<br \/>  rtt min\/avg\/max\/mdev = 0.273\/0.540\/0.687\/0.164 ms<\/code><\/p>\n<p>  <b>\u0428\u0430\u0433 2. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e GRE<\/b><\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 GRE \u0431\u0435\u0440\u0443 \u0438\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432. \u0421\u043e\u0437\u0434\u0430\u044e \u0444\u0430\u0439\u043b gre1 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \/etc\/network\/interfaces.d \u0441 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<br \/>  \u0414\u043b\u044f VG1:<\/p>\n<p>  <code>auto gre1<br \/>  iface gre1 inet static<br \/>  address 1.1.1.1<br \/>  netmask 255.255.255.252<br \/>  pre-up ip tunnel add gre1 mode gre remote 172.16.1.254 local 172.16.1.253 key 1 ttl 64 tos inherit<br \/>  pre-up ethtool -K gre1 tx off &gt; \/dev\/null<br \/>  pre-up ip link set gre1 mtu 1400<br \/>  post-down ip link del gre1<\/code><\/p>\n<p>  \u0414\u043b\u044f VG2:<\/p>\n<p>  <code>auto gre1<br \/>  iface gre1 inet static<br \/>  address 1.1.1.2<br \/>  netmask 255.255.255.252<br \/>  pre-up ip tunnel add gre1 mode gre remote 172.16.1.253 local 172.16.1.254 key 1 ttl 64 tos inherit<br \/>  pre-up ethtool -K gre1 tx off &gt; \/dev\/null<br \/>  pre-up ip link set gre1 mtu 1400<br \/>  post-down ip link del gre1<\/code><\/p>\n<p>  \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435:<br \/>  <code>root@VG1:~# ifup gre1<br \/>  root@VG2:~# ifup gre1<\/code><\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e:<\/p>\n<p>  <code>root@VG1:~# ip address show<br \/>  8: gre1@NONE: &lt;POINTOPOINT,NOARP,UP,LOWER_UP&gt; mtu 1400 qdisc noqueue state UNKNOWN group default qlen 1<br \/>   link\/gre 172.16.1.253 peer 172.16.1.254<br \/>   inet 1.1.1.1\/30 brd 1.1.1.3 scope global gre1<br \/>   valid_lft forever preferred_lft forever<\/p>\n<p>  root@VG1:~# ip tunnel show<br \/>  gre0: gre\/ip remote any local any ttl inherit nopmtudisc<br \/>  gre1: gre\/ip remote 172.16.1.254 local 172.16.1.253 ttl 64 tos inherit key 1<\/code><\/p>\n<p>  \u0412 \u0421-\u0422\u0435\u0440\u0440\u0430 \u0428\u043b\u044e\u0437 \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u0441\u043d\u0438\u0444\u0444\u0435\u0440 \u2014 tcpdump. \u0417\u0430\u043f\u0438\u0448\u0443 \u0434\u0430\u043c\u043f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0432 pcap \u0444\u0430\u0439\u043b:<\/p>\n<p>  <code>root@VG2:~# tcpdump -i eth0 -w \/home\/dump.pcap<\/code><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044e ping \u043c\u0435\u0436\u0434\u0443 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438:<\/p>\n<p>  <code>root@VG1:~# ping 1.1.1.2 -c 4<br \/>  PING 1.1.1.2 (1.1.1.2) 56(84) bytes of data.<br \/>  64 bytes from 1.1.1.2: icmp_seq=1 ttl=64 time=0.918 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=2 ttl=64 time=0.850 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=3 ttl=64 time=0.918 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=4 ttl=64 time=0.974 ms<\/p>\n<p>  --- 1.1.1.2 ping statistics ---<br \/>  4 packets transmitted, 4 received, 0% packet loss, time 3006ms<br \/>  rtt min\/avg\/max\/mdev = 0.850\/0.915\/0.974\/0.043 ms<\/code><\/p>\n<p>  GRE \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/r7\/bu\/7o\/r7bu7oikje_vpczfz27w43juiju.png\"><\/p>\n<p>  <b>\u0428\u0430\u0433 3. \u0428\u0438\u0444\u0440\u0443\u0435\u043c \u0413\u041e\u0421\u0422\u043e\u043c GRE<\/b><\/p>\n<p>  \u0417\u0430\u0434\u0430\u044e \u0442\u0438\u043f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u2013 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443. \u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043a\u043b\u044e\u0447\u0443 (\u043f\u043e \u041f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b):<\/p>\n<p>  <code>VG1(config)#<br \/>  crypto isakmp identity address<br \/>  crypto isakmp key KEY address 172.16.1.254<\/code><\/p>\n<p>  \u0417\u0430\u0434\u0430\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b IPsec Phase I:<\/p>\n<p>  <code>VG1(config)#<br \/>  crypto isakmp policy 1<br \/>  encr gost<br \/>  hash gost3411-256-tc26<br \/>  auth pre-share<br \/>  group vko2<\/code><\/p>\n<p>  \u0417\u0430\u0434\u0430\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b IPsec Phase II:<\/p>\n<p>  <code>VG1(config)#<br \/>  crypto ipsec transform-set TSET esp-gost28147-4m-imit<br \/>  mode tunnel<\/code><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u044e \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0426\u0435\u043b\u0435\u0432\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u2014 GRE:<\/p>\n<p>  <code>VG1(config)#<br \/>  ip access-list extended LIST<br \/>  permit gre host 172.16.1.253 host 172.16.1.254<\/code><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u044e \u043a\u0440\u0438\u043f\u0442\u043e\u043a\u0430\u0440\u0442\u0443 \u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u044e \u0435\u0435 \u043a WAN \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443:<\/p>\n<p>  <code>VG1(config)#<br \/>  crypto map CMAP 1 ipsec-isakmp<br \/>  match address LIST<br \/>  set transform-set TSET<br \/>  set peer 172.16.1.253<br \/>  interface fa0\/0<br \/>   crypto map CMAP<\/code><\/p>\n<p>  \u0414\u043b\u044f VG2 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u0430\u044f, \u043e\u0442\u043b\u0438\u0447\u0438\u044f:<\/p>\n<p>  <code>VG2(config)#<br \/>  crypto isakmp key KEY address 172.16.1.253<br \/>  ip access-list extended LIST<br \/>  permit gre host 172.16.1.254 host 172.16.1.253<br \/>  crypto map CMAP 1 ipsec-isakmp<br \/>  set peer 172.16.1.254<\/code><\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e:<\/p>\n<p>  <code>root@VG2:~# tcpdump -i eth0 -w \/home\/dump2.pcap<\/code><\/p>\n<p>  <code>root@VG1:~# ping 1.1.1.2 -c 4<br \/>  PING 1.1.1.2 (1.1.1.2) 56(84) bytes of data.<br \/>  64 bytes from 1.1.1.2: icmp_seq=1 ttl=64 time=1128 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=2 ttl=64 time=126 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=3 ttl=64 time=1.07 ms<br \/>  64 bytes from 1.1.1.2: icmp_seq=4 ttl=64 time=1.12 ms<\/p>\n<p>  --- 1.1.1.2 ping statistics ---<br \/>  4 packets transmitted, 4 received, 0% packet loss, time 3006ms<br \/>  rtt min\/avg\/max\/mdev = 1.077\/314.271\/1128.419\/472.826 ms, pipe 2<br \/>  <\/code><\/p>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 ISAKMP\/IPsec:<\/p>\n<p>  <code>root@VG1:~# sa_mgr show<br \/>  ISAKMP sessions: 0 initiated, 0 responded<\/p>\n<p>  ISAKMP connections:<br \/>  Num Conn-id (Local Addr,Port)-(Remote Addr,Port) State Sent Rcvd<br \/>  1 1 (172.16.1.253,500)-(172.16.1.254,500) active 1086 1014<\/p>\n<p>  IPsec connections:<br \/>  Num Conn-id (Local Addr,Port)-(Remote Addr,Port) Protocol Action Type Sent Rcvd<br \/>  1 1 (172.16.1.253,*)-(172.16.1.254,*) 47 ESP tunn 480 480<\/code><\/p>\n<p>  \u0412 \u0434\u0430\u043c\u043f\u0435 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 GRE \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0435\u0442:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bk\/3r\/jm\/bk3rjmsxipmxqifj7ocghplmovs.png\"><\/p>\n<p>  \u0412\u044b\u0432\u043e\u0434: \u0441\u0445\u0435\u043c\u0430 GRE-over-IPsec \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h3>\u0421\u0445\u0435\u043c\u0430 1.5: IPsec-over-GRE<\/h3>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c IPsec-over-GRE \u0432 \u0441\u0435\u0442\u0438 \u044f \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e. \u0421\u043e\u0431\u0438\u0440\u0430\u044e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0445\u043e\u0447\u0435\u0442\u0441\u044f. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/v9\/tl\/qt\/v9tlqthvlyl3ybyka4qaz8e9m3y.png\"><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0445\u0435\u043c\u0443 GRE-over-IPsec \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u043d\u0443\u0436\u043d\u043e:<\/p>\n<ul>\n<li>\u0418\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2013 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0438\u0437 LAN1 \u0432 LAN2 \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442;<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 GRE;<\/li>\n<li>\u041f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u043a\u0440\u0438\u043f\u0442\u043e\u043a\u0430\u0440\u0442\u0443 \u043d\u0430 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/li>\n<\/ul>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 Cisco-like \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0448\u043b\u044e\u0437\u0430 \u043d\u0435\u0442 GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u043d \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. <br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u044e GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 Cisco-like \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u044e \u0444\u0430\u0439\u043b \/etc\/ifaliases.cf:<\/p>\n<p>  <code>interface (name=&quot;FastEthernet0\/0&quot; pattern=&quot;eth0&quot;)<br \/>  interface (name=&quot;FastEthernet0\/1&quot; pattern=&quot;eth1&quot;)<br \/>  interface (name=&quot;FastEthernet0\/2&quot; pattern=&quot;eth2&quot;)<br \/>  interface (name=&quot;FastEthernet0\/3&quot; pattern=&quot;eth3&quot;)<br \/>  <b>interface (name=&quot;Tunnel0&quot; pattern=&quot;gre1&quot;)<\/b><br \/>  interface (name=&quot;default&quot; pattern=&quot;*&quot;)<\/code><br \/>  \u0433\u0434\u0435 gre1 \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, Tunnel0 \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432 Cisco-like \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e \u0445\u044d\u0448 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p>  <code>root@VG1:~# integr_mgr calc -f \/etc\/ifaliases.cf<\/p>\n<p>  SUCCESS: Operation was successful.<\/code><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Tunnel0 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432 Cisco-like \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<\/p>\n<p>  <code>VG1# show run<br \/>  interface Tunnel0<br \/>  ip address 1.1.1.1 255.255.255.252<br \/>  mtu 1400<\/code><\/p>\n<p>  \u041a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u044e \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<p>  <code>VG1(config)#<br \/>  ip access-list extended LIST<br \/>  permit ip 192.168.1.0 0.0.0.255 192.168.3.0 0.0.0.255<\/code><\/p>\n<p>  \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 GRE:<\/p>\n<p>  <code>VG1(config)#<br \/>  no ip route 0.0.0.0 0.0.0.0 172.16.1.254<br \/>  ip route 192.168.3.0 255.255.255.0 1.1.1.2<\/code><\/p>\n<p>  \u0421\u043d\u0438\u043c\u0430\u044e \u043a\u0440\u0438\u043f\u0442\u043e\u043a\u0430\u0440\u0442\u0443 \u0441 Fa0\/0 \u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u044e \u043a GRE \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443:<\/p>\n<p>  <code>VG1(config)#<br \/>  interface Tunnel0<br \/>  crypto map CMAP<\/code><\/p>\n<p>  \u0414\u043b\u044f VG2 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e.<\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u044e:<\/p>\n<p>  <code>root@VG2:~# tcpdump -i eth0 -w \/home\/dump3.pcap<\/code><\/p>\n<p>  <code>root@VG1:~# ping 192.168.2.254 -I 192.168.1.253 -c 4<br \/>  PING 192.168.2.254 (192.168.2.254) from 192.168.1.253 : 56(84) bytes of data.<br \/>  64 bytes from 192.168.2.254: icmp_seq=1 ttl=64 time=492 ms<br \/>  64 bytes from 192.168.2.254: icmp_seq=2 ttl=64 time=1.08 ms<br \/>  64 bytes from 192.168.2.254: icmp_seq=3 ttl=64 time=1.06 ms<br \/>  64 bytes from 192.168.2.254: icmp_seq=4 ttl=64 time=1.07 ms<\/p>\n<p>  --- 192.168.2.254 ping statistics ---<br \/>  4 packets transmitted, 4 received, 0% packet loss, time 3006ms<br \/>  rtt min\/avg\/max\/mdev = 1.064\/124.048\/492.972\/212.998 ms<\/code><\/p>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 ISAKMP\/IPsec:<\/p>\n<p>  <code>root@VG1:~# sa_mgr show<br \/>  ISAKMP sessions: 0 initiated, 0 responded<\/p>\n<p>  ISAKMP connections:<br \/>  Num Conn-id (Local Addr,Port)-(Remote Addr,Port) State Sent Rcvd<br \/>  1 2 (172.16.1.253,500)-(172.16.1.254,500) active 1094 1022<\/p>\n<p>  IPsec connections:<br \/>  Num Conn-id (Local Addr,Port)-(Remote Addr,Port) Protocol Action Type Sent Rcvd<br \/>  1 2 (192.168.1.0-192.168.1.255,*)-(192.168.2.0-192.168.2.255,*) * ESP tunn 352 352<\/code><\/p>\n<p>  \u0412 \u0434\u0430\u043c\u043f\u0435 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 ESP \u043f\u0430\u043a\u0435\u0442\u044b, \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432 GRE:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ga\/kj\/n5\/gakjn5z2-fyj6tzocqgbaxqxeny.png\"><\/p>\n<p>  \u0412\u044b\u0432\u043e\u0434: Psec-over-GRE \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e.<\/p>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<p>  \u041e\u0434\u043d\u043e\u0439 \u0447\u0430\u0448\u043a\u0438 \u043a\u043e\u0444\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e. \u041d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u043f\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u0438. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043b GRE-over-IPsec \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u043b \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442.<br \/>  \u041a\u0430\u0440\u0442\u0430 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 4.3 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f! \u0422\u0435\u0441\u0442\u0438\u0440\u0443\u044e \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>  <i>\u0410\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440<br \/>  t.me\/anonimous_engineer<\/i><\/div>\n<p> \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\/514190\/\"> https:\/\/habr.com\/ru\/post\/514190\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/514190\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ms\/se\/1m\/msse1mivdxud3wwwc9x_4wlddfg.png\"><\/p>\n<h3>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h3>\n<p>  \u042f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0421-\u0422\u0435\u0440\u0440\u0430 VPN \u0432\u0435\u0440\u0441\u0438\u0438 4.3 \u043d\u0430 \u0442\u0440\u0438 \u043c\u0435\u0441\u044f\u0446\u0430. \u0425\u043e\u0447\u0443 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0441\u0442\u0430\u043d\u0435\u0442 \u043b\u0438 \u043c\u043e\u044f \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u0430\u044f \u0436\u0438\u0437\u043d\u044c \u043b\u0435\u0433\u0447\u0435, \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e.<br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e, \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0438\u043a\u0430 \u0440\u0430\u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e\u0433\u043e \u043a\u043e\u0444\u0435 3 \u0432 1 \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u043c\u043e\u0432\u0435\u0440\u0441\u0438\u0438. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b GRE-over-IPsec \u0438 IPsec-over-GRE.  <\/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-308125","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308125","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=308125"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308125\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}