{"id":352307,"date":"2024-05-20T22:06:10","date_gmt":"2024-05-20T22:06:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=352307"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=352307","title":{"rendered":"<span>\u041a\u0430\u043a \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a Wireguard \u0447\u0435\u0440\u0435\u0437 shadowsocks \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0440\u0438\u0441\u043a \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 Wireguard \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u0442\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b \u0442\u0440\u0430\u0444\u0438\u043a \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0448\u0435\u043b \u0447\u0435\u0440\u0435\u0437 shadowsocks.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 Ubuntu 22.04 \u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043a\u0438\u043d\u0435\u0442\u0438\u043a, \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043d\u0430 \u043d\u0435\u043c Entware. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e WG \u0443\u0436\u0435 \u043f\u043e\u0434\u043d\u044f\u0442 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Entware.<\/p>\n<p>\u0418\u0442\u0430\u043a:<\/p>\n<p>1.1) \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0433\u0434\u0435 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wg \u0441\u0442\u0430\u0432\u0438\u043c<\/p>\n<p><code>sudo apt install shadowsocks-libev<\/code><\/p>\n<p>1.2) \u043f\u043e\u0442\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b<\/p>\n<p><code>vi \/etc\/shadowsocks-libev\/config.json<\/code><\/p>\n<p><code>{<br \/> \"server\": \"0.0.0.0\",<br \/> \"mode\":\"tcp_and_udp\",<br \/> \"server_port\":{server-port},<br \/> \"password\":\"{password}\",<br \/> \"timeout\":300,<br \/> \"method\":\"chacha20-ietf-poly1305\"<br \/> }<\/code><\/p>\n<p>\u0433\u0434\u0435 <code>{server-port}<\/code> &#8212; \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 ss, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 8421<\/p>\n<p><code>{password}<\/code>&#8212; \u043b\u044e\u0431\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439<\/p>\n<p>1.3) \u041f\u043e\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c<\/p>\n<p><code>systemctl restart shadowsocks-libev.service<\/code><\/p>\n<p><code>systemctl status shadowsocks-libev.service<\/code><\/p>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0432\u0435\u043b\u0441\u044f<\/p>\n<p>2.1) \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0440\u043e\u0443\u0442\u0435\u0440\u0443.<\/p>\n<p>\u0421\u0442\u0430\u0432\u0438\u043c \u043d\u0430 \u043d\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u044b<\/p>\n<p><code>opkg install shadowsocks-libev-ss-tunnel shadowsocks-libev-config<\/code><\/p>\n<p>2.2) \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433<\/p>\n<p><code>vi \/opt\/etc\/shadowsocks.json<\/code><\/p>\n<p><code>{<br \/> \"server\": \"{server-ip}\",<br \/> \"mode\":\"tcp_and_udp\",<br \/> \"server_port\":{server-port},<br \/> \"local_address\": \"0.0.0.0\",<br \/> \"local_port\":{local-port},<br \/> \"password\":\"{password}\",<br \/> \"timeout\":300,<br \/> \"method\":\"chacha20-ietf-poly1305\",<br \/> \"tunnel_address\": \"127.0.0.1:{wireguard-port}\"<br \/> }<\/code><\/p>\n<p>\u0433\u0434\u0435 <code>{server-port}<\/code> \u0438 <code>{password}<\/code> \u044d\u0442\u043e \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 1.2<\/p>\n<p><code>{server-ip}<\/code> &#8212; ip \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wireguard \u0438 ss<\/p>\n<p><code>{local-port}<\/code> &#8212; \u043b\u044e\u0431\u043e\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 51822<\/p>\n<p><code>{wireguard-port}<\/code> &#8212; \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 51820<\/p>\n<p>2.3) \u043f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b<\/p>\n<p><code>vi \/opt\/etc\/init.d\/S22shadowsocks<\/code><\/p>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 <code>PROCS=ss-*<\/code> \u043d\u0430 <code>PROCS=ss-tunnel<\/code><\/p>\n<p>\u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c ss \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/p>\n<p><code>\/opt\/etc\/init.d\/S22shadowsocks restart<\/code><\/p>\n<p><code>\/opt\/etc\/init.d\/S22shadowsocks check<\/code><\/p>\n<p>3.1) \u0418\u0434\u0435\u043c \u0432 \u0432\u0435\u0431 \u043c\u043e\u0440\u0434\u0443 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0443\u0436\u043d\u043e\u0433\u043e wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u0432 \u043f\u0438\u0440\u0435 \u0432\u043c\u0435\u0441\u0442\u043e <code>{server-ip}<\/code>:{<code>wireguard-port}<\/code> \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c <code>127.0.0.1:{local-port}<\/code><\/p>\n<p>\u0412\u0441\u0435! \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 wg  \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 ss \u0438 \u0438\u0434\u0442\u0438 \u0443\u0436\u0435 \u043f\u043e\u0434 \u043d\u0438\u043c. \u0422\u0430\u043a \u043a\u0430\u043a \u0438 ss \u0438  wg \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0443\u043f\u0430\u043b\u0430 \u0432 \u0434\u0432\u043e\u0435, \u043f\u043e  \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c wg \u0431\u0435\u0437 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 ss. \u0417\u0430\u0442\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u043e.<\/p>\n<p>\u041f.\u0421.: \u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/070\/475\/0c0\/0704750c013171980716c56805baafae.png\" width=\"789\" height=\"324\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/070\/475\/0c0\/0704750c013171980716c56805baafae.png\"\/><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/754926\/\"> https:\/\/habr.com\/ru\/articles\/754926\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0440\u0438\u0441\u043a \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 Wireguard \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u0442\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b \u0442\u0440\u0430\u0444\u0438\u043a \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0448\u0435\u043b \u0447\u0435\u0440\u0435\u0437 shadowsocks.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 Ubuntu 22.04 \u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043a\u0438\u043d\u0435\u0442\u0438\u043a, \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043d\u0430 \u043d\u0435\u043c Entware. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e WG \u0443\u0436\u0435 \u043f\u043e\u0434\u043d\u044f\u0442 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Entware.<\/p>\n<p>\u0418\u0442\u0430\u043a:<\/p>\n<p>1.1) \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0433\u0434\u0435 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wg \u0441\u0442\u0430\u0432\u0438\u043c<\/p>\n<p><code>sudo apt install shadowsocks-libev<\/code><\/p>\n<p>1.2) \u043f\u043e\u0442\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b<\/p>\n<p><code>vi \/etc\/shadowsocks-libev\/config.json<\/code><\/p>\n<p><code>{<br \/> \"server\": \"0.0.0.0\",<br \/> \"mode\":\"tcp_and_udp\",<br \/> \"server_port\":{server-port},<br \/> \"password\":\"{password}\",<br \/> \"timeout\":300,<br \/> \"method\":\"chacha20-ietf-poly1305\"<br \/> }<\/code><\/p>\n<p>\u0433\u0434\u0435 <code>{server-port}<\/code> &#8212; \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 ss, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 8421<\/p>\n<p><code>{password}<\/code>&#8212; \u043b\u044e\u0431\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439<\/p>\n<p>1.3) \u041f\u043e\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c<\/p>\n<p><code>systemctl restart shadowsocks-libev.service<\/code><\/p>\n<p><code>systemctl status shadowsocks-libev.service<\/code><\/p>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0432\u0435\u043b\u0441\u044f<\/p>\n<p>2.1) \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0440\u043e\u0443\u0442\u0435\u0440\u0443.<\/p>\n<p>\u0421\u0442\u0430\u0432\u0438\u043c \u043d\u0430 \u043d\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u044b<\/p>\n<p><code>opkg install shadowsocks-libev-ss-tunnel shadowsocks-libev-config<\/code><\/p>\n<p>2.2) \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433<\/p>\n<p><code>vi \/opt\/etc\/shadowsocks.json<\/code><\/p>\n<p><code>{<br \/> \"server\": \"{server-ip}\",<br \/> \"mode\":\"tcp_and_udp\",<br \/> \"server_port\":{server-port},<br \/> \"local_address\": \"0.0.0.0\",<br \/> \"local_port\":{local-port},<br \/> \"password\":\"{password}\",<br \/> \"timeout\":300,<br \/> \"method\":\"chacha20-ietf-poly1305\",<br \/> \"tunnel_address\": \"127.0.0.1:{wireguard-port}\"<br \/> }<\/code><\/p>\n<p>\u0433\u0434\u0435 <code>{server-port}<\/code> \u0438 <code>{password}<\/code> \u044d\u0442\u043e \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 1.2<\/p>\n<p><code>{server-ip}<\/code> &#8212; ip \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wireguard \u0438 ss<\/p>\n<p><code>{local-port}<\/code> &#8212; \u043b\u044e\u0431\u043e\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 51822<\/p>\n<p><code>{wireguard-port}<\/code> &#8212; \u044d\u0442\u043e \u043f\u043e\u0440\u0442 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 51820<\/p>\n<p>2.3) \u043f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b<\/p>\n<p><code>vi \/opt\/etc\/init.d\/S22shadowsocks<\/code><\/p>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 <code>PROCS=ss-*<\/code> \u043d\u0430 <code>PROCS=ss-tunnel<\/code><\/p>\n<p>\u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c ss \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/p>\n<p><code>\/opt\/etc\/init.d\/S22shadowsocks restart<\/code><\/p>\n<p><code>\/opt\/etc\/init.d\/S22shadowsocks check<\/code><\/p>\n<p>3.1) \u0418\u0434\u0435\u043c \u0432 \u0432\u0435\u0431 \u043c\u043e\u0440\u0434\u0443 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0443\u0436\u043d\u043e\u0433\u043e wg \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u0432 \u043f\u0438\u0440\u0435 \u0432\u043c\u0435\u0441\u0442\u043e <code>{server-ip}<\/code>:{<code>wireguard-port}<\/code> \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c <code>127.0.0.1:{local-port}<\/code><\/p>\n<p>\u0412\u0441\u0435! \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 wg  \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 ss \u0438 \u0438\u0434\u0442\u0438 \u0443\u0436\u0435 \u043f\u043e\u0434 \u043d\u0438\u043c. \u0422\u0430\u043a \u043a\u0430\u043a \u0438 ss \u0438  wg \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0443\u043f\u0430\u043b\u0430 \u0432 \u0434\u0432\u043e\u0435, \u043f\u043e  \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c wg \u0431\u0435\u0437 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 ss. \u0417\u0430\u0442\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u043e.<\/p>\n<p>\u041f.\u0421.: \u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b<\/p>\n<figure class=\"full-width\"><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/754926\/\"> https:\/\/habr.com\/ru\/articles\/754926\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-352307","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/352307","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=352307"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/352307\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=352307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=352307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=352307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}