{"id":479257,"date":"2026-05-11T03:22:46","date_gmt":"2026-05-11T03:22:46","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=479257"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=479257","title":{"rendered":"\u0412\u043e\u043b\u043a \u0438\u0449\u0435\u0442 ip \u0441\u0435\u0440\u0432\u0435\u0440\u0430? \u041f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 \u043f\u0438\u0440\u043e\u0436\u043e\u043a \u0447\u0435\u0440\u0435\u0437 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e"},"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\/3f9\/4a3\/45f\/3f94a345f52cad292d6245f984ecc798.png\" width=\"800\" height=\"412\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/3f9\/4a3\/45f\/3f94a345f52cad292d6245f984ecc798.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3f9\/4a3\/45f\/3f94a345f52cad292d6245f984ecc798.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043d\u043e-\u043d\u0435\u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435, \u0438 \u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0441\u0442\u0430\u0442\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043a\u043e\u043c\u0443 \u0443\u0433\u043e\u0434\u043d\u043e. \u041a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043e\u043d\u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 wi-fi \u0438\u043b\u0438 LTE, \u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434 \u0443\u0433\u0440\u043e\u0437\u0443 \u0430\u0442\u0430\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 (\u0438\u043b\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430). <\/p>\n<p>\u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0437\u0430 Cloudflare \u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c  \u0434\u043e\u0441\u0442\u0443\u043f  \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439  &#171;\u0447\u0438\u0441\u0442\u044b\u0439&#187; ip Cloudflare, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f dns \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0438\u043c cloudflare \u043f\u043e SNI \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u043d\u0435\u0433\u043e, \u0438 handshake \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c &#8212; \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0441\u043c\u0443\u0449\u0430\u0442\u044c. <\/p>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0441\u0430\u043c\u0438\u0436 \u0438 \u043a\u0430\u043a \u0432\u044b \u0443\u0436\u0435 \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c \u043f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 &#8212; \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0441\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c websockets \u0438 \u0441 cloudflare worker. <\/p>\n<p>\u041d\u0435 \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u043e\u0442\u043a\u0440\u043e\u044e \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442, \u043d\u043e \u0434\u043b\u044f  SNI \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0441 dns cloudflare, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d\u044b \u043e\u0442 DigitalPlat. <\/p>\n<p>\u0412\u0445\u043e\u0434\u043d\u043e\u0439 websocket \u043f\u043e\u0442\u043e\u043a \u044d\u0442\u043e\u0442 worker \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0443\u0436\u0435 \u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c ip \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u0442\u0435\u043c-\u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e Lets Encrypt \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0434\u0430\u0451\u0442 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u043d\u0430 ip, \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442. <\/p>\n<p>\u0410 \u0447\u0442\u043e\u0431\u044b \u043d\u0438 \u0443 \u043a\u043e\u0433\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043e\u0431\u0438\u0434\u0435\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0443\u0437\u043d\u0430\u0432 \u0435\u0433\u043e \u0430\u0434\u0440\u0435\u0441 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 &#8212;  \u0434\u043b\u044f \u043d\u0438\u0445 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c ip \u0438 \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e.<\/p>\n<p> \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c &#8212; \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u0430\u043a \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e ip \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e,  \u043d\u043e \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441 &#8212; \u0430 \u043a\u0430\u043a\u0438\u0435 \u0435\u0449\u0451 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u0440\u043e\u043c\u0435 Cloudflare \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e, \u0438 \u043d\u0435\u0442 \u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0438\u0437\u044f\u0449\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f? <\/p>\n<p>\u0414\u043b\u044f \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043c\u043e\u0439 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 &#8212; \u0432\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 (\u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0437\u0430 \u0441\u044b\u0440\u043e\u0441\u0442\u044c) \u043a\u043e\u0434\u0430 worker \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 dummy \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 &#8212; \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0438\u0445 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<pre><code class=\"javascript\">import { connect } from 'cloudflare:sockets';export default {  async fetch(request, env, ctx) {    \/\/ 1. \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c IP    const clientIP = request.headers.get(\"CF-Connecting-IP\");    \/\/ 2. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c const allowedIPv4 = \"127.0.0.1\";  \/\/ \u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435const allowedIPv6Prefix = \"fe80:\"; \/\/ \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435if (clientIP !== allowedIPv4 &amp;&amp; !clientIP.startsWith(allowedIPv6Prefix)) {  return new Response(clientIP + \" -&gt; \u0412\u044b \u043a\u0442\u043e \u0442\u0430\u043a\u0438\u0435?\", { status: 403 });}    const upgradeHeader = request.headers.get('Upgrade');    if (!upgradeHeader || upgradeHeader !== 'websocket') {      return new Response('Bridge Active.', { status: 200 });    }    const vlConfig = {      address: '10.0.0.1',      port: 8080,    };  \/\/ \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0438 \u043f\u043e\u0440\u0442 \u043d\u0430 \u0432\u0430\u0448    const webSocketPair = new WebSocketPair();    const [client, server] = Object.values(webSocketPair);    server.accept();    handleProxy(server, vlConfig);    return new Response(null, {      status: 101,      webSocket: client,    });  }};async function handleProxy(ws, config) {  let tcpSocket = null;  let writer = null;  ws.addEventListener('message', async (event) =&gt; {    try {      const data = event.data instanceof ArrayBuffer ? event.data : await new Response(event.data).arrayBuffer();      if (!tcpSocket) {        \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f        tcpSocket = connect({ hostname: config.address, port: config.port });        writer = tcpSocket.writable.getWriter();        \/\/ \u0417\u0430\u043f\u0443\u0441\u043a \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0442\u0435\u043d\u0438\u044f        copyTcpToWs(tcpSocket.readable, ws);      }      await writer.write(new Uint8Array(data));    } catch (err) {      ws.close(1011);    }  });  ws.addEventListener('close', () =&gt; {    if (tcpSocket) tcpSocket.close();  });  ws.addEventListener('error', () =&gt; {    if (tcpSocket) tcpSocket.close();  });}\/** * \u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 TCP \u0432 WebSocket  *\/async function copyTcpToWs(tcpReadable, ws) {  try {    \/\/ \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0441\u0442\u0440\u0438\u043c\u043e\u0432 \u0434\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 CPU    await tcpReadable.pipeTo(new WritableStream({      write(chunk) {        ws.send(chunk);      },      close() {        ws.close();      },      abort(reason) {        ws.close(1011);      }    }));  } catch (err) {    try { ws.close(); } catch (e) { }  }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043a worker \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f hiddify \u0441 \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u043c<\/p>\n<pre><code class=\"json\">{ \"outbounds\": [  {   \"type\": \"vless\",   \"tag\": \"Worker-Bridge\",   \"server\": \"yoursubdomain.dpdns.org\",   \"server_port\": 443,   \"uuid\": \"UUID4REALPLZ\",   \"tls\": {    \"enabled\": true,    \"server_name\": \"yoursubdomain.dpdns.org\",    \"alpn\": \"http\/1.1\"   },   \"transport\": {    \"type\": \"ws\",    \"path\": \"\/\",    \"headers\": {     \"Host\": \"yoursubdomain.dpdns.org\"    },    \"early_data_header_name\": \"Sec-WebSocket-Protocol\"   },   \"packet_encoding\": \"xudp\"  } ], \"endpoints\": []<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u0440\u0430\u0444\u0438\u043a \u043c\u0435\u0436\u0434\u0443 worker \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 &#8212; \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u043e\u0432\u0435\u0440\u0445\u0435\u0434\u0430 \u0438 \u043e\u0442 \u0431\u0435\u0441\u0441\u0442\u044b\u0434\u043d\u043e\u0439 \u043b\u0435\u043d\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0448\u0438\u0444\u0440\u0443\u0435\u0442\u0441\u044f, \u043d\u043e \u0435\u0433\u043e \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u043c\u0443, \u0430 \u043f\u043e\u0441\u043b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442, \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442  UUID.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1033620\/\">https:\/\/habr.com\/ru\/articles\/1033620\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043d\u043e-\u043d\u0435\u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435, \u0438 \u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0441\u0442\u0430\u0442\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043a\u043e\u043c\u0443 \u0443\u0433\u043e\u0434\u043d\u043e. \u041a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043e\u043d\u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 wi-fi \u0438\u043b\u0438 LTE, \u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434 \u0443\u0433\u0440\u043e\u0437\u0443 \u0430\u0442\u0430\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 (\u0438\u043b\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430). \u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0437\u0430 Cloudflare \u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c  \u0434\u043e\u0441\u0442\u0443\u043f  \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439  &#171;\u0447\u0438\u0441\u0442\u044b\u0439&#187; ip Cloudflare, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f dns \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0438\u043c cloudflare \u043f\u043e SNI \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u043d\u0435\u0433\u043e, \u0438 handshake \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c &#8212; \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0441\u043c\u0443\u0449\u0430\u0442\u044c. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0441\u0430\u043c\u0438\u0436 \u0438 \u043a\u0430\u043a \u0432\u044b \u0443\u0436\u0435 \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c \u043f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 &#8212; \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0441\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c websockets \u0438 \u0441 cloudflare worker. \u041d\u0435 \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u043e\u0442\u043a\u0440\u043e\u044e \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442, \u043d\u043e \u0434\u043b\u044f  SNI \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0441 dns cloudflare, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d\u044b \u043e\u0442 DigitalPlat. \u0412\u0445\u043e\u0434\u043d\u043e\u0439 websocket \u043f\u043e\u0442\u043e\u043a \u044d\u0442\u043e\u0442 worker \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0443\u0436\u0435 \u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c ip \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u0442\u0435\u043c-\u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e Lets Encrypt \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0434\u0430\u0451\u0442 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u043d\u0430 ip, \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442. \u0410 \u0447\u0442\u043e\u0431\u044b \u043d\u0438 \u0443 \u043a\u043e\u0433\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043e\u0431\u0438\u0434\u0435\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0443\u0437\u043d\u0430\u0432 \u0435\u0433\u043e \u0430\u0434\u0440\u0435\u0441 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 &#8212;  \u0434\u043b\u044f \u043d\u0438\u0445 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c ip \u0438 \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c &#8212; \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u0430\u043a \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e ip \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e,  \u043d\u043e \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441 &#8212; \u0430 \u043a\u0430\u043a\u0438\u0435 \u0435\u0449\u0451 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u0440\u043e\u043c\u0435 Cloudflare \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e, \u0438 \u043d\u0435\u0442 \u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0438\u0437\u044f\u0449\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f? \u0414\u043b\u044f \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043c\u043e\u0439 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 &#8212; \u0432\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 (\u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0437\u0430 \u0441\u044b\u0440\u043e\u0441\u0442\u044c) \u043a\u043e\u0434\u0430 worker \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 dummy \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 &#8212; \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0438\u0445 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.import { connect } from &#8216;cloudflare:sockets&#8217;;export default {  async fetch(request, env, ctx) {    \/\/ 1. \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c IP    const clientIP = request.headers.get(&#171;CF-Connecting-IP&#187;);    \/\/ 2. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c const allowedIPv4 = &#171;127.0.0.1&#187;;  \/\/ \u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435const allowedIPv6Prefix = &#171;fe80:&#187;; \/\/ \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435if (clientIP !== allowedIPv4 &amp;&amp; !clientIP.startsWith(allowedIPv6Prefix)) {  return new Response(clientIP + &#187; -&gt; \u0412\u044b \u043a\u0442\u043e \u0442\u0430\u043a\u0438\u0435?&#187;, { status: 403 });}    const upgradeHeader = request.headers.get(&#8216;Upgrade&#8217;);    if (!upgradeHeader || upgradeHeader !== &#8216;websocket&#8217;) {      return new Response(&#8216;Bridge Active.&#8217;, { status: 200 });    }    const vlConfig = {      address: &#8216;10.0.0.1&#8217;,      port: 8080,    };  \/\/ \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0438 \u043f\u043e\u0440\u0442 \u043d\u0430 \u0432\u0430\u0448    const webSocketPair = new WebSocketPair();    const [client, server] = Object.values(webSocketPair);    server.accept();    handleProxy(server, vlConfig);    return new Response(null, {      status: 101,      webSocket: client,    });  }};async function handleProxy(ws, config) {  let tcpSocket = null;  let writer = null;  ws.addEventListener(&#8216;message&#8217;, async (event) =&gt; {    try {      const data = event.data instanceof ArrayBuffer ? event.data : await new Response(event.data).arrayBuffer();      if (!tcpSocket) {        \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f        tcpSocket = connect({ hostname: config.address, port: config.port });        writer = tcpSocket.writable.getWriter();        \/\/ \u0417\u0430\u043f\u0443\u0441\u043a \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0442\u0435\u043d\u0438\u044f        copyTcpToWs(tcpSocket.readable, ws);      }      await writer.write(new Uint8Array(data));    } catch (err) {      ws.close(1011);    }  });  ws.addEventListener(&#8216;close&#8217;, () =&gt; {    if (tcpSocket) tcpSocket.close();  });  ws.addEventListener(&#8216;error&#8217;, () =&gt; {    if (tcpSocket) tcpSocket.close();  });}\/** * \u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 TCP \u0432 WebSocket  *\/async function copyTcpToWs(tcpReadable, ws) {  try {    \/\/ \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0441\u0442\u0440\u0438\u043c\u043e\u0432 \u0434\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 CPU    await tcpReadable.pipeTo(new WritableStream({      write(chunk) {        ws.send(chunk);      },      close() {        ws.close();      },      abort(reason) {        ws.close(1011);      }    }));  } catch (err) {    try { ws.close(); } catch (e) { }  }}\u0421 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043a worker \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f hiddify \u0441 \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u043c{ &#171;outbounds&#187;: [  {   &#171;type&#187;: &#171;vless&#187;,   &#171;tag&#187;: &#171;Worker-Bridge&#187;,   &#171;server&#187;: &#171;yoursubdomain.dpdns.org&#187;,   &#171;server_port&#187;: 443,   &#171;uuid&#187;: &#171;UUID4REALPLZ&#187;,   &#171;tls&#187;: {    &#171;enabled&#187;: true,    &#171;server_name&#187;: &#171;yoursubdomain.dpdns.org&#187;,    &#171;alpn&#187;: &#171;http\/1.1&#187;   },   &#171;transport&#187;: {    &#171;type&#187;: &#171;ws&#187;,    &#171;path&#187;: &#171;\/&#187;,    &#171;headers&#187;: {     &#171;Host&#187;: &#171;yoursubdomain.dpdns.org&#187;    },    &#171;early_data_header_name&#187;: &#171;Sec-WebSocket-Protocol&#187;   },   &#171;packet_encoding&#187;: &#171;xudp&#187;  } ], &#171;endpoints&#187;: []\u0422\u0440\u0430\u0444\u0438\u043a \u043c\u0435\u0436\u0434\u0443 worker \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 &#8212; \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u043e\u0432\u0435\u0440\u0445\u0435\u0434\u0430 \u0438 \u043e\u0442 \u0431\u0435\u0441\u0441\u0442\u044b\u0434\u043d\u043e\u0439 \u043b\u0435\u043d\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0448\u0438\u0444\u0440\u0443\u0435\u0442\u0441\u044f, \u043d\u043e \u0435\u0433\u043e \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u043c\u0443, \u0430 \u043f\u043e\u0441\u043b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442, \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442  UUID.\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\/1033620\/<\/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-479257","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/479257","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=479257"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/479257\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=479257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=479257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=479257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}