{"id":196798,"date":"2013-10-08T12:57:03","date_gmt":"2013-10-08T08:57:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=196798"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=196798","title":{"rendered":"<span class=\"post_title\">\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044f \u043e\u0431\u043b\u0430\u043a\u0430 \u2013 \u0441\u043e\u0437\u0434\u0430\u0435\u043c site-to-site \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 Amazon Web Services \u0438 Windows Azure<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1fc\/b53\/04a\/1fcb5304a9e82c603896105208df7879.png\" alt=\"image\"\/><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439 <a href=\"http:\/\/www.windowsazure.com\/ru-ru\/pricing\/free-trial\/\">Windows Azure<\/a> (Windows Azure Virtual Network, VNET) \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c Virtual Private Cloud (VPC) \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c \u0432 Amazon Web Services (AWS). \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0441\u0440\u0435\u0434\u044b \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u043e\u0432 \u0441 \u043f\u043e\u043b\u043d\u044b\u043c \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u043c\u0438\u0441\u044f \u0432 \u043d\u0438\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438, \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c\u0438. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 VPN, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2013 \u044d\u0442\u043e <a href=\"https:\/\/www.openswan.org\/projects\/openswan\">Open Swan<\/a>. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 VPC \u0432 Amazon AWS<\/h4>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430, \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 Amazon \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0447\u0430\u0441\u0442\u043d\u043e\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0431\u043b\u0430\u043a\u043e (virtual private cloud, VPC), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0432 Windows Azure.<\/p>\n<p>  <strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 VPC \u2013 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u0435\u0442\u044c \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0448\u043b\u044e\u0437\u043e\u043c<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vpc-wizard-rs\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c41\/462\/da1\/c41462da1a7f20682905172925bd8cad.png\"\/><\/p>\n<p>  \u042f \u0432\u044b\u0431\u0440\u0430\u043b \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e 10.0.0.0\/16 \u0434\u043b\u044f \u0441\u0435\u0442\u0438 Amazon VPC. <\/p>\n<p>  <img decoding=\"async\" alt=\"create-vpc-wizard-complete\" src=\"http:\/\/habr.habrastorage.org\/post_images\/5ae\/403\/fd2\/5ae403fd2fb612f1fa83f41ba5d22d41.png\"\/><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 EC2, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f Open Swan \u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b Amazon.<\/p>\n<p>  <strong>\u0417\u0430\u043f\u0443\u0441\u043a Ubuntu 13.04 \u0432 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 VPC<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"launch-ubuntu-instance-1\" src=\"http:\/\/habr.habrastorage.org\/post_images\/98d\/f0a\/c1a\/98df0ac1a277a66874d204c2fe761ca9.png\"\/><\/p>\n<p>  \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u0434\u0441\u0435\u0442\u044c \u0438 \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u0441 Micro \u0434\u043e Small.<\/p>\n<p>  <img decoding=\"async\" alt=\"launch-ubuntu-instance-2\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b81\/e0a\/da4\/b81e0ada492060aab7907c4b699f6a22.png\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u0441\u044c \u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 EC2 \u0438 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 Elastic IP. \u042d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0430\u0448 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP-\u0430\u0434\u0440\u0435\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 SSH \u0438 \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Windows Azure.<\/p>\n<p>  \u041d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>Yes Allocate<\/strong> \u0432 \u043e\u043a\u043d\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430.<\/p>\n<p>  <img decoding=\"async\" alt=\"allocate-elastic-ip\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2e7\/139\/72b\/2e713972b3c2eb152a5cd40830af82e5.png\"\/><\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0438\u0437 \u043d\u0438\u0441\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u043c\u0435\u043d\u044e \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>Yes Associate.<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"associate-elastic-ip-instance\" src=\"http:\/\/habr.habrastorage.org\/post_images\/bab\/238\/afa\/bab238afab727bf10aa424bf9501a262.png\"\/><\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0432 Windows Azure<\/h4>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Open Swan \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0441\u0435\u0442\u0438 \u0432 Windows Azure. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0443 Open Swan \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f IP-\u0430\u0434\u0440\u0435\u0441 \u0448\u043b\u044e\u0437\u0430 \u0438 \u043a\u043b\u044e\u0447 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0432 Windows Azure.<\/p>\n<p>  <strong>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c \u0432 Windows Azure<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vnet\" src=\"http:\/\/habr.habrastorage.org\/post_images\/004\/0d9\/b93\/0040d9b93a3be20da497389924ebb9ea.png\"\/><\/p>\n<p>  <strong>\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b Data Center Location \u0438 VNET\/Affinity Group Name<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vnet-1\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3ef\/330\/2f4\/3ef3302f466e4f499124297883c596b8.png\"\/><\/p>\n<p>  <strong>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 site-to-site VPN<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vnet-2\" src=\"http:\/\/habr.habrastorage.org\/post_images\/d4b\/298\/6b2\/d4b2986b22ed902ed5f363808c51cba7.png\"\/><\/p>\n<p>  <strong>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 Amazon VPC Address Space \u0438 Elastic IP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Open Swan Server<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vnet-3\" src=\"http:\/\/habr.habrastorage.org\/post_images\/05b\/34d\/542\/05b34d5420bc5ae18b3e735b1c0b283e.png\"\/><\/p>\n<p>  <strong>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e Windows Azure Address Space. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043f\u043e\u0434\u0441\u0435\u0442\u044c \u0448\u043b\u044e\u0437\u0430 (Gateway Subnet).<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"create-vnet-4\" src=\"http:\/\/habr.habrastorage.org\/post_images\/7eb\/560\/bbc\/7eb560bbc7e940c97909c25873ce4ba7.png\"\/><\/p>\n<p>  <strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0448\u043b\u044e\u0437\u0430 Windows Azure Virtual Network Gateway<\/strong><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0435\u0435 \u0438 \u0449\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u201ccreate gateway\u201d \u2013&gt; \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u201cstatic routing\u201d. <\/p>\n<p>  <img decoding=\"async\" alt=\"azure-create-gateway\" src=\"http:\/\/habr.habrastorage.org\/post_images\/108\/10c\/60a\/10810c60a3a81c53959f44290280d444.png\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0448\u043b\u044e\u0437\u0430 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c IP-\u0430\u0434\u0440\u0435\u0441 \u0438 \u043a\u043b\u044e\u0447 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c Open Swan \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 Amazon.<\/p>\n<p>  <img decoding=\"async\" alt=\"azure-gateway-created\" src=\"http:\/\/habr.habrastorage.org\/post_images\/99e\/e51\/1a4\/99ee511a433cf767e97c9e6dc97c9605.png\"\/><\/p>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Open Swan \u0432 Amazon Web Services<\/h4>\n<p>  <strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Open Swan VM<\/strong><\/p>\n<p>  \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0448 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440, \u0432 \u043c\u0435\u043d\u044e Actions \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Connect.<\/p>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 <strong>Connect with a standalone SSH client<\/strong>. <\/p>\n<p>  <img decoding=\"async\" alt=\"connect-to-instance\" src=\"http:\/\/habr.habrastorage.org\/post_images\/170\/720\/111\/170720111afd06cf6c14032d2334b3c9.png\"\/><\/p>\n<p>  \u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043b\u044f SSH (\u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 PuTTY) \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 SSH. <\/p>\n<p>  <img decoding=\"async\" alt=\"connect-via-ssh\" src=\"http:\/\/habr.habrastorage.org\/post_images\/a8e\/374\/71e\/a8e37471e1e9ad6801a8b0f0db2a9b5c.png\"\/><\/p>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 Open Swan for the VPN \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 Amazon. <\/p>\n<p>  <strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Open Swan<\/strong><\/p>\n<pre>  sudo apt-get install openswan<\/pre>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 <strong>NO <\/strong>\u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043d\u0430 \u0431\u0430\u0437\u0435 \u043a\u043b\u044e\u0447\u0430. <\/p>\n<p>  <img decoding=\"async\" alt=\"open-swan-install-1\" src=\"http:\/\/habr.habrastorage.org\/post_images\/550\/513\/0cc\/5505130cc5555518524aa11a3eda6636.png\"\/><\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0430\u0433\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u0442 \u0432\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. <\/p>\n<p>  <strong>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b ipsec.conf<\/strong><\/p>\n<pre>   cd \/etc    sudo vi ipsec.conf<\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: *i <\/p>\n<p>  \u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438:<\/p>\n<pre>config setup       protostack=netkey       nat_traversal=yes       virtual_private=%v4:10.0.0.0\/16       oe=off&#160;&#160; include \/etc\/ipsec.d\/*.conf<\/pre>\n<p>  \u0412\u044b\u0439\u0434\u0438\u0442\u0435 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:: x <\/p>\n<p>  \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e ipsec.d \u0438 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b amznazure.conf. <\/p>\n<pre>  cd ipsec.d   sudo vi amznazure.conf<\/pre>\n<p>  <strong>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 amznazure.conf<\/strong><\/p>\n<pre>conn amznazure    authby=secret    auto=start    type=tunnel    left=10.0.0.28    leftsubnet=10.0.0.0\/16    leftnexthop=%defaultroute    right=[WINDOWS AZURE GATEWAY IP]    rightsubnet=172.16.0.0\/16    ike=aes128-sha1-modp1024    esp=aes128-sha1    pfs=no<\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043a \u044d\u0442\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c: <\/p>\n<ul>\n<li>left= \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 IP-address \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Open Swan Server <\/li>\n<li>leftsubnet= \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432 VPC <\/li>\n<li>right= IP-\u0430\u0434\u0440\u0435\u0441 \u0448\u043b\u044e\u0437\u0430 Windows Azure VNET Gateway <strong>(\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u043d\u0430 \u0432\u0430\u0448)<\/strong><\/li>\n<li>rightsubnet= \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e Windows Azure Virtual Network<\/li>\n<\/ul>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043b\u044e\u0447 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438. <\/p>\n<pre>  cd \/etc     sudo vi ipec.secrets<\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u0442\u043e\u0447\u043a\u0443 \u043a \u0444\u0430\u0439\u043b\u0443 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (\u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0439\u0442\u0435 []):<\/p>\n<pre>10.0.0.28 [WINDOWS AZURE GATEWAY IP] : PSK &quot;[WINDOWS AZURE GATEWAY KEY]&quot;<\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 IP forwarding \u0432 Open Swan VM: <\/p>\n<pre>sudo vi \/etc\/sysctl.conf<\/pre>\n<p>  \u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n<pre>net.ipv4.ip_forward=1<\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre>sudo sysctl -p \/etc\/sysctl.conf<\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435, \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 source \/ destination checking \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 Open Swan. <\/p>\n<p>  <img decoding=\"async\" alt=\"change-source-dest-check\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ef5\/6cf\/679\/ef56cf6799f57d5126c739976b805f1c.png\"\/><\/p>\n<p>  <img decoding=\"async\" alt=\"disable-source-dest-check\" src=\"http:\/\/habr.habrastorage.org\/post_images\/968\/823\/786\/9688237863dc5d2dbd77f3e78aac1d6b.png\"\/><\/p>\n<p>  <strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u044b Security Groups \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0442\u0440\u0430\u0444\u0444\u0438\u043a\u0430 \u0438\u0437 Windows Azure<\/strong><\/p>\n<p>  \u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Amazon \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 Security Groups \u0438 -&gt; amzn-azure-group. <\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0434\u0432\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 UDP inbound rules \u2013 \u043e\u0434\u043d\u043e \u0434\u043b\u044f 500 \u0438 \u043e\u0434\u043d\u043e \u0434\u043b\u044f 4500 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Windows Azure GW IP \u0441 \/32 CIDR. <\/p>\n<p>  <img decoding=\"async\" alt=\"amzn-security-group\" src=\"http:\/\/habr.habrastorage.org\/post_images\/dcf\/bc7\/f5a\/dcfbc7f5ab1423a91dd6e536726e522a.png\"\/><\/p>\n<pre> sudo service ipsec restart<\/pre>\n<p>  <strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Windows Azure \u043a Amazon AWS Virtual Private Cloud<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"amzn-azvnet-connected\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1fc\/b53\/04a\/1fcb5304a9e82c603896105208df7879.png\"\/><\/p>\n<p>  <strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438<\/strong><\/p>\n<p>  \u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f VPN \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 Amazon AWS \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0441\u0442\u0435\u043a AWS \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a Windows Azure \u044d\u0442\u043e\u0433\u043e (\u043f\u043e\u043a\u0430) \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442.<\/p>\n<p>  \u0412 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Amazon \u0432\u0435\u0440\u043d\u0438\u0442\u0435\u0441\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e VPC \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432. \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441 \u0432\u0430\u0448\u0438\u043c VPC \u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043a 172.16.0.0\/16 (Windows Azure Network) \u0438 \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0430\u0444\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 ID \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Open Swan.<\/p>\n<p>  <strong>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0445<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"update-route-table\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b96\/37c\/219\/b9637c2195969e03b9baf29a11350af2.png\"\/><\/p>\n<p>  <strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u044f\u0437\u0438 <\/strong><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 AWS \u0432 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 VPC. <\/p>\n<p>  <img decoding=\"async\" alt=\"launch-into-subnet\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2c8\/5d9\/f92\/2c85d9f920c94410eac07c6f685dd97b.png\"\/><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0432 Windows Azure \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u043d\u0435\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.<\/p>\n<p>  <img decoding=\"async\" alt=\"launch-into-vnet\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c44\/dc1\/b6a\/c44dc1b6a798272917071a6d63093aee.png\"\/><\/p>\n<p>  \u0412 \u043a\u0430\u0436\u0434\u044b\u0445 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430\u0445 \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c ICMP-\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 VM, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u044f\u0437\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PING.<\/p>\n<p>  <strong>\u041f\u0438\u043d\u0433\u0443\u0435\u043c Azure VM \u0438\u0437 Amazon VM \u0447\u0435\u0440\u0435\u0437 IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044c<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"ping-from-amzn\" src=\"http:\/\/habr.habrastorage.org\/post_images\/618\/982\/e32\/618982e323ef07db2abf5165edcc61ab.png\"\/><\/p>\n<p>  <strong>\u041f\u0438\u043d\u0433\u0443\u0435\u043c Amazon VM \u0438\u0437 Azure VM \u0447\u0435\u0440\u0435\u0437 IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044c<\/strong><\/p>\n<p>  <img decoding=\"async\" alt=\"ping-from-azure\" src=\"http:\/\/habr.habrastorage.org\/post_images\/aaf\/5fa\/425\/aaf5fa42572437b55094c36778c58d48.png\"\/><\/p>\n<h4>\u042d\u0442\u043e \u0432\u0441\u0435!<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 Amazon AWS \u0438 Windows Azure \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442.   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/company\/microsoft\/blog\/196798\/\"> http:\/\/habrahabr.ru\/company\/microsoft\/blog\/196798\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1fc\/b53\/04a\/1fcb5304a9e82c603896105208df7879.png\" alt=\"image\"\/><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439 <a href=\"http:\/\/www.windowsazure.com\/ru-ru\/pricing\/free-trial\/\">Windows Azure<\/a> (Windows Azure Virtual Network, VNET) \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043b\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c Virtual Private Cloud (VPC) \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c \u0432 Amazon Web Services (AWS). \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0441\u0440\u0435\u0434\u044b \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u043e\u0432 \u0441 \u043f\u043e\u043b\u043d\u044b\u043c \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u043c\u0438\u0441\u044f \u0432 \u043d\u0438\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438, \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c\u0438. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 VPN, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2013 \u044d\u0442\u043e <a href=\"https:\/\/www.openswan.org\/projects\/openswan\">Open Swan<\/a>.   <\/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-196798","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196798","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=196798"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196798\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}