{"id":77747,"date":"2020-04-13T13:42:21","date_gmt":"2020-04-13T11:42:21","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn"},"modified":"2020-04-13T13:42:21","modified_gmt":"2020-04-13T11:42:21","slug":"marshrutizator-banana-pi-r64-debian-wireguard-rkn","status":"publish","type":"post","link":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn","title":{"rendered":"Router Banana Pi R64 \u2014 Debian, Wireguard, RKN","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Banana Pi 64 \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e \u0442\u0438\u043f\u0443 Raspberry Pi, \u043d\u043e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 Ethernet, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Linu\u0445 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Banana Pi R64 &mdash; Debian, Wireguard, \u0420\u041a\u041d\" src=\"\/wp-content\/uploads\/2020\/04\/93706694f7d1f8c1dd3dad6bbae08c06.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0414\u0430, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Openwrt, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0438 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441\u0432\u043e\u0439 GUI \u0438 CLI; \u0435\u0441\u0442\u044c Mikrotik, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0432\u043e\u0439 GUI\/CLI, \u0434\u0430 \u0438 Wireguard \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u2026 \u0412 \u043e\u0431\u0449\u0435\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0441 \u0433\u0438\u0431\u043a\u0438\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0441\u044c \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043b\u0438\u043d\u0443\u043a\u0441\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0448\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 BPI, R64, \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a \u044f \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u2014 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a Banana Pi R64.<\/p>\n<p><\/p>\n<h2 id=\"vybor-obraza-zagruzka-po-emmc\">\u0412\u044b\u0431\u043e\u0440 \u043e\u0431\u0440\u0430\u0437\u0430. \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u043e eMMC<\/h2>\n<p><\/p>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0432\u044b\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9E%D0%B4%D0%BD%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D0%BD%D1%8B%D0%B9_%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80\" rel=\"nofollow\">SBC<\/a><\/noindex> \u0432\u043e\u043e\u0431\u0449\u0435, \u0438 \u0441 R64 \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u044d\u0442\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043a\u0443 \u0438 \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u043d\u0438\u043c, \u0432\u0435\u0434\u044c \u0443 R64 \u043d\u0435\u0442 \u043f\u043e\u0440\u0442\u0430 \u0434\u043b\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430 (HDMI, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440). \u041a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u043e\u0442\u0432\u0430\u043b\u0438\u043b\u043e\u0441\u044c \u2014 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c Wifi, \u0441\u0435\u0442\u044c Ethernet, Bluetooth, USB \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u0435\u0441\u0442\u044c UART, \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. <\/p>\n<p><\/p>\n<p>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a R64 \u043f\u043e USB-UART:<\/p>\n<p><\/p>\n<ul>\n<li>\u0431\u0435\u0436\u0438\u043c \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0440\u0430\u0434\u0438\u043e\u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0437\u0430 \u043a\u0430\u0431\u0435\u043b\u0435\u043c USB-UART (PL2303, Serial-to-USB)<\/li>\n<li>\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043e\u0434\u0438\u043d USB-\u043a\u043e\u043d\u0435\u0446 \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443, \u0430 \u0434\u0440\u0443\u0433\u043e\u0439, UART,- \u043a R64, \u0442\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445, \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435<\/li>\n<li>\u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>sudo minicom<\/code><\/li>\n<\/ul>\n<p><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a\u0430 = \u0443\u0441\u043f\u0435\u0445.<br \/>\n\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <noindex><a rel=\"nofollow\" href=\"http:\/\/wiki.lemaker.org\/BananaPro\/Pi:How_to_login_to_the_system#Using_the_TTL_serial_port\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Banana Pi R64 &mdash; Debian, Wireguard, \u0420\u041a\u041d\" src=\"\/wp-content\/uploads\/2020\/04\/d4d6ef91a60e50a27eb5ec924a66dca8.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u043f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 SD-\u043a\u0430\u0440\u0442\u044b: \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u043e <noindex><a rel=\"nofollow\" href=\"http:\/\/wiki.banana-pi.org\/Banana_Pi_BPI-R64#Release\" rel=\"nofollow\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a><\/noindex> \u043e\u0431\u0440\u0430\u0437 \u0438 \u0437\u0430\u043b\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">unzip -p 2019-08-23-ubuntu-16.04-lite-preview-bpi-r64-sd-emmc.img.zip | pv | sudo dd of=\/dev\/mmcblk0 bs=10M status=noxfer<\/code><\/pre>\n<p><\/p>\n<p>\u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u0443 \u0432 SD-\u0441\u043b\u043e\u0442 R64, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c \u043f\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 uboot, \u0437\u0430\u0442\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043b\u0438\u043d\u0443\u043a\u0441\u0430.<\/p>\n<p><\/p>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u2014 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0436\u0435 \u0432\u0448\u0438\u0442\u043e\u0439 \u0432 R64 \u043a\u0430\u0440\u0442\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 8Gb, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0439 eMMC. \u041f\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432 \u0432\u0438\u043a\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<br \/>\n\/dev\/mmcblk0 \u0432 BPI, \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f, \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c SD-\u043a\u0430\u0440\u0442\u0443, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c BPI \u0441\u043d\u043e\u0432\u0430\u2026 \u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041a\u0430\u043a \u0442\u0443\u0434\u0430-\u0441\u044e\u0434\u0430 <code>Boot select<\/code> \u043d\u0438 \u0434\u0435\u0440\u0433\u0430\u0439.<\/p>\n<p><\/p>\n<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u043b\u044f BPI \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u043b\u0430\u0433, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0444\u043b\u0435\u0448\u043a\u0438:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">root@bpi-r64:~# .\/mmc extcsd read \/dev\/mmcblk1 | grep 'PARTITION_CONFIG'\nBoot configuration bytes [PARTITION_CONFIG: 0x00]\nroot@bpi-r64:~# .\/mmc bootpart enable 1 1 \/dev\/mmcblk1\nroot@bpi-r64:~# .\/mmc extcsd read \/dev\/mmcblk1 | grep 'PARTITION_CONFIG'\nBoot configuration bytes [PARTITION_CONFIG: 0x48]<\/code><\/pre>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 boot-\u0432\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c preloader<\/p>\n<p><\/p>\n<pre><code class=\"bash\">root@bpi-r64:~# echo 0 &gt; \/sys\/block\/mmcblk0boot0\/force_ro \nroot@bpi-r64:~# dd if=preloader_evb7622_64_foremmc.bin of=\/dev\/mmcblk0boot0<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c R64 (\u041a\u0438\u0442\u0430\u0439) \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u044d\u0442\u043e\u0442 \u0431\u0438\u043d\u0430\u0440\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/BPI-SINOVOIP\/BPI-R64-BSP\/blob\/95b2edeed3a54529b0cf8598d52a2badd2069c8a\/mt-pack\/mtk\/bpi-r64\/configs\/default\/linux\/preloader_evb7622_64_foremmc.bin\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>. \u0427\u0442\u043e \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e (\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0435\u0442), \u043d\u043e \u0431\u0435\u0437 \u043d\u0435\u0433\u043e \u0442\u043e\u0436\u0435 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p><\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0438 \u0441 eMMC. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u0442\u044c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u0441 \u043d\u0443\u043b\u044f, \u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 (SD\/eMMC) \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0449\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432 (preloader \u0434\u043b\u044f SD-\u043a\u0430\u0440\u0442\u044b, ATF, u-boot), \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e\u0431 \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430. \u0422\u0435\u043c\u0430 \u044d\u0442\u0430 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 <noindex><a rel=\"nofollow\" href=\"http:\/\/forum.banana-pi.org\/t\/bpi-r64-current-u-boot-support\/10077\/76\" rel=\"nofollow\">\u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f<\/a><\/noindex>, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0441 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043b\u0430\u0434\u043d\u043e.<\/p>\n<p><\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u043e eMMC, \u0447\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e, SD \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u043d\u043e \u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431 \u043e\u043d\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0443\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435.<\/p>\n<p><\/p>\n<h2 id=\"vybor-operacionki-armbian\">\u0412\u044b\u0431\u043e\u0440 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043a\u0438. Armbian<\/h2>\n<p><\/p>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c VPN, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e Wireguard. \u0421\u0440\u0430\u0437\u0443 \u0436\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u044f\u0434\u0440\u0430 \u043e\u043d \u043d\u0435 \u0441\u043e\u0431\u0440\u0430\u043d, \u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u043d\u0435\u0442. \u041f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u043b \u044f\u0434\u0440\u043e \u0438, \u043f\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0435 \u0441 x86, \u0441\u043e\u0431\u0440\u0430\u043b \u043c\u043e\u0434\u0443\u043b\u044c \u044f\u0434\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e DKMS. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0438 \u043d\u0430 arm64 \u0434\u0430\u0436\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0443\u0442\u0438\u043b\u0438\u0442 \u043c\u0435\u043d\u044f \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e \u0443\u0434\u0438\u0432\u0438\u043b\u0430. \u0410 \u0434\u0430\u043b\u044c\u0448\u0435 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u044f\u0434\u0440\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0441\u044f, \u0438 \u0442.\u0434. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0432\u044b\u0445\u043e\u0434\u0438\u0442, \u0447\u0442\u043e \u0432\u0441\u0435, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0435 \u0441 \u044f\u0434\u0440\u043e\u043c, \u043b\u0443\u0447\u0448\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043d\u0430 \u0442\u0435\u043f\u043b\u043e\u043c-\u043b\u0430\u043c\u043f\u043e\u0432\u043e\u043c \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435 x86, \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u043d\u0430 R64, \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u0442\u0435\u0441\u0442\u0438\u0442\u044c.<\/p>\n<p><\/p>\n<p>\u0414\u0440\u0443\u0433\u043e\u0435 \u0434\u0435\u043b\u043e \u2014 \u044e\u0437\u0435\u0439\u0441\u043f\u0435\u0439\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 Debian, \u0432\u0441\u0435 \u0434\u043b\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b arm64 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0430 packages.debian.org \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f.<\/p>\n<p><\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/armbian-build\" rel=\"nofollow\">\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/www.armbian.com\/\" rel=\"nofollow\">Armbian<\/a><\/noindex> \u043d\u0430 BPI R64.<br \/>\n\u0412\u0435\u0440\u043d\u0435\u0435 \u0442\u0430\u043a: userspace-\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2014 Armbian, \u0430 \u044f\u0434\u0440\u043e \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/frank-w\/BPI-R2-4.14\" rel=\"nofollow\">Frank<\/a><\/noindex>-\u0430. \u0421\u0430\u043c\u044b\u0439 \u0441\u0432\u0435\u0436\u0438\u0439 \u043e\u0431\u0440\u0430\u0437 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/armbian-build\/releases\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u0412\u0441\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0441\u043e\u0444\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 R64 \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"http:\/\/forum.banana-pi.org\/c\/Banana-Pi-BPI-R2\" rel=\"nofollow\">\u0444\u043e\u0440\u0443\u043c\u0435<\/a><\/noindex>. \u0412\u043e\u043e\u0431\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u0441\u0430\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u0441\u0442\u0440\u0435\u043c\u0438\u0442\u0441\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u043e\u0434 Openwrt, \u043d\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 Frank-\u0430 \u0438\u0437 \u0413\u0435\u0440\u043c\u0430\u043d\u0438\u0438 \u0432\u0441\u0435 \u0444\u0438\u0447\u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u044f\u0434\u0440\u0435 \u0434\u043b\u044f Debian-\u0430. \u0423\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u043e Frank \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u0444\u043e\u0440\u0443\u043c\u0430.<\/p>\n<p><\/p>\n<h2 id=\"organizaciya-rabochego-prostranstva-provoda\">\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430: \u043f\u0440\u043e\u0432\u043e\u0434\u0430<\/h2>\n<p><\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438\/\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c SBC (\u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e BPI) \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431 \u043d\u0435 \u0432\u0435\u0441\u0442\u0438 Ethernet-\u043a\u0430\u0431\u0435\u043b\u044c \u043a \u043d\u0435\u043c\u0443 \u043e\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u0432\u0441\u044e \u043a\u043e\u043c\u043d\u0430\u0442\u0443\/\u043e\u0444\u0438\u0441. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0436\u0435\u043b\u0435\u0437\u043a\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0432 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0436\u0435\u043b\u0435\u0437\u043a\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0435 \u043b\u043e\u043c\u0430\u0442\u044c\u0441\u044f, \u0438 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c Wifi.<\/p>\n<p><\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0434\u0435\u0448\u0435\u0432\u044b\u0439 USB-Wifi &quot;\u0441\u0432\u0438\u0441\u0442\u043e\u043a&quot;, \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044c \u0435\u0433\u043e \u0432 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u043d\u0430 BPI \u0438 \u0437\u0430\u0431\u044b\u0442\u044c \u043e \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u0445. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u043b \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0439 TP-LINK TL-WN725N USB 2.0, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0438\u0442: \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0432\u0438\u0441\u0442\u043a\u0430 \u043d\u0443\u0436\u0435\u043d \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u044f\u0434\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0430\u043c, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435 \u0431\u044b\u043b\u043e (\u043f\u043e\u0437\u0436\u0435 \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0443\u0436\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 RTL8XXXU, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u044d\u0442\u043e \u043d\u0435\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u043e). \u0418 Ethernet-\u043a\u0430\u0431\u0435\u043b\u044c \u043f\u043e\u0440\u0442\u0438\u043b \u0432\u0438\u0434 \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p><\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043e\u0442 \u043a\u0430\u0431\u0435\u043b\u044f \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c Tenda MW3 (Wifi mesh-\u0441\u0438\u0441\u0442\u0435\u043c\u0430): \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043b \u043e\u0434\u0438\u043d \u043a\u0443\u0431\u0438\u043a \u043f\u043e\u0434 \u0441\u0442\u043e\u043b\u043e\u043c \u0438 \u043c\u0435\u0442\u0440\u043e\u0432\u044b\u043c Ethernet-\u043a\u0430\u0431\u0435\u043b\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b BPI \u043a LAN-\u043f\u043e\u0440\u0442\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e. \u0423\u0441\u043f\u0435\u0445.<\/p>\n<p><\/p>\n<h2 id=\"wireguard-rkn-bird\">Wireguard, \u0420\u041a\u041d, Bird<\/h2>\n<p><\/p>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u0445\u043e\u0442\u0435\u043b\u043e\u043a, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e Banana PI \u2014 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u0441\u0430\u0439\u0442\u044b, \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0420\u041a\u041d, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0447\u0442\u043e\u0431 \u0440\u0430\u0431\u043e\u0442\u0430\u043b Telegram \u0438 \u0437\u0432\u043e\u043d\u043a\u0438 \u0432 Slack-\u0435. \u041d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u044b \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435: <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/354282\/\">\u0440\u0430\u0437<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/359268\/\">\u0434\u0432\u0430<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/413049\/\">\u0442\u0440\u0438<\/a><\/noindex>. <\/p>\n<p><\/p>\n<p>\u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Ansible: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/ansible-bpi-r64\" rel=\"nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a><\/noindex>. <\/p>\n<p><\/p>\n<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e VPS \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 Ubuntu 18.04. \u0420\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043d\u0430 \u0434\u0432\u0443\u0445 \u0445\u043e\u0441\u0442\u0435\u0440\u0430\u0445 \u0432 \u0415\u0432\u0440\u043e\u043f\u0435: Amazon \u0438 Digital Ocean.<\/p>\n<p><\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 Armbian \u043d\u0430 R64, \u043e\u043d \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e ssh \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c <code>hm-bananapi-1<\/code> \u0438 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e ansible, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 R64:<\/p>\n<p><\/p>\n<pre><code class=\"bash\"># \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043b\u044f Debian-based \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432\n$ sudo apt install --no-install-recommends python3-pip python3-setuptools python3-wheel git\n$ which pip3\n\/usr\/bin\/pip3\n\n# ansible \u0441 pybook, \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 Python\n$ pip3 install https:\/\/github.com\/muravjov\/ansible\/archive\/ansible-2.10.0.dev0-pybook2019.tar.gz\n\n$ export PATH=~\/.local\/bin:$PATH\n$ which ansible-playbook\n\/home\/sa\/.local\/bin\/ansible-playbook\n\n$ git clone https:\/\/github.com\/muravjov\/ansible-bpi-r64.git\n$ cd ansible-bpi-r64\n\n$ git submodule update --init\n\n# \u0443\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f \u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u0438 hm-bananapi-1\n$ ssh hm-bananapi-1 which python3\n\/usr\/bin\/python3\n\n# \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n$ ansible-playbook .\/router.py -l hm-bananapi-1<\/code><\/pre>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u043d\u0430 VPS \u043d\u0430\u0448 VPN:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">ansible-playbook .\/router.py -l current-vpn<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 current-vpn, \u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043c\u044f VPS \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e paris-vpn-aws-t2-micro-1):<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">$ grep current_vpn group_vars\/all \ncurrent_vpn: paris-vpn-aws-t2-micro-1\n#current_vpn: frankfurt-vpn-d0-starter-1<\/code><\/pre>\n<p><\/p>\n<p>\u0410\u0445 \u0434\u0430, \u043f\u0435\u0440\u0435\u0434 \u0432\u0441\u0435\u043c\u0438 \u044d\u0442\u0438\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u043a\u0440\u0435\u0442\u044b (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u043a\u043b\u044e\u0447\u0438 Wireguard) \u0432 \u043f\u0430\u043f\u043a\u0443 <code>.\/secrets<\/code>, \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/ansible-bpi-r64\/blob\/master\/app_api.py#L38\" rel=\"nofollow\">\u0442\u0430\u043a<\/a><\/noindex>.<\/p>\n<p><\/p>\n<h2 id=\"avtomatizaciya-ansible-na-python\">\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f Ansible \u043d\u0430 Python<\/h2>\n<p><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 YAML \u043a\u043e\u043c\u0430\u043d\u0434\u044b Ansible \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 Python. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0435\u043c\u043e\u043d bird:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">- name: start bird\n  systemd:\n    name: bird\n    state: started\n    enabled: yes<\/code><\/pre>\n<p><\/p>\n<p>\u0438 \u043a\u0430\u043a \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0435\u0440\u0435\u0437 Python:<\/p>\n<p><\/p>\n<pre><code class=\"python\">with mapping:\n    append(&quot;name&quot;, &quot;start bird&quot;)\n    with mapping(&quot;systemd&quot;):\n        append(&quot;name&quot;,  &quot;bird&quot;)\n        append(&quot;state&quot;, &quot;started&quot;)\n        append(&quot;enabled&quot;, &quot;yes&quot;)<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0430\u043f\u0438\u0441\u044c \u043a\u043e\u043c\u0430\u043d\u0434 Ansible \u043a\u043e\u0434\u043e\u043c \u043d\u0430 Python \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434, \u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044b \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u044f\u0437\u044b\u043a\u0430 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 bird \u043d\u0430 R64 \u0438 VPS:<\/p>\n<p><\/p>\n<pre><code class=\"python\">install_bird(&quot;router\/bird.conf.j2&quot;)\ninstall_bird(&quot;vpn\/bird.conf.j2&quot;)<\/code><\/pre>\n<p><\/p>\n<p>\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/ansible-bpi-r64\/blob\/master\/router.py#L48\" rel=\"nofollow\">install_bird()<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0444\u0438\u0447\u0430 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <code>pybook<\/code> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/ansible\/blob\/stable-1.9\/lib\/ansible\/utils\/pybook.py#L154\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e pybook \u043f\u043e\u043a\u0430 \u043d\u0435\u0442, \u043f\u043e\u0442\u043e\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044e \u044d\u0442\u043e\u0442 \u043d\u0435\u0434\u043e\u0447\u0435\u0442.<\/p>\n<p><\/p>\n<p>\u0427\u0442\u043e \u0434\u0443\u043c\u0430\u0435\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ansible\/ansible\/pull\/10966#issuecomment-101043658\" rel=\"nofollow\">upstream<\/a><\/noindex> \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443.<\/p>\n<p><\/p>\n<h2 id=\"monitoring-prometheus\">\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433. Prometheus<\/h2>\n<p><\/p>\n<p>\u0418\u0442\u043e\u0433\u043e: \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0447\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, linkedin \u0438 pornhub \u0442\u043e\u0436\u0435, \u0432 \u043e\u0431\u0449\u0435\u043c user experience \u2014 \u043e\u043a. \u041d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u0435\u0442 \u043b\u043e\u043c\u0430\u0442\u044c\u0441\u044f, \u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0435 \u0436\u0435\u043b\u0435\u0437\u043a\u0438 \u0442\u043e\u0436\u0435. <\/p>\n<p><\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044f\u0434\u0440\u0430 \u0442\u043e\u0436\u0435 \u0431\u044b\u0432\u0430\u044e\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044f \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u044f\u0434\u0440\u043e 5.4 =&gt; 5.6, \u043d\u0443\u0430\u0447\u043e, \u0442\u0430\u043c \u0436\u0435 Wireguard \u0438\u0437\u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u043d\u0435 \u043d\u0430\u0434\u043e \u043f\u0430\u0442\u0447\u0438\u0442\u044c\u2026 \u0421\u043a\u0430\u0437\u0430\u043d\u043e-\u0441\u0434\u0435\u043b\u0430\u043d\u043e: \u043a\u0440\u043e\u043f\u043e\u0442\u043b\u0438\u0432\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b \u043f\u0430\u0442\u0447\u0438 \u0441 5.4 \u043d\u0430 5.6, \u044f\u0434\u0440\u043e \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c, \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0434\u043e VPS \u043f\u0438\u043d\u0433\u0443\u0435\u0442\u0441\u044f, \u043d\u043e bird \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 &quot;BGP Error&quot;\u2026 &quot;\u0412 \u0443\u0436\u0430\u0441\u0435 \u043e\u0442\u043a\u0430\u0442\u0438\u043b\u0441\u044f \u043d\u0430\u0437\u0430\u0434&quot; (\u0441) \u043d\u0430 5.4; \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u043d\u0430 5.6 \u043e\u0442\u043b\u043e\u0436\u0438\u043b \u0432 TODO.<\/p>\n<p><\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u0438\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0438\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438 VPS \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 (\u043d\u0430 x86 Ubuntu 18.04), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0445\u043e\u0441\u0442 \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438:<\/p>\n<p><\/p>\n<ul>\n<li>prometheus, alertmanager, blackbox_exporter \u2014 \u0432\u0441\u0435 \u0432 \u0434\u043e\u043a\u0435\u0440\u0435<\/li>\n<li>\u0430\u043b\u0435\u0440\u0442\u044b \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u043a\u0430\u043d\u0430\u043b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u043e\u0442\u0430 metalmatze\/alertmanager-bot \u2014 \u0442\u043e\u0436\u0435 \u0432 \u0434\u043e\u043a\u0435\u0440\u0435<\/li>\n<li>tor \u0434\u043b\u044f \u0431\u043e\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u0431\u043e\u0442 \u043c\u043e\u0433 \u0430\u043b\u0435\u0440\u0442\u0438\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0435\u0441\u0442\u044c, \u043d\u043e \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438 \u0441\u0430\u043c \u0431\u043e\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f<\/li>\n<li>\u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u044b\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/muravjov\/ansible-bpi-r64\/blob\/master\/monitoring\/rules\/vpn.rule\" rel=\"nofollow\">\u0430\u043b\u0435\u0440\u0442\u044b<\/a><\/noindex>: NodeVPNTroubles (\u043d\u0435\u0442 ping-\u0430 \u0434\u043e VPS), BirdVPNTroubles (\u043d\u0435\u0442 \u0441\u0435\u0441\u0441\u0438\u0438 Bird), AntifilterDownloadTroubles (\u043e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432), SiteTroubles (\u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0437\u043b\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c)<\/li>\n<li>\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u043b\u0435\u0440\u0442\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, HostGrowingDiskReadLatency (\u0434\u0435\u0448\u0435\u0432\u0430\u044f SD-\u043a\u0430\u0440\u0442\u0430 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c\u0441\u044f)<\/li>\n<\/ul>\n<p><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">ansible-playbook .\/monitoring.py -l monitoring-preprod<\/code><\/pre>\n<p><\/p>\n<p>Auto Discovery \u0434\u043b\u044f \u043f\u0440\u043e\u043c\u0435\u0442\u0435\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \/etc\/prometheus\/auto_http, \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0445\u043e\u0441\u0442\u0430 \u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0445\u043e\u0441\u0442\u044b \u043d\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u044f\u0442\u0441\u044f):<\/p>\n<p><\/p>\n<pre><code class=\"bash\">bash &lt;&lt; 'EOF'\nHOSTNAME=hm-bananapi-1\nIP_ADDRESS=`ssh -G $HOSTNAME | awk '\/^hostname \/ { print $2 }'`\n\nssh monitoring-preprod sudo sponge \/etc\/prometheus\/auto_http\/$HOSTNAME.json &lt;&lt; EOF2\n[\n  {\n    &quot;targets&quot;: [&quot;$IP_ADDRESS:9100&quot;],\n    &quot;labels&quot;: {\n      &quot;env&quot;: &quot;prod&quot;,\n      &quot;hostname&quot;: &quot;$HOSTNAME&quot;\n    }\n  }\n]\nEOF2\nEOF<\/code><\/pre>\n<p><\/p>\n<h2 id=\"todo-2-provaydera-2-bpi-anycast-failover\">TODO: 2 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, 2 BPI, anycast failover<\/h2>\n<p><\/p>\n<p>\u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0434\u0432\u0443\u043c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0441\u0435\u0442\u044c\u044e, \u0438\u043b\u0438 \u0437\u0430\u0431\u044b\u043b\u0438 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u0442.\u0434., \u0438 \u043f\u0440\u043e\u0447\u0438\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0439 \u0444\u0430\u043a\u0442\u043e\u0440.<\/p>\n<p><\/p>\n<p>\u041d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0439 user experience \u043d\u0430 \u0442\u0435\u043c\u0443 multi-wan \u043e\u043f\u0438\u0441\u0430\u043d <noindex><a rel=\"nofollow\" href=\"https:\/\/openwrt.org\/docs\/guide-user\/network\/wan\/multiwan\/mwan3\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex> \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b Mwan3 \u043f\u043e\u0434 Openwrt. \u0423 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0431\u043e\u0433\u0430\u0442\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u043b\u044f multi-wan \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0445\u043b\u043e\u043f\u043e\u0442\u043d\u0430. \u041e\u0434\u0438\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440: \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0430\u0439\u0442\u044b \u0441\u0440\u0430\u0437\u0443 \u0441 \u0434\u0432\u0443\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u0442\u043e \u0438\u043c \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043e\u043d\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c =&gt; &quot;\u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442&quot;.<\/p>\n<p><\/p>\n<p>\u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0434\u0430\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442 \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e multihoming \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0435, \u0442\u043e\u043b\u044c\u043a\u043e failover. \u0425\u043e\u0442\u044f, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 linux \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0432\u0438\u0434\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">ip route add default \n    nexthop via 192.168.1.1 weight 10 \n    nexthop via 192.168.2.1 weight 5<\/code><\/pre>\n<p><\/p>\n<p>\u0418\u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0435\u0434\u0438\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043e\u0442\u043a\u0430\u0437\u0430, \u0431\u0435\u0440\u0435\u043c 2 BPI, \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0443, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0438\u0445 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0438 \u0441\u0432\u044f\u0437\u044c \u0434\u0440\u0443\u0433 c \u0434\u0440\u0443\u0433\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 bird\/OSPF. <\/p>\n<p><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0435\u043c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d (\u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, DNS). \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0431\u0443\u0434\u0435\u043c \u043d\u0435 \u0441\u0430\u043c\u0438, \u0430 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c bird. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u043b <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/jimdigriz\/ospf-ha-anycast\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex> .<\/p>\n<p><\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b, \u043a\u043e\u0432\u0430\u0440\u043d\u044b\u0439 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441 \u0438 \u0442\u0443\u0442 \u043f\u043e\u0434\u0433\u0430\u0434\u0438\u043b (\u043d\u0435 \u0432\u0441\u0435 \u043f\u0440\u0438\u0435\u0445\u0430\u043b\u043e c \u0430\u043b\u0438\u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441; \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043c\u0430\u0433\u0430\u0437\u0438\u043d, Layta, \u043e\u0431\u0435\u0449\u0430\u043b \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430 \u043d\u0435\u0434\u0435\u043b\u044e, \u0430 \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u0435\u0441\u044f\u0446\u0430 \u043f\u0440\u043e\u0448\u043b\u043e; \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043d\u0435 \u0443\u0441\u043f\u0435\u043b \u043a\u0430\u0431\u0435\u043b\u044c \u043f\u0440\u043e\u0442\u044f\u043d\u0443\u0442\u044c \u0434\u043e \u043a\u0430\u0440\u0430\u043d\u0442\u0438\u043d\u0430, \u0443\u0441\u043f\u0435\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u044b\u0440\u043a\u0443 \u0432 \u0441\u0442\u0435\u043d\u0435 \u043f\u0440\u043e\u0441\u0432\u0435\u0440\u043b\u0438\u0442\u044c \u0434\u043b\u044f \u043a\u0430\u0431\u0435\u043b\u044f).<\/p>\n<p><\/p>\n<h2 id=\"kak-zakazat-r64\">\u041a\u0430\u043a \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c R64<\/h2>\n<p><\/p>\n<p>\u0421\u0430\u043c\u0430 \u043f\u043b\u0430\u0442\u0430 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/aliexpress.ru\/item\/4000113520641.html\" rel=\"nofollow\">SinoVoip<\/a><\/noindex>.<br \/>\n\u0422\u0430\u043a\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c:<\/p>\n<p><\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/aliexpress.ru\/item\/32824593184.html\" rel=\"nofollow\">\u043f\u0438\u0442\u0430\u043d\u0438\u0435<\/a><\/noindex> + \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 \u0448\u0442\u0435\u043a\u0435\u0440\u0430 \u0415\u0421 \u0438\u043b\u0438 \u0421\u0428\u0410<\/li>\n<li>\u0442\u0435\u043f\u043b\u043e\u043e\u0442\u0432\u043e\u0434: \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u044b\/\u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0442\u043e\u0440\u044b; \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0438 CPU \u0433\u0440\u0435\u0435\u0442\u0441\u044f, \u0438 \u0447\u0438\u043f switch-\u0430<\/li>\n<li>\u0430\u043d\u0442\u0435\u043d\u043d\u0443 \u0434\u043b\u044f wifi, <noindex><a rel=\"nofollow\" href=\"https:\/\/aliexpress.ru\/item\/32812451073.html\" rel=\"nofollow\">\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440<\/a><\/noindex><\/li>\n<\/ul>\n<p><\/p>\n<p>\u0415\u0441\u0442\u044c \u043d\u044e\u0430\u043d\u0441 \u2014 \u0446\u0435\u043d\u0430 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0441 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0442\u0430\u043b\u0430 \u043d\u0435\u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435. \u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 Judy Huang \u0443\u0431\u0435\u0436\u0434\u0430\u043b\u0430 \u043c\u0435\u043d\u044f, \u0447\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0435\u0442, \u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c ePacket \u0437\u0430 $5, \u043d\u043e \u044f \u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u0434\u043b\u044f \u0420\u043e\u0441\u0441\u0438\u0438 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e EMS \u0437\u0430 &gt;33$. \u041d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u043d\u043e \u043d\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e. \u041f\u0440\u0438\u0447\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0443 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 (\u043f\u0435\u0440\u0435\u0431\u0440\u0430\u043b \u0432\u0441\u0435 \u043a\u043e\u043d\u0442\u0438\u043d\u0435\u043d\u0442\u044b), \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430 ~5$. \u0420\u0443\u0441\u043e\u0444\u043e\u0431\u044b?.. \u041d\u043e \u043f\u043e\u0442\u043e\u043c \u044f \u043d\u0430\u0448\u0435\u043b, \u0447\u0442\u043e \u0434\u043b\u044f \u0424\u0440\u0430\u043d\u0446\u0438\u0438 \u0446\u0435\u043d\u0430 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0442\u043e\u0436\u0435 ~30$, \u0438 \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u0441\u044f.<\/p>\n<p><\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 Judy \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043a\u0430\u0437, \u043d\u043e \u043d\u0435 \u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0442\u044c (<em>hint<\/em>: \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0442\u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043e\u043f\u043b\u0430\u0442\u0430 \u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u0430); \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0439, \u0438 \u043e\u043d\u0430 \u0441\u043d\u0438\u0437\u0438\u0442 \u0446\u0435\u043d\u0443 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0434\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439. \u0423\u0441\u043f\u0435\u0445.<\/p>\n<p><\/p>\n<h2 id=\"issues\">Issues<\/h2>\n<p><\/p>\n<p>\u041d\u0435 \u0432\u0441\u0435 \u043f\u043e\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p><\/p>\n<h3 id=\"proizvoditelnost\">\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h3>\n<p><\/p>\n<p>\u041c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b Ansible=Python, \u0434\u0430\u0436\u0435 \u0445\u043e\u043b\u043e\u0441\u0442\u044b\u0435, \u043f\u043e 20-30 \u0441\u0435\u043a\u0443\u043d\u0434; \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043d\u0430 \u043d\u043e\u0443\u0442\u0435 x86. \u041f\u0440\u0438\u0447\u0435\u043c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, ~3 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0437\u0430\u0442\u0435\u043c \u0440\u0435\u0437\u043a\u043e \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u044e\u0442\u0441\u044f. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u0437-\u0437\u0430 \u043d\u0430\u0433\u0440\u0435\u0432\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f CPU (throttling). \u041a\u043e\u0434 \u043d\u0430 Go \u0442\u043e\u0436\u0435 \u0434\u043e\u043b\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<p><\/p>\n<pre><code class=\"bash\"># \u0437\u0430\u043f\u0440\u043e\u0441 \u043c\u0435\u0442\u0440\u0438\u043a \u0434\u043b\u044f \u043f\u0440\u043e\u043c\u0435\u0442\u0435\u044f \u0438\u0437 node_exporter \u043d\u0430 Go\n$ time curl -s http:\/\/172.30.1.1:9100\/metrics &gt; \/dev\/null\n\nreal    0m6,118s\nuser    0m0,005s\nsys     0m0,009s\n\n# \u043e\u0434\u043d\u0430\u043a\u043e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 51 \u0433\u0440\u0430\u0434\u0443\u0441, \u043d\u0435 \u0442\u0430\u043a \u0438 \u043c\u043d\u043e\u0433\u043e\nsa@bananapir64:~$ cat \/sys\/devices\/virtual\/thermal\/thermal_zone0\/temp\n51700<\/code><\/pre>\n<p><\/p>\n<h3 id=\"wifi\">Wifi<\/h3>\n<p><\/p>\n<p>Wifi \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043d\u0430 Armbian \u0433\u0434\u0435-\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u0441\u0443\u0442\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442, \u043f\u0438\u0448\u0435\u0442:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">sa@bananapir64:~$ dmesg | grep -E 'mt7622_wmac.*timeout'\n[470303.802539] mt7622_wmac 18000000.wmac: Message 38 (seq 3) timeout\n[470314.042508] mt7622_wmac 18000000.wmac: Message 50 (seq 4) timeout\n...<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u0440\u0435\u0441\u0442\u0430\u0440\u0442. \u041d\u0430\u0434\u043e \u0434\u0430\u043b\u044c\u0448\u0435 <noindex><a rel=\"nofollow\" href=\"http:\/\/forum.banana-pi.org\/t\/bpi-r64-mt7622-mac80211-wifi-driver\/10246\/35\" rel=\"nofollow\">\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f<\/a><\/noindex>.<\/p>\n<p><\/p>\n<h3 id=\"ethernet\">Ethernet<\/h3>\n<p><\/p>\n<p>Ethernet \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0447\u0435\u0440\u0435\u0437 ~\u0441\u0443\u0442\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u044b (DHCP) \u043e\u0442 R64 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u044e\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c.<br \/>\n\u041f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0440\u0435\u0441\u0442\u0430\u0440\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">ifdown br0; sleep 30; ifup br0<\/code><\/pre>\n<p><\/p>\n<p>\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043d\u043e\u0432\u044b\u0439, \u0432 \u044f\u0434\u0440\u043e \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u0438\u043d\u044f\u043b\u0438, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043a\u0438\u0442\u0430\u0435\u0446 Landen Chao <noindex><a rel=\"nofollow\" href=\"https:\/\/patchwork.kernel.org\/project\/linux-mediatek\/list\/?submitter=189635\" rel=\"nofollow\">\u0434\u043e\u043f\u0438\u043b\u0438\u0442<\/a><\/noindex>.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/496610\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>Banana Pi 64 \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e \u0442\u0438\u043f\u0443 Raspberry Pi, \u043d\u043e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 Ethernet, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Linu\u0445 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0414\u0430, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Openwrt, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0438 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441\u0432\u043e\u0439 GUI \u0438 CLI; \u0435\u0441\u0442\u044c Mikrotik, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0432\u043e\u0439 GUI\/CLI, \u0434\u0430 \u0438 Wireguard \u0438\u0437 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":77748,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-77747","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Banana Pi 64 \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e \u0442\u0438\u043f\u0443 Raspberry Pi, \u043d\u043e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 Ethernet, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Linu\u0445 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0414\u0430, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Openwrt, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0438 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441\u0432\u043e\u0439 GUI \u0438 CLI; \u0435\u0441\u0442\u044c Mikrotik, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0432\u043e\u0439 GUI\/CLI, \u0434\u0430 \u0438 Wireguard \u0438\u0437\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"it_IT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Banana Pi R64 \u2014 Debian, Wireguard, \u0420\u041a\u041d | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"Banana Pi 64 \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e \u0442\u0438\u043f\u0443 Raspberry Pi, \u043d\u043e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 Ethernet, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Linu\u0445 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0414\u0430, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Openwrt, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0438 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441\u0432\u043e\u0439 GUI \u0438 CLI; \u0435\u0441\u0442\u044c Mikrotik, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0432\u043e\u0439 GUI\/CLI, \u0434\u0430 \u0438 Wireguard \u0438\u0437\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-13T11:42:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-13T11:42:21+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Router Banana Pi R64 \u2014 Debian, Wireguard, Roskomnadzor | ProHoster","description":"Banana Pi 64 \u00e8 un computer a scheda singola simile al Raspberry Pi, ma con pi\u00f9 porte Ethernet, che permette di trasformarlo in un router basato su una distribuzione Linux di uso generale. S\u00ec, c'\u00e8 gi\u00e0 Openwrt, ma ha le sue difficolt\u00e0 con il proprio GUI e CLI; c'\u00e8 Mikrotik, ma anche questo ha il proprio GUI\/CLI, e Wireguard da","canonical_url":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"it_IT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 Banana Pi R64 \u2014 Debian, Wireguard, \u0420\u041a\u041d | ProHoster","og:description":"Banana Pi 64 \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e \u0442\u0438\u043f\u0443 Raspberry Pi, \u043d\u043e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 Ethernet, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Linu\u0445 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0414\u0430, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Openwrt, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0438 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441\u0432\u043e\u0439 GUI \u0438 CLI; \u0435\u0441\u0442\u044c Mikrotik, \u043d\u043e \u0443 \u043d\u0435\u0433\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0432\u043e\u0439 GUI\/CLI, \u0434\u0430 \u0438 Wireguard \u0438\u0437","og:url":"https:\/\/prohoster.info\/it\/blog\/administrirovanie\/marshrutizator-banana-pi-r64-debian-wireguard-rkn","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-04-13T11:42:21+00:00","article:modified_time":"2020-04-13T11:42:21+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"77747","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:12:26","updated":"2022-09-30 15:38:30"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/77747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/comments?post=77747"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/77747\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media\/77748"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media?parent=77747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/categories?post=77747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/tags?post=77747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}