{"id":320260,"date":"2021-03-25T15:02:30","date_gmt":"2021-03-25T15:02:30","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=320260"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=320260","title":{"rendered":"\u041d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435: \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044f VPN, \u0438\u043b\u0438 \u041d\u0430\u0434\u0435\u0436\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u043d\u0430 \u043d\u0435\u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0443: \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c \u0438 \u043f\u043e\u043a\u0440\u044b\u0442\u044c \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u043c Wi-Fi \u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u044c\u044e 300 \u043c<sup>2<\/sup> \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439 \u0440\u0430\u0441\u0447\u0435\u0442\u043d\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0434\u043e 100 \u0447\u0435\u043b\u043e\u0432\u0435\u043a. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, &#171;\u0432\u0440\u043e\u0434\u0435 \u0438\u0437\u044f\u043d&#187;. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u0434\u0435\u0442\u0430\u043b\u0435\u0439, \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u0432 \u043b\u0435\u0441\u043e\u043f\u0430\u0440\u043a\u043e\u0432\u043e\u0439 \u0437\u043e\u043d\u0435, \u0433\u0434\u0435 \u043d\u0435\u0442 \u043e\u043f\u0442\u0438\u043a\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2013 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c; <\/p>\n<\/li>\n<li>\n<p>\u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u0438\u0434\u0435\u043e\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u0440\u0438 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c GSM-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0435;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0431\u044e\u0434\u0436\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d. <\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u043e\u0433\u043e: \u043f\u043e\u0442\u0435\u0440\u0438 \u0438 \u043e\u0442\u0432\u0430\u043b\u044b \u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u0440\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u0435 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.&nbsp; <\/p>\n<p>\u0422\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u044f \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0443 \u043a\u043e\u043b\u043b-\u0446\u0435\u043d\u0442\u0440\u043e\u0432 \u0431\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0441\u0432\u044f\u0437\u0438, \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0436\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0441\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043e\u0432, \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 VoIP \u0438 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u043c \u0432\u0438\u0434\u0435\u043e, \u043d\u043e \u0438 \u0441 \u043b\u044e\u0431\u044b\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043d\u0430 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a \u043f\u043e\u0442\u0435\u0440\u044f\u043c \u0442\u0440\u0430\u0444\u0438\u043a\u0430. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u0432\u0435\u0441\u0442\u0438 \u043e\u043f\u0442\u0438\u043a\u0443 \u0438 \u0437\u0430\u043a\u0443\u043f\u0438\u0442\u044c \u0434\u043e\u0440\u043e\u0433\u043e\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435.&nbsp; <\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u044d\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 &#171;\u0434\u0435\u0448\u0435\u0432\u043e \u0438 \u0441\u0435\u0440\u0434\u0438\u0442\u043e&#187; \u2013 \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043c\u0430\u043b\u043e\u043c\u0443 \u0431\u0438\u0437\u043d\u0435\u0441\u0443. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0435 \u0441\u043a\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u0430 \u2013 \u0434\u043b\u044f \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u043e\u0432.    <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b3b\/7f1\/94b\/b3b7f194b67f50427ce9277f08c0f324.jpg\" width=\"1420\" height=\"1096\"><figcaption><\/figcaption><\/figure>\n<h2>\u0421\u0445\u0435\u043c\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u043a\u0440\u0430\u0442\u0446\u0435<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u0442\u0432\u0430\u043b\u043e\u0432 \u044f \u043d\u0430\u0447\u0430\u043b \u0441 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0447\u0430\u0441\u0442\u043e\u0442 \u0438 \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442. \u0421\u043c\u0435\u043d\u0430 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 LTE-\u043c\u043e\u0434\u0435\u043c\u0430 \u0441 Cat4 \u043d\u0430 Cat6 \u0438\u043b\u0438 \u2013 \u0435\u0449\u0435 \u043a\u0440\u0443\u0447\u0435 \u2013 Cat12 \u0434\u0430\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438, \u043d\u043e \u0432 \u043f\u043e\u0442\u0435\u0440\u044f\u0445 \u0438 \u043e\u0442\u0432\u0430\u043b\u0430\u0445 \u2013 \u043d\u0435\u0442. \u041f\u0440\u0438\u0448\u0435\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u043d\u0443\u0436\u0435\u043d \u0432\u0442\u043e\u0440\u043e\u0439 LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u043d\u0438 \u043e\u0434\u0438\u043d \u043a\u0430\u0434\u0440 \u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u0432\u0430\u043b\u0438\u0442\u044c\u0441\u044f.&nbsp; <\/p>\n<p>\u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0448\u043b\u0430 \u0442\u0430\u043a\u0430\u044f \u0441\u0432\u044f\u0437\u043a\u0430: \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044f, \u043e\u043d\u0430 \u0436\u0435 bonding, \u0438 TCP-OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u043e\u0432\u0435\u0440\u0445 \u044d\u0442\u043e\u0433\u043e.&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0432 \u043e\u0431\u043b\u0430\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u043b &#171;\u0441\u0435\u0440\u0432\u0435\u0440 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438&#187; \u2013 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0443 \u0441 CLOUD HOSTED ROUTER (CHR) \u043d\u0430 \u0431\u0430\u0437\u0435 Router OS; <\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 \u043d\u0435\u0439 \u043f\u043e\u0434\u043d\u044f\u043b L2TP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c IPsec;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u043f\u043e\u0432\u0435\u0440\u0445 L2TP over IPsec \u0441\u043e\u0437\u0434\u0430\u043b \u0434\u0432\u0430 EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f;&nbsp; <\/p>\n<\/li>\n<li>\n<p>EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u044b bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0432\u0438\u0448\u0435\u043d\u043a\u0430 \u043d\u0430 \u0442\u043e\u0440\u0442\u0435 \u2013 TCP-\u0448\u043d\u044b\u0439 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c.&nbsp; <\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9ad\/bb9\/af6\/9adbb9af6dfa69659c0c03640d45b4c3.png\" width=\"1986\" height=\"682\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 R1 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043b\u044e\u0431\u0430\u044f \u0436\u0435\u043b\u0435\u0437\u043a\u0430 \u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u043e\u0442 \u0436\u0435 MikroTik \u0441\u0435\u0440\u0438\u0438 CCR, \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0433\u0434\u0435 \u0443\u0433\u043e\u0434\u043d\u043e. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u2013 \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445 \u0441\u0432\u044f\u0437\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (VRRP \u0432 \u043f\u043e\u043c\u043e\u0449\u044c).&nbsp; <\/p>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 OpenVPN UDP \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 7-\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 RouterOS, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0431\u0435\u0437\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b TCP. <\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0445\u0435\u043c\u0430 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043d\u0435\u0442 \u043f\u0440\u0435\u0434\u0435\u043b\u0430 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443. \u0414\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0435 LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b \u0441\u0432\u044f\u0437\u0438, \u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f.&nbsp; <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u0441\u0445\u0435\u043c\u044b. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 R1 (\u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430) \u0438 \u2013 \u0434\u0430\u043b\u0435\u0435 \u2013 R2 (\u0444\u0438\u043b\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e).<\/p>\n<h2>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 R1<\/h2>\n<ol>\n<li>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0435\u0440\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u0435\u043b\u044b\u0439 IP \u0432 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435. \u0423 \u043c\u0435\u043d\u044f CHR \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0441\u044f \u0437\u0430 Edge \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 VMware, \u0442\u0430\u043a \u0447\u0442\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442\u044b \u043d\u0430 Edge UDP 1701, 500 \u0438 4500 NAT-T \u2013 IPSec Network Address Translator Traversal. \u0422\u0430\u043a\u0436\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0432 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 Edge.&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 firewall filter \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443 \u0438\u0437\u0432\u043d\u0435 \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u043e\u0432 UDP 1701, 500 \u0438 4500. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0435\u043b\u044b\u0435 IP \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 Edge, \u0433\u0430\u043b\u043e\u0447\u043a\u0443 NAT Traversal \u041d\u0423\u0416\u041d\u041e \u0421\u041d\u042f\u0422\u042c! <\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 IPsec-\u043f\u0440\u043e\u0444\u0438\u043b\u044c:  <\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/528\/ca0\/24f\/528ca024f42c5485b564d76622fb5b02.png\" width=\"516\" height=\"661\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip ipsec profile  set [ find default=yes ] dh-group=modp1024 enc-algorithm=3de<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0434\u043b\u044f L2TP-\u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c1a\/1b8\/0f8\/c1a1b80f8545c7613162515e2b06bcfe.png\" width=\"1083\" height=\"600\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile01 use-compression=no use-encryption=no use-mpls=no use<\/code><\/pre>\n<p>\u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f9b\/ed8\/5e9\/f9bed85e9ef1b0dc206218c279ffc655.png\" width=\"1093\" height=\"467\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp secret add local-address=172.16.0.1 name=l2tp_R1-R2_ISP1 password=ros7.elements.forever profile=profile01 remote-address=172.16.0.2 service=l2tp add local-address=172.16.0.5 name=l2tp_R1-R2_ISP2 password=ros7.elements.forever profile=profile01 remote-address=172.16.0.6 service=l2tp<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c L2TP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 IPsec:   <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c59\/09e\/249\/c5909e2494fc1ceab298ea985046fa51.png\" width=\"638\" height=\"606\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface l2tp-server server  set authentication=mschap2 caller-id-type=number default-profile=profile01 enabled=yes ipsec-secret=\u0412\u0410\u0428 \u041a\u0420\u0423\u0422\u041e\u0419 \u041f\u0410\u0420\u041e\u041b\u042c use-ipsec=yes<\/code><\/pre>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c \u0434\u0432\u0430 EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043f\u043e\u0432\u0435\u0440\u0445 L2TP\/IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439:   <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3fe\/240\/78a\/3fe24078a251852f414ebdd22e7b590f.png\" width=\"1258\" height=\"704\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface eoip add keepalive=1s,5 local-address=172.16.0.1 mac-address=00:00:00:00:00:A1 name=eoip-tun1_over_l2tp_R1-R2_ISP1 remote-address=172.16.0.2 tunnel-id=1 add keepalive=1s,5 local-address=172.16.0.5 mac-address=00:00:00:00:00:B1 name=eoip-tun2_over_l2tp_R1-R2_ISP2 remote-address=172.16.0.6 tunnel-id=2<\/code><\/pre>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 keepalive timeout \u0440\u0430\u0432\u043d\u044b\u043c 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0435 \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 ID.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c bonding \u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u043d\u0430 \u043d\u0435\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/008\/66f\/9f0\/00866f9f00952c60a31261d5fc2185bd.png\" width=\"1320\" height=\"603\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface bonding add lacp-rate=1sec mii-interval=1ms mode=broadcast name=bonding1 slaves=eoip-tun1_over_l2tp_R1-R2_ISP1,eoip-tun2_over_l2tp_R1-R2_ISP2<\/code><\/pre>\n<pre><code>\/ip address  add address=172.16.1.1\/30 interface=bonding1<\/code><\/pre>\n<p>\u0422\u0443\u0442 \u0432\u0430\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u043b\u0435 mode (\u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430) \u044f \u0443\u043a\u0430\u0437\u0430\u043b broadcast, \u0447\u0442\u043e\u0431\u044b \u043f\u0430\u043a\u0435\u0442\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u0441\u0440\u0430\u0437\u0443 \u043f\u043e \u0434\u0432\u0443\u043c \u0442\u043e\u043d\u043d\u0435\u043b\u044f\u043c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0442\u0435\u0440\u044f \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0438\u0437 \u0434\u0432\u0443\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u043f\u043e\u0442\u0435\u0440\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430 bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c, \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c OpenVPN-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f OpenVPN \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0435\u0449\u0435 \u0438 \u0434\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439, \u0442\u043e \u044f \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0445 \u0432 CHR. \u041d\u0430 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043d\u0435 \u0431\u0443\u0434\u0443.&nbsp; \u0421\u043e\u0437\u0434\u0430\u0435\u043c \/ppp profile \u0438 \/ppp secret \u0434\u043b\u044f OpenVPN:&nbsp; <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/42b\/071\/300\/42b071300ff4c5c76f0b04711fd42571.png\" width=\"1661\" height=\"423\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fb3\/b1a\/c7e\/fb3b1ac7ed96dd3e6ec74e459f6002a0.png\" width=\"1101\" height=\"594\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile02 use-compression=no use-encryption=no use-mpls=no use \/ppp secret  add local-address=172.16.2.1 name=ovpn_over_bonding1 password=ros7.elements.forever profile=profile02 remote-address=172.16.2.2 service=ovpn \/interface ovpn-server server set auth=sha1 certificate=server.crt_0 cipher=aes256 default-profile=profile02 enabled=yes keepalive-timeout=30 port=1194 require-client-certificate=yes<\/code><\/pre>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 nat-\u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u0441\u0435\u0440\u043e\u0439 \u0444\u0438\u043b\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0437\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c R2, \u0447\u0442\u043e\u0431\u044b \u0442\u0440\u0430\u0444\u0438\u043a \u0432\u044b\u0445\u043e\u0434\u0438\u043b \u043d\u0430\u0440\u0443\u0436\u0443 \u0447\u0435\u0440\u0435\u0437 R1:&nbsp;&nbsp;<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8b0\/33b\/7c0\/8b033b7c0805f915ac47a088e10c1403.png\" width=\"1438\" height=\"743\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN src-address=192.168.1.0\/24<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043e \u0441\u0435\u0440\u043e\u0439 \u0441\u0435\u0442\u0438 \u0437\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c R2 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/41a\/ab0\/0fc\/41aab00fcd4f2af28c013394c73e2660.png\" width=\"1027\" height=\"502\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip route add check-gateway=ping distance=1 dst-address=192.168.1.0\/24 gateway=172.16.2.2<\/code><\/pre>\n<h2>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 R2<\/h2>\n<ol>\n<li>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 LTE-\u043c\u043e\u0434\u0435\u043c\u0430 \u0434\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0435\u043b\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430. \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 output \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<pre><code>\/ip route add distance=1 dst-address= 198.51.100.10\/32 gateway=lte1 add distance=1 dst-address= 198.51.100.20\/32 gateway=lte2 \/ip firewall filter add action=drop chain=output dst-address= 198.51.100.10 out-interface=lte2 add action=drop chain=output dst-address= 198.51.100.20 out-interface=lte1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441 R1 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 \/ip ipsec profile:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/60c\/897\/f5c\/60c897f5cac4295193617f413d987798.png\" width=\"516\" height=\"661\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip ipsec profile  set [ find default=yes ] dh-group=modp1024 enc-algorithm=3de<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \/ppp profile:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b94\/ec8\/5c6\/b94ec85c63f3d7bdb9f0731cbc4f3067.png\" width=\"1082\" height=\"599\"><figcaption><\/figcaption><\/figure>\n<p>\u0438 \u0434\u0432\u0430 L2TP\/IPsec-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/658\/4dd\/da0\/6584ddda0ff3b9f6ca4c3c9a4d58bded.png\" width=\"1531\" height=\"742\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile01 use-compression=no use-encryption=no use-mpls=no use \/interface l2tp-client add allow=mschap2 connect-to= 198.51.100.10 disabled=no ipsec-secret= ros7.elements.forever keepalive-timeout=30 name=l2tp_to_R1_over_ISP1 password=ros7.elements.forever     profile=profile01 use-ipsec=yes user=l2tp_R1-R2_ISP1 add allow=mschap2 connect-to= 198.51.100.20 disabled=no ipsec-secret= ros7.elements.forever keepalive-timeout=30 name=l2tp_to_R1_over_ISP2 password=ros7.elements.forever     profile=profile01 use-ipsec=yes user=l2tp_R1-R2_ISP2<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 R1, \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u043c\u0435\u0441\u0442\u0430\u043c\u0438 local \u0438 remote IP L2TP\/IPsec-\u043b\u0438\u043d\u043a\u043e\u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 R2. Bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u0430\u043a \u043d\u0430 R1:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ef0\/46b\/2fa\/ef046b2fa800fd71515f5f41b75c9e71.png\" width=\"1259\" height=\"704\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface eoip add keepalive=1s,5 local-address=172.16.0.2 mac-address=00:00:00:00:00:A2 name=eoip-tun1_over_l2tp_R1-R2_ISP1 remote-address=172.16.0.1 tunnel-id=1 add keepalive=1s,5 local-address=172.16.0.6 mac-address=00:00:00:00:00:B2 name=eoip-tun2_over_l2tp_R1-R2_ISP2 remote-address=172.16.0.5 tunnel-id=2 \/interface bonding add lacp-rate=1sec mii-interval=1ms mode=broadcast name=bonding1 slaves=eoip-tun1_over_l2tp_R1-R2_ISP1,eoip-tun2_over_l2tp_R1-R2_ISP2 \/ip address  add address=172.16.1.2\/30 interface=bonding1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c:   <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e0\/33e\/d72\/1e033ed7207529a92aaca9a1bff6321f.png\" width=\"1666\" height=\"423\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a2a\/857\/fdf\/a2a857fdf9ab490f3870e5867ef5bfeb.png\" width=\"1078\" height=\"681\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c OpenVPN-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0430 R2:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/038\/29d\/fa0\/03829dfa04a85ce922db10efdd539e82.png\" width=\"563\" height=\"619\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile02 use-compression=no use-encryption=no use-ipv6=no use-mpls=no use-upnp=no \/interface ovpn-client add certificate=client.crt_0 cipher=aes256 connect-to=172.16.1.1 mac-address=00:00:00:00:00:C2 name=ovpn_over_bonding1 password=\u0412\u0410\u0428 \u041a\u0420\u0423\u0422\u041e\u0419 \u041f\u0410\u0420\u041e\u041b\u042c profile=profile02 use-peer-dns=no user=\"ovpn_over_bonding1 \" verify-server-certificate=yes<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0422\u0443\u043d\u043d\u0435\u043b\u0438 \u0437\u0430\u0433\u043e\u0440\u0435\u043b\u0438\u0441\u044c \u0432\u043e\u043b\u0448\u0435\u0431\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 R, \u0430 EoIP \u2013 \u0435\u0449\u0435 \u0438 RS. OpenVPN \u0442\u043e\u0436\u0435 \u0437\u0430\u0432\u0435\u043b\u0441\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u0432 \u043d\u0430\u0448 \u0441\u043b\u043e\u0435\u043d\u044b\u0439 \u0431\u0443\u0442\u0435\u0440\u0431\u0440\u043e\u0434 \u2013 \u0432 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \/ip firewall mangle \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u043d\u043e\u0432\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/260\/5b8\/8c3\/2605b88c3a1d22c7be5a11c2a66756f7.png\" width=\"1554\" height=\"673\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=google_sites dst-port=1935 new-routing-mark=pc_to_stream-youtube_over_R1 passthrough=yes protocol=tcp src-address=192.168.1.1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0448 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/efb\/46f\/fe8\/efb46ffe8eb1cf5d3abbb8c5cc3928c1.png\" width=\"1002\" height=\"500\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip route add check-gateway=ping distance=1 gateway=172.16.2.1 routing-mark=pc_to_stream-youtube_over_R1<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\u0418 \u0433\u043e\u0442\u043e\u0432\u043e!<\/p>\n<h2>\u0422\u0440\u0430\u0431\u043b\u0448\u0443\u0442\u0438\u043d\u0433 <\/h2>\n<ul>\n<li>\n<p>\u041f\u0440\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0436\u0435\u043b\u0435\u0437\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u0441 \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439 L2TP \u043d\u0430 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0415\u0441\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u044f\u043c\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 L2TP \u0432\u043c\u0435\u0441\u0442\u043e OpenVPN, \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438 \u043f\u0430\u043a\u0435\u0442\u044b \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u0442\u0435\u0440\u044f\u0442\u044c\u0441\u044f.&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0423\u0442\u0438\u043b\u0438\u0442\u044b RouterOS \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \/tools \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u043f\u0440\u0438 \u0442\u0440\u0430\u0431\u043b\u0448\u0443\u0442\u0438\u043d\u0433\u0435. \u0415\u0449\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0432\u044f\u0437\u043a\u0430 \/tools Packet Sniffer + Wireshark. <\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 &#171;\u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 mtu&#187;, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u043b\u0443\u0447\u0448\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439. <\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b. RSRP, RSRQ \u0438 SINR \u043f\u043e\u043a\u0430\u0436\u0443\u0442, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e. \u041f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0438 \u043f\u043b\u043e\u0445\u043e\u043c \u0441\u0438\u0433\u043d\u0430\u043b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0442\u0435\u043d\u043d\u044b. <\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u0436\u043d\u043e! \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442 \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u0438\u0434\u0435\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 L2TP, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u044b \u0434\u043b\u044f EoIP, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: OpenVPN \u0438\u043b\u0438 SSTP. <\/p>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0441\u0435 \u0432 \u0434\u0435\u043b\u0435, \u043c\u043e\u0436\u043d\u043e \u0441\u044b\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0431\u043e\u0439. \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 LTE-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u0442\u0435\u0440\u0438 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e: \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u044d\u043a\u0440\u0430\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0439 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u043b\u0435 random.  <\/p>\n<\/li>\n<\/ul>\n<h2>\u0427\u0442\u043e \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/h2>\n<ul>\n<li>\n<p>\u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0442\u0440\u0430\u0444\u0438\u043a, \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0437\u043e\u0432\u0435\u0442 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u043d\u044b\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b (\u0443\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432, \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0438 \u0434\u0440.). \u041b\u0443\u0447\u0448\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u0434\u043b\u044f \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0442\u0440\u0430\u0444\u0438\u043a\u0430, \u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u044f \u0442\u0430\u043a \u0434\u0435\u043b\u0430\u043b \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 \u0434\u0438\u0441\u043a. <\/p>\n<\/li>\n<li>\n<p>QOS \u2013 \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0448\u0442\u0443\u043a\u0430, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0430\u0445 LTE, \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0441 VoIP. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u044d\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u043d\u0435 \u0437\u0430\u0431\u0438\u043b \u0438 \u0442\u0430\u043a \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u043a\u0430\u043d\u0430\u043b. <\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u0437\u0432\u043d\u0435 \u043a \u043f\u043e\u0440\u0442\u0430\u043c \u0434\u043b\u044f L2TP \u0438 IPsec \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 R1. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0431\u0435\u043b\u044b\u0439 IP LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430&nbsp; \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e firewall \u0438 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0445 \u043b\u0438\u0441\u0442\u043e\u0432. \u0425\u043e\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0438 \u0438\u0437 NAT \u0438 \u043d\u0430 \u043d\u0435\u043c \u0432\u0438\u0441\u0438\u0442 \u043d\u0435 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u0435\u043d\u0442, \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043b\u0443\u0447\u0448\u0435. \u0422\u0430\u043a \u043a\u0430\u043a IP \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u0430 MikroTik \u0444\u0443\u043d\u043a\u0446\u0438\u044e ip \u2013 cloud, \u0447\u0442\u043e\u0431\u044b DNS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0437\u043d\u0430\u043b\u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 IP, \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f DDNS. <\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0443 \u0441\u0445\u0435\u043c\u044b \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: peplink MAX HD4 LTE \u0438 \u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u2013 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f. \u0422\u0443\u0442 \u0431\u0438\u0437\u043d\u0435\u0441 \u0441\u0430\u043c \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0441\u0435\u0431\u044f.&nbsp;<\/p>\n<p>\u041e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0442\u0435\u043c\u044b: <\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/www.lanmart.ru\/blogs\/Balansirovka-neskolkih-kanalov-po-sredstvam-O-VPN-i-Bonding-v-ROS\/\">\u0411\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u043f\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c O-VPN \u0438 Bonding \u0432 ROS<\/a> <\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/mikrotik-training.ru\/webinar\/nadezhnaya-rabota-asterisk-po-kanalam-3g-4g-lte-delaem-raid-massiv-iz-dvuh-kanalov\/\">\u041d\u0430\u0434\u0435\u0436\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 Asterisk \u043f\u043e \u043a\u0430\u043d\u0430\u043b\u0430\u043c 3G\/4G\/LTE. \u0414\u0435\u043b\u0430\u0435\u043c \u00abRAID-\u043c\u0430\u0441\u0441\u0438\u0432\u00bb \u0438\u0437 \u0434\u0432\u0443\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0442\u0435\u043c, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u044d\u0442\u0430 \u0442\u0435\u043c\u0430, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u043a\u043e\u043f\u0430\u0442\u044c \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 MPTCP (Multipath TCP). <\/p>\n<\/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\/company\/dataline\/blog\/548932\/\"> https:\/\/habr.com\/ru\/company\/dataline\/blog\/548932\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0443: \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c \u0438 \u043f\u043e\u043a\u0440\u044b\u0442\u044c \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u044b\u043c Wi-Fi \u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u044c\u044e 300 \u043c<sup>2<\/sup> \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439 \u0440\u0430\u0441\u0447\u0435\u0442\u043d\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0434\u043e 100 \u0447\u0435\u043b\u043e\u0432\u0435\u043a. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, &#171;\u0432\u0440\u043e\u0434\u0435 \u0438\u0437\u044f\u043d&#187;. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u0434\u0435\u0442\u0430\u043b\u0435\u0439, \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f:&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u0438\u0442 \u0432 \u043b\u0435\u0441\u043e\u043f\u0430\u0440\u043a\u043e\u0432\u043e\u0439 \u0437\u043e\u043d\u0435, \u0433\u0434\u0435 \u043d\u0435\u0442 \u043e\u043f\u0442\u0438\u043a\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2013 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c; <\/p>\n<\/li>\n<li>\n<p>\u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u0438\u0434\u0435\u043e\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u0440\u0438 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c GSM-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0435;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0431\u044e\u0434\u0436\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d. <\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u043e\u0433\u043e: \u043f\u043e\u0442\u0435\u0440\u0438 \u0438 \u043e\u0442\u0432\u0430\u043b\u044b \u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u0440\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u0435 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.&nbsp; <\/p>\n<p>\u0422\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u044f \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0443 \u043a\u043e\u043b\u043b-\u0446\u0435\u043d\u0442\u0440\u043e\u0432 \u0431\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0441\u0432\u044f\u0437\u0438, \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0436\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0441\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043e\u0432, \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 VoIP \u0438 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u043c \u0432\u0438\u0434\u0435\u043e, \u043d\u043e \u0438 \u0441 \u043b\u044e\u0431\u044b\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043d\u0430 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a \u043f\u043e\u0442\u0435\u0440\u044f\u043c \u0442\u0440\u0430\u0444\u0438\u043a\u0430. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u0432\u0435\u0441\u0442\u0438 \u043e\u043f\u0442\u0438\u043a\u0443 \u0438 \u0437\u0430\u043a\u0443\u043f\u0438\u0442\u044c \u0434\u043e\u0440\u043e\u0433\u043e\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435.&nbsp; <\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u044d\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 &#171;\u0434\u0435\u0448\u0435\u0432\u043e \u0438 \u0441\u0435\u0440\u0434\u0438\u0442\u043e&#187; \u2013 \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043c\u0430\u043b\u043e\u043c\u0443 \u0431\u0438\u0437\u043d\u0435\u0441\u0443. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0435 \u0441\u043a\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u0430 \u2013 \u0434\u043b\u044f \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u043e\u0432.    <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u0421\u0445\u0435\u043c\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u043a\u0440\u0430\u0442\u0446\u0435<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u0442\u0432\u0430\u043b\u043e\u0432 \u044f \u043d\u0430\u0447\u0430\u043b \u0441 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0447\u0430\u0441\u0442\u043e\u0442 \u0438 \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442. \u0421\u043c\u0435\u043d\u0430 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 LTE-\u043c\u043e\u0434\u0435\u043c\u0430 \u0441 Cat4 \u043d\u0430 Cat6 \u0438\u043b\u0438 \u2013 \u0435\u0449\u0435 \u043a\u0440\u0443\u0447\u0435 \u2013 Cat12 \u0434\u0430\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438, \u043d\u043e \u0432 \u043f\u043e\u0442\u0435\u0440\u044f\u0445 \u0438 \u043e\u0442\u0432\u0430\u043b\u0430\u0445 \u2013 \u043d\u0435\u0442. \u041f\u0440\u0438\u0448\u0435\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u043d\u0443\u0436\u0435\u043d \u0432\u0442\u043e\u0440\u043e\u0439 LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u043d\u0438 \u043e\u0434\u0438\u043d \u043a\u0430\u0434\u0440 \u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u0432\u0430\u043b\u0438\u0442\u044c\u0441\u044f.&nbsp; <\/p>\n<p>\u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0448\u043b\u0430 \u0442\u0430\u043a\u0430\u044f \u0441\u0432\u044f\u0437\u043a\u0430: \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044f, \u043e\u043d\u0430 \u0436\u0435 bonding, \u0438 TCP-OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u043e\u0432\u0435\u0440\u0445 \u044d\u0442\u043e\u0433\u043e.&nbsp;<\/p>\n<ul>\n<li>\n<p>\u0432 \u043e\u0431\u043b\u0430\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u043b &#171;\u0441\u0435\u0440\u0432\u0435\u0440 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438&#187; \u2013 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0443 \u0441 CLOUD HOSTED ROUTER (CHR) \u043d\u0430 \u0431\u0430\u0437\u0435 Router OS; <\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 \u043d\u0435\u0439 \u043f\u043e\u0434\u043d\u044f\u043b L2TP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c IPsec;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u043f\u043e\u0432\u0435\u0440\u0445 L2TP over IPsec \u0441\u043e\u0437\u0434\u0430\u043b \u0434\u0432\u0430 EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f;&nbsp; <\/p>\n<\/li>\n<li>\n<p>EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u044b bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c;&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0432\u0438\u0448\u0435\u043d\u043a\u0430 \u043d\u0430 \u0442\u043e\u0440\u0442\u0435 \u2013 TCP-\u0448\u043d\u044b\u0439 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c.&nbsp; <\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 R1 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043b\u044e\u0431\u0430\u044f \u0436\u0435\u043b\u0435\u0437\u043a\u0430 \u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u043e\u0442 \u0436\u0435 MikroTik \u0441\u0435\u0440\u0438\u0438 CCR, \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0433\u0434\u0435 \u0443\u0433\u043e\u0434\u043d\u043e. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u2013 \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445 \u0441\u0432\u044f\u0437\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (VRRP \u0432 \u043f\u043e\u043c\u043e\u0449\u044c).&nbsp; <\/p>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 OpenVPN UDP \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 7-\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 RouterOS, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0431\u0435\u0437\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b TCP. <\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0445\u0435\u043c\u0430 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043d\u0435\u0442 \u043f\u0440\u0435\u0434\u0435\u043b\u0430 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443. \u0414\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0435 LTE-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b \u0441\u0432\u044f\u0437\u0438, \u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f.&nbsp; <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u0441\u0445\u0435\u043c\u044b. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 R1 (\u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430) \u0438 \u2013 \u0434\u0430\u043b\u0435\u0435 \u2013 R2 (\u0444\u0438\u043b\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e).<\/p>\n<h2>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 R1<\/h2>\n<ol>\n<li>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0435\u0440\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u0435\u043b\u044b\u0439 IP \u0432 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435. \u0423 \u043c\u0435\u043d\u044f CHR \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0441\u044f \u0437\u0430 Edge \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 VMware, \u0442\u0430\u043a \u0447\u0442\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442\u044b \u043d\u0430 Edge UDP 1701, 500 \u0438 4500 NAT-T \u2013 IPSec Network Address Translator Traversal. \u0422\u0430\u043a\u0436\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0432 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 Edge.&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 firewall filter \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443 \u0438\u0437\u0432\u043d\u0435 \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u043e\u0432 UDP 1701, 500 \u0438 4500. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0435\u043b\u044b\u0435 IP \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 Edge, \u0433\u0430\u043b\u043e\u0447\u043a\u0443 NAT Traversal \u041d\u0423\u0416\u041d\u041e \u0421\u041d\u042f\u0422\u042c! <\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 IPsec-\u043f\u0440\u043e\u0444\u0438\u043b\u044c:  <\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip ipsec profile  set [ find default=yes ] dh-group=modp1024 enc-algorithm=3de<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0434\u043b\u044f L2TP-\u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile01 use-compression=no use-encryption=no use-mpls=no use<\/code><\/pre>\n<p>\u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp secret add local-address=172.16.0.1 name=l2tp_R1-R2_ISP1 password=ros7.elements.forever profile=profile01 remote-address=172.16.0.2 service=l2tp add local-address=172.16.0.5 name=l2tp_R1-R2_ISP2 password=ros7.elements.forever profile=profile01 remote-address=172.16.0.6 service=l2tp<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c L2TP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 IPsec:   <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface l2tp-server server  set authentication=mschap2 caller-id-type=number default-profile=profile01 enabled=yes ipsec-secret=\u0412\u0410\u0428 \u041a\u0420\u0423\u0422\u041e\u0419 \u041f\u0410\u0420\u041e\u041b\u042c use-ipsec=yes<\/code><\/pre>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c \u0434\u0432\u0430 EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u043f\u043e\u0432\u0435\u0440\u0445 L2TP\/IPsec-\u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439:   <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface eoip add keepalive=1s,5 local-address=172.16.0.1 mac-address=00:00:00:00:00:A1 name=eoip-tun1_over_l2tp_R1-R2_ISP1 remote-address=172.16.0.2 tunnel-id=1 add keepalive=1s,5 local-address=172.16.0.5 mac-address=00:00:00:00:00:B1 name=eoip-tun2_over_l2tp_R1-R2_ISP2 remote-address=172.16.0.6 tunnel-id=2<\/code><\/pre>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 keepalive timeout \u0440\u0430\u0432\u043d\u044b\u043c 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0435 \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 ID.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c bonding \u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u043d\u0430 \u043d\u0435\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface bonding add lacp-rate=1sec mii-interval=1ms mode=broadcast name=bonding1 slaves=eoip-tun1_over_l2tp_R1-R2_ISP1,eoip-tun2_over_l2tp_R1-R2_ISP2<\/code><\/pre>\n<pre><code>\/ip address  add address=172.16.1.1\/30 interface=bonding1<\/code><\/pre>\n<p>\u0422\u0443\u0442 \u0432\u0430\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u043b\u0435 mode (\u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430) \u044f \u0443\u043a\u0430\u0437\u0430\u043b broadcast, \u0447\u0442\u043e\u0431\u044b \u043f\u0430\u043a\u0435\u0442\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u0441\u0440\u0430\u0437\u0443 \u043f\u043e \u0434\u0432\u0443\u043c \u0442\u043e\u043d\u043d\u0435\u043b\u044f\u043c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0442\u0435\u0440\u044f \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0438\u0437 \u0434\u0432\u0443\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u043f\u043e\u0442\u0435\u0440\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430 bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c, \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c OpenVPN-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f OpenVPN \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0435\u0449\u0435 \u0438 \u0434\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439, \u0442\u043e \u044f \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0445 \u0432 CHR. \u041d\u0430 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043d\u0435 \u0431\u0443\u0434\u0443.&nbsp; \u0421\u043e\u0437\u0434\u0430\u0435\u043c \/ppp profile \u0438 \/ppp secret \u0434\u043b\u044f OpenVPN:&nbsp; <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile02 use-compression=no use-encryption=no use-mpls=no use \/ppp secret  add local-address=172.16.2.1 name=ovpn_over_bonding1 password=ros7.elements.forever profile=profile02 remote-address=172.16.2.2 service=ovpn \/interface ovpn-server server set auth=sha1 certificate=server.crt_0 cipher=aes256 default-profile=profile02 enabled=yes keepalive-timeout=30 port=1194 require-client-certificate=yes<\/code><\/pre>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 nat-\u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u0441\u0435\u0440\u043e\u0439 \u0444\u0438\u043b\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0437\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c R2, \u0447\u0442\u043e\u0431\u044b \u0442\u0440\u0430\u0444\u0438\u043a \u0432\u044b\u0445\u043e\u0434\u0438\u043b \u043d\u0430\u0440\u0443\u0436\u0443 \u0447\u0435\u0440\u0435\u0437 R1:&nbsp;&nbsp;<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN src-address=192.168.1.0\/24<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043e \u0441\u0435\u0440\u043e\u0439 \u0441\u0435\u0442\u0438 \u0437\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c R2 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip route add check-gateway=ping distance=1 dst-address=192.168.1.0\/24 gateway=172.16.2.2<\/code><\/pre>\n<h2>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 R2<\/h2>\n<ol>\n<li>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 LTE-\u043c\u043e\u0434\u0435\u043c\u0430 \u0434\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0435\u043b\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430. \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 output \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<pre><code>\/ip route add distance=1 dst-address= 198.51.100.10\/32 gateway=lte1 add distance=1 dst-address= 198.51.100.20\/32 gateway=lte2 \/ip firewall filter add action=drop chain=output dst-address= 198.51.100.10 out-interface=lte2 add action=drop chain=output dst-address= 198.51.100.20 out-interface=lte1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441 R1 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 \/ip ipsec profile:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip ipsec profile  set [ find default=yes ] dh-group=modp1024 enc-algorithm=3de<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \/ppp profile:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0438 \u0434\u0432\u0430 L2TP\/IPsec-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile01 use-compression=no use-encryption=no use-mpls=no use \/interface l2tp-client add allow=mschap2 connect-to= 198.51.100.10 disabled=no ipsec-secret= ros7.elements.forever keepalive-timeout=30 name=l2tp_to_R1_over_ISP1 password=ros7.elements.forever     profile=profile01 use-ipsec=yes user=l2tp_R1-R2_ISP1 add allow=mschap2 connect-to= 198.51.100.20 disabled=no ipsec-secret= ros7.elements.forever keepalive-timeout=30 name=l2tp_to_R1_over_ISP2 password=ros7.elements.forever     profile=profile01 use-ipsec=yes user=l2tp_R1-R2_ISP2<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c EoIP-\u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 R1, \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u043c\u0435\u0441\u0442\u0430\u043c\u0438 local \u0438 remote IP L2TP\/IPsec-\u043b\u0438\u043d\u043a\u043e\u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 R2. Bonding-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u0430\u043a \u043d\u0430 R1:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/interface eoip add keepalive=1s,5 local-address=172.16.0.2 mac-address=00:00:00:00:00:A2 name=eoip-tun1_over_l2tp_R1-R2_ISP1 remote-address=172.16.0.1 tunnel-id=1 add keepalive=1s,5 local-address=172.16.0.6 mac-address=00:00:00:00:00:B2 name=eoip-tun2_over_l2tp_R1-R2_ISP2 remote-address=172.16.0.5 tunnel-id=2 \/interface bonding add lacp-rate=1sec mii-interval=1ms mode=broadcast name=bonding1 slaves=eoip-tun1_over_l2tp_R1-R2_ISP1,eoip-tun2_over_l2tp_R1-R2_ISP2 \/ip address  add address=172.16.1.2\/30 interface=bonding1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c:   <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c OpenVPN-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0430 R2:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ppp profile  add change-tcp-mss=no name=profile02 use-compression=no use-encryption=no use-ipv6=no use-mpls=no use-upnp=no \/interface ovpn-client add certificate=client.crt_0 cipher=aes256 connect-to=172.16.1.1 mac-address=00:00:00:00:00:C2 name=ovpn_over_bonding1 password=\u0412\u0410\u0428 \u041a\u0420\u0423\u0422\u041e\u0419 \u041f\u0410\u0420\u041e\u041b\u042c profile=profile02 use-peer-dns=no user=\"ovpn_over_bonding1 \" verify-server-certificate=yes<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0422\u0443\u043d\u043d\u0435\u043b\u0438 \u0437\u0430\u0433\u043e\u0440\u0435\u043b\u0438\u0441\u044c \u0432\u043e\u043b\u0448\u0435\u0431\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 R, \u0430 EoIP \u2013 \u0435\u0449\u0435 \u0438 RS. OpenVPN \u0442\u043e\u0436\u0435 \u0437\u0430\u0432\u0435\u043b\u0441\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u0432 \u043d\u0430\u0448 \u0441\u043b\u043e\u0435\u043d\u044b\u0439 \u0431\u0443\u0442\u0435\u0440\u0431\u0440\u043e\u0434 \u2013 \u0432 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \/ip firewall mangle \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u043d\u043e\u0432\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=google_sites dst-port=1935 new-routing-mark=pc_to_stream-youtube_over_R1 passthrough=yes protocol=tcp src-address=192.168.1.1<\/code><\/pre>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0448 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code>\/ip route add check-gateway=ping distance=1 gateway=172.16.2.1 routing-mark=pc_to_stream-youtube_over_R1<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\u0418 \u0433\u043e\u0442\u043e\u0432\u043e!<\/p>\n<h2>\u0422\u0440\u0430\u0431\u043b\u0448\u0443\u0442\u0438\u043d\u0433 <\/h2>\n<ul>\n<li>\n<p>\u041f\u0440\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0436\u0435\u043b\u0435\u0437\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u0441 \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439 L2TP \u043d\u0430 OpenVPN-\u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0415\u0441\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u044f\u043c\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 L2TP \u0432\u043c\u0435\u0441\u0442\u043e OpenVPN, \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438 \u043f\u0430\u043a\u0435\u0442\u044b \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u0442\u0435\u0440\u044f\u0442\u044c\u0441\u044f.&nbsp; <\/p>\n<\/li>\n<li>\n<p>\u0423\u0442\u0438\u043b\u0438\u0442\u044b RouterOS \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \/tools \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u043f\u0440\u0438 \u0442\u0440\u0430\u0431\u043b\u0448\u0443\u0442\u0438\u043d\u0433\u0435. \u0415\u0449\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0432\u044f\u0437\u043a\u0430 \/tools Packet Sniffer + Wireshark. <\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 &#171;\u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 mtu&#187;, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u043b\u0443\u0447\u0448\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439. <\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b. RSRP, RSRQ \u0438 SINR<\/p>\n<\/li>\n<\/ul>\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-320260","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/320260","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=320260"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/320260\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}