{"id":476883,"date":"2026-04-21T20:45:22","date_gmt":"2026-04-21T20:45:22","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=476883"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=476883","title":{"rendered":"\u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c Split\u2011Tunneling \u043d\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0434\u043b\u044f AmneziaWG"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/69b\/02d\/420\/69b02d4208dbcc15b5d751fbc643dd8c.png\" width=\"1536\" height=\"1024\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/69b\/02d\/420\/69b02d4208dbcc15b5d751fbc643dd8c.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/69b\/02d\/420\/69b02d4208dbcc15b5d751fbc643dd8c.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c VPN \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u0442\u043e \u0438 \u0434\u0435\u043b\u043e \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0437-\u0437\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e VPN \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u042f \u043d\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0438\u0440\u0443\u044e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043e\u0431\u0445\u043e\u0434\u0430 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043e\u043a, \u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u041e\u0421 \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445.<\/p>\n<p>\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043e\u043f\u044b\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 AmneziaWG \u043d\u0430 Debian 11. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c <strong>\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 split\u2011tunneling<\/strong>, \u0433\u0434\u0435:<\/p>\n<ul>\n<li>\n<p><strong>\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0444\u0438\u043a \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 awg0 (\u0421\u0435\u0440\u0432\u0435\u0440 2)<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0432\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u2014 \u0447\u0435\u0440\u0435\u0437 eth0 (\u0447\u0435\u0440\u0435\u0437 \u0421\u0435\u0440\u0432\u0435\u0440 1)<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438<\/strong><\/p>\n<\/li>\n<\/ul>\n<p><strong>1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 AmneziaWG \u043d\u0430 Debian<\/strong><\/p>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 PPA AmneziaWG \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f Ubuntu, \u0430 \u043d\u0435 Debian (\u043f\u0440\u0438\u0447\u0435\u043c \u0441\u0430\u043c\u0430\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430\u044f \u043c\u043d\u0435 \u0432 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f Debian, \u0431\u044b\u043b\u0430 11). \u0415\u0441\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 <code>amneziawg-dkms<\/code>, \u043e\u043d <strong>\u043d\u0435 \u0441\u043e\u0431\u0435\u0440\u0451\u0442\u0441\u044f<\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e:<\/p>\n<ul>\n<li>\n<p>\u044f\u0434\u0440\u043e Debian \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 Ubuntu<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 kernel headers<\/p>\n<\/li>\n<li>\n<p>DKMS \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 Debian AmneziaWG \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 <strong>\u0432 userspace\u2011\u0440\u0435\u0436\u0438\u043c\u0435<\/strong>, \u0438 \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<p><code>sudo apt install -y software-properties-common python3-launchpadlib gnupg2 curl <\/code><\/p>\n<p><code>sudo apt-key adv --keyserver <\/code><a href=\"http:\/\/keyserver.ubuntu.com\" rel=\"noopener noreferrer nofollow\"><code>keyserver.ubuntu.com<\/code><\/a><code> --recv-keys 57290828 <\/code><\/p>\n<p><code>echo \u201cdeb <\/code><a href=\"https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu\" rel=\"noopener noreferrer nofollow\"><code>https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu<\/code><\/a><code> focal main\u201d | sudo tee \/etc\/apt\/sources.list.d\/amneziawg.list <\/code><\/p>\n<p><code>echo \u201cdeb-src <\/code><a href=\"https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu\" rel=\"noopener noreferrer nofollow\"><code>https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu<\/code><\/a><code> focal main\u201d | sudo tee -a \/etc\/apt\/sources.list.d\/amneziawg.list <\/code><\/p>\n<p><code>sudo apt update sudo apt install -y amneziawg<\/code><\/p>\n<p>\u041d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>linux-headers-$(uname -r<\/code> \u0438 \u0434\u043b\u044f \u043c\u043e\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u041e\u0421 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<p><code>echo \u201cdeb <\/code><a href=\"http:\/\/deb.debian.org\/debian\" rel=\"noopener noreferrer nofollow\"><code>http:\/\/deb.debian.org\/debian<\/code><\/a><code> bullseye-backports main\u201d | sudo tee \/etc\/apt\/sources.list.d\/backports.list <\/code><\/p>\n<p><code>sudo apt update sudo <\/code><\/p>\n<p><code>apt install -t bullseye-backports linux-image-5.15-amd64 linux-headers-5.15-amd64 <\/code><\/p>\n<p>\u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438:<br \/><code>sudo mkdir -p \/etc\/amnezia\/amneziawg <\/code><br \/><code>sudo cp my.conf \/etc\/amnezia\/amneziawg\/awg0.conf <\/code><br \/><code>sudo chmod 600 \/etc\/amnezia\/amneziawg\/awg0.conf<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 awg0 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f:<\/p>\n<p><code>sudo awg-quick up awg0<\/code><\/p>\n<p>\u041d\u043e \u044d\u0442\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u043f\u0440\u043e\u043f\u0430\u0434\u0435\u0442 \u0441\u0432\u044f\u0437\u044c \u043f\u043e SSH &#8212; \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 AWG-\u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 IP. \u041c\u043e\u0436\u043d\u043e &#8212; \u0430 \u0437\u0430\u0447\u0435\u043c? \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c&#8230;<\/p>\n<p><strong>2. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: AmneziaWG \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a<\/strong><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430:<\/p>\n<p><code>awg-quick up awg0 <\/code><\/p>\n<p>AmneziaWG \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438:<\/p>\n<ul>\n<li>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 default route \u0447\u0435\u0440\u0435\u0437 awg0<\/p>\n<\/li>\n<li>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 fwmark\u2011\u043f\u0440\u0430\u0432\u0438\u043b\u043e<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 51820<\/p>\n<\/li>\n<li>\n<p>\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0432 \u0442\u0443\u043d\u043d\u0435\u043b\u044c<\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439 Split\u2011Tunneling<\/p>\n<p><strong>3. \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c systemd\u2011\u044e\u043d\u0438\u0442\u044b AmneziaWG<\/strong><\/p>\n<p>Debian \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u044e\u043d\u0438\u0442\u044b:<\/p>\n<ul>\n<li>\n<p><code>awg0.service<\/code><\/p>\n<\/li>\n<li>\n<p><code>awg-quick@awg0.service<\/code><\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u043d\u0438 <strong>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 fwmark \u0438 default route<\/strong>, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0442 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<p>\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c:<\/p>\n<p><code>sudo systemctl disable awg0.service <\/code><\/p>\n<p><code>sudo systemctl disable awg-quick@awg0.service <\/code><\/p>\n<p><code>sudo systemctl stop awg0.service <\/code><\/p>\n<p><code>sudo systemctl stop awg-quick@awg0.service <\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c AWG \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0432\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<p><strong>4. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a AWG<\/strong><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c systemd\u2011\u044e\u043d\u0438\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439:<\/p>\n<ul>\n<li>\n<p>\u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 awg0<\/p>\n<\/li>\n<li>\n<p>\u0443\u0434\u0430\u043b\u044f\u0435\u0442 default route awg0<\/p>\n<\/li>\n<li>\n<p>\u0443\u0434\u0430\u043b\u044f\u0435\u0442 fwmark<\/p>\n<\/li>\n<li>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 Telegram\u2011\u043f\u043e\u0434\u0441\u0435\u0442\u0438<\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/p>\n<\/li>\n<\/ul>\n<p><code>sudo nano \/etc\/systemd\/system\/awg-start.service<\/code><\/p>\n<p><code>[Unit] <br \/>Description=Start AmneziaWG (awg0) cleanly with split tunneling <br \/>After=network-online.target <br \/>Wants=network-online.target  <br \/>[Service] <br \/>Type=oneshot ExecStart=\/usr\/local\/bin\/awg-start.sh  <br \/>[Install] <br \/>WantedBy=multi-user.target <\/code><\/p>\n<p><strong>5. \u0421\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e<\/strong><\/p>\n<p><code>sudo nano \/usr\/local\/bin\/awg-start.sh<\/code><\/p>\n<p><code>#!\/bin\/bash  <br \/># \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c AWG <br \/>awg-quick up awg0  <br \/># \u0416\u0434\u0451\u043c \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 <br \/>for i in {1..10}; do<br \/>     if ip link show awg0 &gt;\/dev\/null 2&gt;&amp;1; then<br \/>         break<br \/>     fi<br \/>     sleep 1<br \/>done  <br \/># \u0423\u0434\u0430\u043b\u044f\u0435\u043c default route, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 AmneziaWG \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 <br \/>ip route del default dev awg0 2&gt;\/dev\/null  <br \/># \u0423\u0434\u0430\u043b\u044f\u0435\u043c fwmark-\u043f\u0440\u0430\u0432\u0438\u043b\u043e <br \/>ip rule del fwmark 0xca6c table 51820 2&gt;\/dev\/null  <br \/># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c Telegram-\u043f\u043e\u0434\u0441\u0435\u0442\u0438 <br \/>nets=( 149.154.160.0\/20 149.154.164.0\/22 91.108.8.0\/22 91.108.56.0\/22 91.108.4.0\/22 95.161.64.0\/20 149.154.167.0\/24 91.108.16.0\/22 91.108.12.0\/22 91.105.192.0\/23 91.108.20.0\/22 185.76.151.0\/24 5.28.128.0\/17 )  <br \/>for net in \"${nets[@]}\"; do<br \/>     ip route add \"$net\" dev awg0 2&gt;\/dev\/null done  exit 0 <\/code><\/p>\n<p>\u0414\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:<\/p>\n<p><code>sudo chmod +x \/usr\/local\/bin\/<\/code><a href=\"http:\/\/awg-start.sh\" rel=\"noopener noreferrer nofollow\"><code>awg-start.sh<\/code><\/a><code> <\/code><\/p>\n<p><strong>6. \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a<\/strong><\/p>\n<p><code>sudo systemctl daemon-reload <\/code><\/p>\n<p><code>sudo systemctl enable awg-start.service <\/code><\/p>\n<p><code>sudo systemctl start awg-start.service <\/code><\/p>\n<p><strong>7. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/strong><\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0438\u043a:<\/p>\n<p>curl <a href=\"https:\/\/ifconfig.me\" rel=\"noopener noreferrer nofollow\">https:\/\/ifconfig.me<\/a> <\/p>\n<p>\u2192 \u0447\u0435\u0440\u0435\u0437 <strong>eth0<\/strong><\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 awg0:<\/p>\n<p>curl &#8212;interface awg0 <a href=\"https:\/\/ifconfig.me\" rel=\"noopener noreferrer nofollow\">https:\/\/ifconfig.me<\/a> <\/p>\n<p>\u2192 \u0447\u0435\u0440\u0435\u0437 <strong>awg0<\/strong><\/p>\n<p>\u041d\u0430\u0448 \u043c\u0430\u0440\u0448\u0440\u0443\u0442:<\/p>\n<p>ping 149.154.167.51 <\/p>\n<p>\u2192 \u0447\u0435\u0440\u0435\u0437 <strong>awg0<\/strong><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p><strong>\u0418\u0442\u043e\u0433<\/strong><\/p>\n<p>\u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0447\u0438\u0439 split\u2011tunneling \u0434\u043b\u044f AmneziaWG \u043d\u0430 Debian:<\/p>\n<ul>\n<li>\n<p>\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 DKMS<\/p>\n<\/li>\n<li>\n<p>\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0445 systemd\u2011\u044e\u043d\u0438\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 default\u2011\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 awg0<\/p>\n<\/li>\n<li>\n<p>\u0440\u0443\u0447\u043d\u043e\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 &#171;\u043d\u0443\u0436\u043d\u044b\u0445&#187; \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439<\/p>\n<\/li>\n<li>\n<p>\u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a AWG \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/p>\n<\/li>\n<\/ul>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c:<\/p>\n<ul>\n<li>\n<p><strong>\u041d\u0443\u0436\u043d\u044b\u0439 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 VPN (\u0421\u0435\u0440\u0432\u0435\u0440 2)<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0432\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u2014 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u0447\u0435\u0440\u0435\u0437 \u0421\u0435\u0440\u0432\u0435\u0440 1)<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e<\/strong><\/p>\n<\/li>\n<\/ul>\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\/articles\/1026328\/\">https:\/\/habr.com\/ru\/articles\/1026328\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c VPN \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u0442\u043e \u0438 \u0434\u0435\u043b\u043e \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0437-\u0437\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e VPN \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.\u042f \u043d\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0438\u0440\u0443\u044e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043e\u0431\u0445\u043e\u0434\u0430 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043e\u043a, \u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u041e\u0421 \u0432 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445.\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043e\u043f\u044b\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 AmneziaWG \u043d\u0430 Debian 11. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 split\u2011tunneling, \u0433\u0434\u0435:\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0444\u0438\u043a \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 awg0 (\u0421\u0435\u0440\u0432\u0435\u0440 2)\u0432\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u2014 \u0447\u0435\u0440\u0435\u0437 eth0 (\u0447\u0435\u0440\u0435\u0437 \u0421\u0435\u0440\u0432\u0435\u0440 1)\u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u04381. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 AmneziaWG \u043d\u0430 Debian\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 PPA AmneziaWG \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f Ubuntu, \u0430 \u043d\u0435 Debian (\u043f\u0440\u0438\u0447\u0435\u043c \u0441\u0430\u043c\u0430\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430\u044f \u043c\u043d\u0435 \u0432 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f Debian, \u0431\u044b\u043b\u0430 11). \u0415\u0441\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 amneziawg-dkms, \u043e\u043d \u043d\u0435 \u0441\u043e\u0431\u0435\u0440\u0451\u0442\u0441\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e:\u044f\u0434\u0440\u043e Debian \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 Ubuntu\u043d\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 kernel headersDKMS \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 Debian AmneziaWG \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 userspace\u2011\u0440\u0435\u0436\u0438\u043c\u0435, \u0438 \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:sudo apt install -y software-properties-common python3-launchpadlib gnupg2 curl sudo apt-key adv &#8212;keyserver keyserver.ubuntu.com &#8212;recv-keys 57290828 echo \u201cdeb https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu focal main\u201d | sudo tee \/etc\/apt\/sources.list.d\/amneziawg.list echo \u201cdeb-src https:\/\/ppa.launchpadcontent.net\/amnezia\/ppa\/ubuntu focal main\u201d | sudo tee -a \/etc\/apt\/sources.list.d\/amneziawg.list sudo apt update sudo apt install -y amneziawg\u041d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 linux-headers-$(uname -r \u0438 \u0434\u043b\u044f \u043c\u043e\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u041e\u0421 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e.echo \u201cdeb http:\/\/deb.debian.org\/debian bullseye-backports main\u201d | sudo tee \/etc\/apt\/sources.list.d\/backports.list sudo apt update sudo apt install -t bullseye-backports linux-image-5.15-amd64 linux-headers-5.15-amd64 \u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438:sudo mkdir -p \/etc\/amnezia\/amneziawg sudo cp my.conf \/etc\/amnezia\/amneziawg\/awg0.conf sudo chmod 600 \/etc\/amnezia\/amneziawg\/awg0.conf\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 awg0 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f:sudo awg-quick up awg0\u041d\u043e \u044d\u0442\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u043f\u0440\u043e\u043f\u0430\u0434\u0435\u0442 \u0441\u0432\u044f\u0437\u044c \u043f\u043e SSH &#8212; \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 AWG-\u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 IP. \u041c\u043e\u0436\u043d\u043e &#8212; \u0430 \u0437\u0430\u0447\u0435\u043c? \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c&#8230;2. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: AmneziaWG \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430:awg-quick up awg0 AmneziaWG \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438:\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 default route \u0447\u0435\u0440\u0435\u0437 awg0\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 fwmark\u2011\u043f\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 51820\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0432 \u0442\u0443\u043d\u043d\u0435\u043b\u044c\u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439 Split\u2011Tunneling3. \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c systemd\u2011\u044e\u043d\u0438\u0442\u044b AmneziaWGDebian \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u044e\u043d\u0438\u0442\u044b:awg0.serviceawg-quick@awg0.service\u041e\u043d\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 fwmark \u0438 default route, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0442 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c:sudo systemctl disable awg0.service sudo systemctl disable awg-quick@awg0.service sudo systemctl stop awg0.service sudo systemctl stop awg-quick@awg0.service \u0422\u0435\u043f\u0435\u0440\u044c AWG \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0432\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e.4. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a AWG\u0421\u043e\u0437\u0434\u0430\u0451\u043c systemd\u2011\u044e\u043d\u0438\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439:\u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 awg0\u0443\u0434\u0430\u043b\u044f\u0435\u0442 default route awg0\u0443\u0434\u0430\u043b\u044f\u0435\u0442 fwmark\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 Telegram\u2011\u043f\u043e\u0434\u0441\u0435\u0442\u0438\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438sudo nano \/etc\/systemd\/system\/awg-start.service[Unit] Description=Start AmneziaWG (awg0) cleanly with split tunneling After=network-online.target Wants=network-online.target  [Service] Type=oneshot ExecStart=\/usr\/local\/bin\/awg-start.sh  [Install] WantedBy=multi-user.target 5. \u0421\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044esudo nano \/usr\/local\/bin\/awg-start.sh#!\/bin\/bash  # \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c AWG awg-quick up awg0  # \u0416\u0434\u0451\u043c \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 for i in {1..10}; do     if ip link show awg0 &gt;\/dev\/null 2&gt;&amp;1; then         break     fi     sleep 1done  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c default route, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 AmneziaWG \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 ip route del default dev awg0 2&gt;\/dev\/null  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c fwmark-\u043f\u0440\u0430\u0432\u0438\u043b\u043e ip rule del fwmark 0xca6c table 51820 2&gt;\/dev\/null  # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c Telegram-\u043f\u043e\u0434\u0441\u0435\u0442\u0438 nets=( 149.154.160.0\/20 149.154.164.0\/22 91.108.8.0\/22 91.108.56.0\/22 91.108.4.0\/22 95.161.64.0\/20 149.154.167.0\/24 91.108.16.0\/22 91.108.12.0\/22 91.105.192.0\/23 91.108.20.0\/22 185.76.151.0\/24 5.28.128.0\/17 )  for net in &#171;${nets[@]}&#187;; do     ip route add &#171;$net&#187; dev awg0 2&gt;\/dev\/null done  exit 0 \u0414\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:sudo chmod +x \/usr\/local\/bin\/awg-start.sh 6. \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043asudo systemctl daemon-reload sudo systemctl enable awg-start.service sudo systemctl start awg-start.service 7. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0440\u0430\u0444\u0438\u043a:curl https:\/\/ifconfig.me \u2192 \u0447\u0435\u0440\u0435\u0437 eth0\u0427\u0435\u0440\u0435\u0437 awg0:curl &#8212;interface awg0 https:\/\/ifconfig.me \u2192 \u0447\u0435\u0440\u0435\u0437 awg0\u041d\u0430\u0448 \u043c\u0430\u0440\u0448\u0440\u0443\u0442:ping 149.154.167.51 \u2192 \u0447\u0435\u0440\u0435\u0437 awg0\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.\u0418\u0442\u043e\u0433\u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0447\u0438\u0439 split\u2011tunneling \u0434\u043b\u044f AmneziaWG \u043d\u0430 Debian:\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 DKMS\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0445 systemd\u2011\u044e\u043d\u0438\u0442\u043e\u0432\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 default\u2011\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 awg0\u0440\u0443\u0447\u043d\u043e\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 &#171;\u043d\u0443\u0436\u043d\u044b\u0445&#187; \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439\u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a AWG \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b\u0422\u0435\u043f\u0435\u0440\u044c:\u041d\u0443\u0436\u043d\u044b\u0439 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 VPN (\u0421\u0435\u0440\u0432\u0435\u0440 2)\u0432\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u2014 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u0447\u0435\u0440\u0435\u0437 \u0421\u0435\u0440\u0432\u0435\u0440 1)\u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1026328\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-476883","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/476883","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=476883"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/476883\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=476883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=476883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=476883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}