{"id":904,"date":"2026-06-15T10:25:12","date_gmt":"2026-06-15T02:25:12","guid":{"rendered":"https:\/\/www.suannai.link\/blog\/v2ray%e6%a0%b8%e5%bf%83%e5%8f%82%e6%95%b0%e9%85%8d%e7%bd%ae%ef%bc%9a%e4%bb%8e%e5%9f%ba%e7%a1%80%e5%88%b0%e9%ab%98%e7%ba%a7%e7%9a%84%e5%ae%8c%e6%95%b4%e8%a7%a3%e6%9e%90\/"},"modified":"2026-06-15T10:25:12","modified_gmt":"2026-06-15T02:25:12","slug":"v2ray%e6%a0%b8%e5%bf%83%e5%8f%82%e6%95%b0%e9%85%8d%e7%bd%ae%ef%bc%9a%e4%bb%8e%e5%9f%ba%e7%a1%80%e5%88%b0%e9%ab%98%e7%ba%a7%e7%9a%84%e5%ae%8c%e6%95%b4%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.suannai.link\/blog\/v2ray%e6%a0%b8%e5%bf%83%e5%8f%82%e6%95%b0%e9%85%8d%e7%bd%ae%ef%bc%9a%e4%bb%8e%e5%9f%ba%e7%a1%80%e5%88%b0%e9%ab%98%e7%ba%a7%e7%9a%84%e5%ae%8c%e6%95%b4%e8%a7%a3%e6%9e%90\/","title":{"rendered":"V2Ray\u6838\u5fc3\u53c2\u6570\u914d\u7f6e\uff1a\u4ece\u57fa\u7840\u5230\u9ad8\u7ea7\u7684\u5b8c\u6574\u89e3\u6790"},"content":{"rendered":"<p>V2Ray \u7684\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6 `config.json` \u51b3\u5b9a\u4e86\u6d41\u91cf\u5982\u4f55\u88ab\u8def\u7531\u3001\u52a0\u5bc6\u548c\u4f20\u8f93\u3002\u5f88\u591a\u7528\u6237\u5728\u521d\u6b21\u914d\u7f6e\u65f6\uff0c\u5e38\u56e0\u534f\u8bae\u7c7b\u578b\u6df7\u6dc6\u3001\u4f20\u8f93\u5c42\u53c2\u6570\u9519\u8bef\u6216\u8def\u7531\u89c4\u5219\u51b2\u7a81\u5bfc\u81f4\u8fde\u63a5\u5931\u8d25\u6216\u901f\u5ea6\u5f02\u5e38\u3002\u672c\u6587\u805a\u7126\u4e8e V2Ray \u6838\u5fc3\u53c2\u6570\u7684\u5b9e\u9645\u914d\u7f6e\u903b\u8f91\uff0c\u8be6\u7ec6\u62c6\u89e3 inbound\u3001outbound\u3001routing \u7b49\u5173\u952e\u6a21\u5757\u7684\u4f5c\u7528\u673a\u5236\uff0c\u5e76\u63d0\u4f9b\u9488\u5bf9\u5e38\u89c1\u95ee\u9898\u7684\u6392\u67e5\u4e0e\u4f18\u5316\u6b65\u9aa4\u3002<\/p>\n<h2>\u7406\u89e3\u914d\u7f6e\u6587\u4ef6\u7684\u57fa\u672c\u7ed3\u6784<\/h2>\n<p>V2Ray \u7684\u914d\u7f6e\u6587\u4ef6\u662f\u4e00\u4e2a\u6807\u51c6\u7684 JSON \u683c\u5f0f\u6587\u4ef6\uff0c\u5176\u7ed3\u6784\u6e05\u6670\u4e14\u5c42\u7ea7\u5206\u660e\u3002\u7406\u89e3\u8fd9\u4e00\u7ed3\u6784\u662f\u6b63\u786e\u914d\u7f6e\u7684\u524d\u63d0\u3002\u4e00\u4e2a\u5178\u578b\u7684\u914d\u7f6e\u6587\u4ef6\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u4e3b\u8981\u90e8\u5206\uff1a<br \/>\u2022 <strong>log<\/strong>\uff1a\u65e5\u5fd7\u914d\u7f6e\uff0c\u63a7\u5236\u65e5\u5fd7\u7684\u8f93\u51fa\u7ea7\u522b\u548c\u8def\u5f84\u3002<br \/>\u2022 <strong>dns<\/strong>\uff1aDNS \u670d\u52a1\u5668\u914d\u7f6e\uff0c\u7528\u4e8e\u57df\u540d\u89e3\u6790\u3002<br \/>\u2022 <strong>inbounds<\/strong>\uff1a\u5165\u7ad9\u8fde\u63a5\u914d\u7f6e\uff0c\u5b9a\u4e49\u5ba2\u6237\u7aef\u5982\u4f55\u8fde\u63a5 V2Ray \u670d\u52a1\u7aef\u3002<br \/>\u2022 <strong>outbounds<\/strong>\uff1a\u51fa\u7ad9\u8fde\u63a5\u914d\u7f6e\uff0c\u5b9a\u4e49 V2Ray \u670d\u52a1\u7aef\u5982\u4f55\u8fde\u63a5\u76ee\u6807\u7f51\u7edc\u3002<br \/>\u2022 <strong>routing<\/strong>\uff1a\u8def\u7531\u89c4\u5219\u914d\u7f6e\uff0c\u51b3\u5b9a\u6d41\u91cf\u5982\u4f55\u5904\u7406\uff08\u76f4\u8fde\u3001\u4ee3\u7406\u6216\u5206\u6d41\uff09\u3002<br \/>\u2022 <strong>policy<\/strong>\uff1a\u7b56\u7565\u914d\u7f6e\uff0c\u63a7\u5236\u8fde\u63a5\u7684\u751f\u547d\u5468\u671f\u548c\u8d44\u6e90\u9650\u5236\u3002<br \/>\u2022 <strong>transport<\/strong>\uff1a\u5168\u5c40\u4f20\u8f93\u914d\u7f6e\uff0c\u5b9a\u4e49\u5e95\u5c42\u4f20\u8f93\u534f\u8bae\uff08\u5982 TCP\u3001WebSocket\u3001mKCP \u7b49\uff09\u3002<\/p>\n<p>\u5728\u914d\u7f6e\u65f6\uff0c\u9700\u786e\u4fdd JSON \u8bed\u6cd5\u6b63\u786e\uff0c\u7279\u522b\u662f\u9017\u53f7\u548c\u62ec\u53f7\u7684\u5339\u914d\u3002\u4efb\u4f55\u8bed\u6cd5\u9519\u8bef\u90fd\u4f1a\u5bfc\u81f4 V2Ray \u65e0\u6cd5\u542f\u52a8\u3002<\/p>\n\n<h2>Inbound \u914d\u7f6e\u8be6\u89e3\uff1a\u63a5\u6536\u6d41\u91cf\u7684\u5165\u53e3<\/h2>\n<p>Inbound \u662f V2Ray \u63a5\u6536\u5ba2\u6237\u7aef\u8fde\u63a5\u7684\u90e8\u5206\u3002\u6700\u5e38\u89c1\u7684\u534f\u8bae\u7c7b\u578b\u5305\u62ec VMess\u3001VLESS\u3001Trojan \u548c Shadowsocks\u3002\u4ee5\u4e0b\u4ee5 VMess \u4e3a\u4f8b\uff0c\u89e3\u6790\u5173\u952e\u53c2\u6570\uff1a<\/p>\n<p>&#8220;`json<br \/>&#8220;inbounds&#8221;: [<br \/> {<br \/> &#8220;port&#8221;: 443,<br \/> &#8220;protocol&#8221;: &#8220;vmess&#8221;,<br \/> &#8220;settings&#8221;: {<br \/> &#8220;clients&#8221;: [<br \/> {<br \/> &#8220;id&#8221;: &#8220;uuid-string&#8221;,<br \/> &#8220;level&#8221;: 1,<br \/> &#8220;alterId&#8221;: 64<br \/> }<br \/> ]<br \/> },<br \/> &#8220;streamSettings&#8221;: {<br \/> &#8220;network&#8221;: &#8220;tcp&#8221;,<br \/> &#8220;security&#8221;: &#8220;tls&#8221;<br \/> }<br \/> }<br \/>]<br \/>&#8220;`<br \/>\u2022 <strong>port<\/strong>\uff1a\u76d1\u542c\u7aef\u53e3\u3002\u901a\u5e38\u9009\u62e9 443\uff08HTTPS\uff09\u6216 80\uff08HTTP\uff09\u4ee5\u964d\u4f4e\u88ab\u8bc6\u522b\u7684\u98ce\u9669\uff0c\u4f46\u9700\u786e\u4fdd\u7aef\u53e3\u672a\u88ab\u5176\u4ed6\u670d\u52a1\u5360\u7528\u3002<br \/>\u2022 <strong>protocol<\/strong>\uff1a\u534f\u8bae\u7c7b\u578b\u3002VMess \u662f V2Ray \u539f\u751f\u534f\u8bae\uff0c\u5b89\u5168\u6027\u8f83\u9ad8\uff1bVLESS \u662f\u65e0\u72b6\u6001\u7248\u672c\uff0c\u6027\u80fd\u66f4\u4f18\uff1bTrojan \u57fa\u4e8e TLS\uff0c\u4f2a\u88c5\u6027\u5f3a\u3002<br \/>\u2022 <strong>clients<\/strong>\uff1a\u7528\u6237\u5217\u8868\u3002\u6bcf\u4e2a\u7528\u6237\u9700\u8981\u4e00\u4e2a\u552f\u4e00\u7684 UUID\uff08`id`\uff09\u3002`level` \u63a7\u5236\u7528\u6237\u6743\u9650\uff080 \u4e3a\u7ba1\u7406\u5458\uff0c1 \u4e3a\u666e\u901a\u7528\u6237\uff09\uff0c`alterId` \u7528\u4e8e VMess \u534f\u8bae\u7684\u8eab\u4efd\u9a8c\u8bc1\uff0c\u503c\u8d8a\u5927\u8d8a\u5b89\u5168\u4f46\u6027\u80fd\u7565\u964d\u3002<br \/>\u2022 <strong>streamSettings<\/strong>\uff1a\u4f20\u8f93\u5c42\u8bbe\u7f6e\u3002`network` \u6307\u5b9a\u4f20\u8f93\u65b9\u5f0f\uff08tcp\u3001kcp\u3001ws\u3001h2 \u7b49\uff09\uff0c`security` \u6307\u5b9a\u52a0\u5bc6\u65b9\u5f0f\uff08tls\u3001none\uff09\u3002\u4f7f\u7528 TLS \u53ef\u9632\u6b62\u4e2d\u95f4\u4eba\u653b\u51fb\uff0c\u4f46\u9700\u914d\u7f6e\u8bc1\u4e66\u3002<\/p>\n<h2>Outbound \u914d\u7f6e\u8be6\u89e3\uff1a\u53d1\u51fa\u6d41\u91cf\u7684\u51fa\u53e3<\/h2>\n<p>Outbound \u5b9a\u4e49 V2Ray \u5982\u4f55\u8fde\u63a5\u5916\u90e8\u7f51\u7edc\u3002\u901a\u5e38\u53ea\u9700\u914d\u7f6e\u4e00\u4e2a\u51fa\u7ad9\uff0c\u4f46\u53ef\u901a\u8fc7\u8def\u7531\u89c4\u5219\u5b9e\u73b0\u5206\u6d41\u3002<\/p>\n<p>&#8220;`json<br \/>&#8220;outbounds&#8221;: [<br \/> {<br \/> &#8220;protocol&#8221;: &#8220;vmess&#8221;,<br \/> &#8220;settings&#8221;: {<br \/> &#8220;vnext&#8221;: [<br \/> {<br \/> &#8220;address&#8221;: &#8220;example.com&#8221;,<br \/> &#8220;port&#8221;: 443,<br \/> &#8220;users&#8221;: [<br \/> {<br \/> &#8220;id&#8221;: &#8220;uuid-string&#8221;,<br \/> &#8220;alterId&#8221;: 64<br \/> }<br \/> ]<br \/> }<br \/> ]<br \/> },<br \/> &#8220;streamSettings&#8221;: {<br \/> &#8220;network&#8221;: &#8220;ws&#8221;,<br \/> &#8220;wsSettings&#8221;: {<br \/> &#8220;path&#8221;: &#8220;\/realpath&#8221;<br \/> },<br \/> &#8220;security&#8221;: &#8220;tls&#8221;<br \/> }<br \/> },<br \/> {<br \/> &#8220;protocol&#8221;: &#8220;freedom&#8221;,<br \/> &#8220;tag&#8221;: &#8220;direct&#8221;<br \/> }<br \/>]<br \/>&#8220;`<br \/>\u2022 <strong>vnext<\/strong>\uff1a\u76ee\u6807\u670d\u52a1\u5668\u4fe1\u606f\u3002`address` \u662f\u57df\u540d\u6216 IP\uff0c`port` \u662f\u7aef\u53e3\uff0c`users` \u5305\u542b\u8ba4\u8bc1\u4fe1\u606f\u3002<br \/>\u2022 <strong>streamSettings<\/strong>\uff1a\u51fa\u7ad9\u4f20\u8f93\u8bbe\u7f6e\u3002\u82e5\u4f7f\u7528 WebSocket\uff08ws\uff09\uff0c\u9700\u914d\u7f6e `wsSettings` \u4e2d\u7684 `path`\uff0c\u8be5\u8def\u5f84\u9700\u4e0e\u5165\u7ad9\u4e00\u81f4\u3002<br \/>\u2022 <strong>freedom<\/strong>\uff1a\u76f4\u8fde\u534f\u8bae\u3002\u7528\u4e8e\u672a\u88ab\u8def\u7531\u89c4\u5219\u62e6\u622a\u7684\u6d41\u91cf\uff0c\u76f4\u63a5\u8fde\u63a5\u76ee\u6807\u5730\u5740\u3002\u5fc5\u987b\u914d\u7f6e `tag` \u4ee5\u4fbf\u5728 routing \u4e2d\u5f15\u7528\u3002<\/p>\n<h2>Routing \u914d\u7f6e\u8be6\u89e3\uff1a\u6d41\u91cf\u5206\u6d41\u7b56\u7565<\/h2>\n<p>Routing \u662f V2Ray \u7684\u6838\u5fc3\u529f\u80fd\u4e4b\u4e00\uff0c\u53ef\u5b9e\u73b0\u667a\u80fd\u5206\u6d41\uff0c\u63d0\u5347\u6027\u80fd\u548c\u9690\u79c1\u3002<\/p>\n<p>&#8220;`json<br \/>&#8220;routing&#8221;: {<br \/> &#8220;rules&#8221;: [<br \/> {<br \/> &#8220;type&#8221;: &#8220;field&#8221;,<br \/> &#8220;domain&#8221;: [&#8220;geosite:cn&#8221;],<br \/> &#8220;outboundTag&#8221;: &#8220;direct&#8221;<br \/> },<br \/> {<br \/> &#8220;type&#8221;: &#8220;field&#8221;,<br \/> &#8220;ip&#8221;: [&#8220;geoip:private&#8221;],<br \/> &#8220;outboundTag&#8221;: &#8220;direct&#8221;<br \/> },<br \/> {<br \/> &#8220;type&#8221;: &#8220;field&#8221;,<br \/> &#8220;protocol&#8221;: [&#8220;bittorrent&#8221;],<br \/> &#8220;outboundTag&#8221;: &#8220;direct&#8221;<br \/> },<br \/> {<br \/> &#8220;type&#8221;: &#8220;chinaserver&#8221;,<br \/> &#8220;outboundTag&#8221;: &#8220;proxy&#8221;<br \/> }<br \/> ]<br \/>}<br \/>&#8220;`<br \/>\u2022 <strong>rules<\/strong>\uff1a\u89c4\u5219\u5217\u8868\uff0c\u6309\u987a\u5e8f\u5339\u914d\u3002<br \/>\u2022 <strong>domain<\/strong>\uff1a\u6309\u57df\u540d\u5339\u914d\u3002\u53ef\u4f7f\u7528 `geosite:cn` \u5339\u914d\u4e2d\u56fd\u57df\u540d\uff0c`geosite:google` \u5339\u914d Google \u57df\u540d\u7b49\u3002<br \/>\u2022 <strong>ip<\/strong>\uff1a\u6309 IP \u5339\u914d\u3002`geoip:private` \u5339\u914d\u79c1\u6709 IP\uff08\u5982 192.168.x.x\uff09\uff0c\u907f\u514d\u4ee3\u7406\u5185\u7f51\u6d41\u91cf\u3002<br \/>\u2022 <strong>protocol<\/strong>\uff1a\u6309\u534f\u8bae\u5339\u914d\u3002\u5982 `bittorrent` \u53ef\u907f\u514d P2P \u6d41\u91cf\u8d70\u4ee3\u7406\u3002<br \/>\u2022 <strong>chinaserver<\/strong>\uff1a\u7279\u6b8a\u89c4\u5219\uff0c\u5339\u914d\u4e2d\u56fd\u5927\u9646 IP\uff0c\u901a\u5e38\u7528\u4e8e\u76f4\u8fde\u3002<\/p>\n<h2>Transport \u914d\u7f6e\u8be6\u89e3\uff1a\u4f18\u5316\u4f20\u8f93\u6027\u80fd<\/h2>\n<p>Transport \u914d\u7f6e\u53ef\u4f18\u5316\u4f20\u8f93\u6548\u7387\u548c\u9690\u853d\u6027\u3002\u5e38\u89c1\u9009\u9879\u5305\u62ec\uff1a<br \/>\u2022 <strong>TCP<\/strong>\uff1a\u9ed8\u8ba4\u4f20\u8f93\uff0c\u7a33\u5b9a\u4f46\u6613\u88ab\u8bc6\u522b\u3002\u53ef\u901a\u8fc7 `tcpSettings` \u4fee\u6539\u5934\u90e8\u4f2a\u88c5\uff08\u5982 HTTP \u4f2a\u88c5\uff09\u3002<br \/>\u2022 <strong>WebSocket<\/strong>\uff1a\u5c06\u6d41\u91cf\u5c01\u88c5\u4e3a WebSocket\uff0c\u6613\u901a\u8fc7 CDN \u548c\u9632\u706b\u5899\u3002\u9700\u914d\u7f6e `wsSettings` \u4e2d\u7684 `path` \u548c `headers`\u3002<br \/>\u2022 <strong>mKCP<\/strong>\uff1a\u57fa\u4e8e UDP \u7684\u4f20\u8f93\uff0c\u4f4e\u5ef6\u8fdf\u4f46\u5e26\u5bbd\u6709\u9650\u3002\u9002\u5408\u79fb\u52a8\u7aef\u3002\u9700\u914d\u7f6e `kcpSettings` \u4e2d\u7684 `mtu`\u3001`tti`\u3001`uplinkCapacity` \u7b49\u3002<br \/>\u2022 <strong>HTTP\/2<\/strong>\uff1a\u9ad8\u9690\u853d\u6027\uff0c\u9700\u914d\u7f6e `h2Settings` \u4e2d\u7684 `host` \u548c `path`\u3002<\/p>\n<h2>\u5e38\u89c1\u914d\u7f6e\u9519\u8bef\u4e0e\u6392\u67e5<\/h2>\n<p><\/p>\n<table style=\"width:100%;border-collapse:collapse;margin:24px 0;\">\n<thead>\n<tr>\n<th style=\"border:1px solid #ddd;padding:10px;background:#f7f7f7;text-align:left;\">\u9519\u8bef\u73b0\u8c61<\/th>\n<th style=\"border:1px solid #ddd;padding:10px;background:#f7f7f7;text-align:left;\">\u53ef\u80fd\u539f\u56e0<\/th>\n<th style=\"border:1px solid #ddd;padding:10px;background:#f7f7f7;text-align:left;\">\u89e3\u51b3\u6b65\u9aa4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u8fde\u63a5\u8d85\u65f6<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u7aef\u53e3\u672a\u5f00\u653e\u3001\u9632\u706b\u5899\u62e6\u622a\u3001\u7f51\u7edc\u4e0d\u901a<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u68c0\u67e5\u7aef\u53e3\u662f\u5426\u5728\u9632\u706b\u5899\u4e2d\u653e\u884c\uff1b\u786e\u8ba4\u670d\u52a1\u5668 IP \u548c\u7aef\u53e3\u6b63\u786e\uff1b\u6d4b\u8bd5\u7f51\u7edc\u8fde\u901a\u6027\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u8fde\u63a5\u88ab\u62d2<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">UUID \u9519\u8bef\u3001\u534f\u8bae\u4e0d\u5339\u914d\u3001\u7aef\u53e3\u9519\u8bef<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u6838\u5bf9\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u7aef\u7684 UUID\u3001\u534f\u8bae\u7c7b\u578b\u3001\u7aef\u53e3\u662f\u5426\u4e00\u81f4\uff1b\u68c0\u67e5 `streamSettings` \u914d\u7f6e\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u901f\u5ea6\u6781\u6162<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u4f20\u8f93\u534f\u8bae\u4e0d\u5f53\u3001\u8282\u70b9\u8d1f\u8f7d\u9ad8\u3001\u8ddd\u79bb\u8fdc<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u5c1d\u8bd5\u5207\u6362\u4f20\u8f93\u534f\u8bae\uff08\u5982 WS \u5230 TCP\uff09\uff1b\u66f4\u6362\u8282\u70b9\uff1b\u68c0\u67e5\u670d\u52a1\u5668\u8d1f\u8f7d\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">DNS \u89e3\u6790\u5931\u8d25<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">DNS \u914d\u7f6e\u9519\u8bef\u3001\u672a\u8bbe\u7f6e DNS<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u5728 `dns` \u90e8\u5206\u6dfb\u52a0\u53ef\u9760\u7684 DNS \u670d\u52a1\u5668\uff08\u5982 8.8.8.8\uff09\uff1b\u786e\u4fdd DNS \u53ef\u8fbe\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u8def\u7531\u4e0d\u751f\u6548<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u89c4\u5219\u987a\u5e8f\u9519\u8bef\u3001\u6807\u7b7e\u4e0d\u5339\u914d<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u68c0\u67e5 routing \u89c4\u5219\u987a\u5e8f\uff0c\u786e\u4fdd `direct` \u89c4\u5219\u5728 `proxy` \u4e4b\u524d\uff1b\u786e\u8ba4 outbound tag \u4e00\u81f4\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<h2>\u9ad8\u7ea7\u914d\u7f6e\u6280\u5de7<\/h2>\n<p>\u2022 <strong>\u591a\u534f\u8bae\u5171\u5b58<\/strong>\uff1a\u53ef\u5728\u540c\u4e00\u7aef\u53e3\u76d1\u542c\u591a\u4e2a\u534f\u8bae\uff0c\u901a\u8fc7 `mux` \u6216 `domain` \u533a\u5206\u3002<br \/>\u2022 <strong>CDN \u9690\u85cf<\/strong>\uff1a\u4f7f\u7528 WebSocket + TLS + CDN\uff0c\u5c06\u6d41\u91cf\u4f2a\u88c5\u4e3a\u6b63\u5e38 HTTPS \u8bf7\u6c42\u3002<br \/>\u2022 <strong>\u52a8\u6001\u7aef\u53e3<\/strong>\uff1a\u901a\u8fc7\u811a\u672c\u52a8\u6001\u5206\u914d\u7aef\u53e3\uff0c\u589e\u52a0\u88ab\u5c01\u98ce\u9669\u3002<br \/>\u2022 <strong>\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u914d\u7f6e\u591a\u4e2a outbound\uff0c\u901a\u8fc7 routing \u5b9e\u73b0\u6d41\u91cf\u5206\u53d1\u3002<\/p>\n<h2>\u9a8c\u8bc1\u914d\u7f6e\u662f\u5426\u6210\u529f<\/h2>\n<p>\u2022 <strong>\u8bed\u6cd5\u68c0\u67e5<\/strong>\uff1a\u4f7f\u7528 `v2ctl config format` \u547d\u4ee4\u9a8c\u8bc1 JSON \u8bed\u6cd5\u3002<br \/>\u2022 <strong>\u542f\u52a8\u6d4b\u8bd5<\/strong>\uff1a\u8fd0\u884c `v2ray -config config.json`\uff0c\u89c2\u5bdf\u65e5\u5fd7\u8f93\u51fa\u3002<br \/>\u2022 <strong>\u8fde\u63a5\u6d4b\u8bd5<\/strong>\uff1a\u4f7f\u7528\u5ba2\u6237\u7aef\u8fde\u63a5\uff0c\u68c0\u67e5\u662f\u5426\u80fd\u6b63\u5e38\u4ee3\u7406\u3002<br \/>\u2022 <strong>\u901f\u5ea6\u6d4b\u8bd5<\/strong>\uff1a\u8bbf\u95ee\u6d4b\u901f\u7f51\u7ad9\uff0c\u8bc4\u4f30\u5ef6\u8fdf\u548c\u5e26\u5bbd\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>V2Ray \u6838\u5fc3\u53c2\u6570\u914d\u7f6e\u6d89\u53ca\u591a\u4e2a\u6a21\u5757\u7684\u534f\u540c\u5de5\u4f5c\u3002\u6b63\u786e\u914d\u7f6e inbound\u3001outbound\u3001routing \u548c transport \u662f\u5b9e\u73b0\u7a33\u5b9a\u4ee3\u7406\u7684\u5173\u952e\u3002\u5efa\u8bae\u4ece\u57fa\u7840\u914d\u7f6e\u5f00\u59cb\uff0c\u9010\u6b65\u4f18\u5316\u4f20\u8f93\u548c\u8def\u7531\u7b56\u7565\u3002\u9047\u5230\u95ee\u9898\u65f6\uff0c\u901a\u8fc7\u65e5\u5fd7\u548c\u6392\u67e5\u6b65\u9aa4\u5b9a\u4f4d\u539f\u56e0\u3002\u914d\u7f6e\u8fc7\u7a0b\u4e2d\uff0c\u9700\u6ce8\u610f\u5b89\u5168\u8bbe\u7f6e\uff08\u5982 TLS\uff09\u548c\u9690\u79c1\u4fdd\u62a4\uff08\u5982 DNS \u52a0\u5bc6\uff09\uff0c\u4ee5\u63d0\u5347\u6574\u4f53\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>V2Ray \u7684\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6 `config.json` \u51b3\u5b9a\u4e86\u6d41\u91cf\u5982\u4f55\u88ab\u8def\u7531\u3001\u52a0\u5bc6\u548c\u4f20\u8f93\u3002\u5f88\u591a\u7528\u6237\u5728\u521d\u6b21\u914d\u7f6e\u65f6 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-904","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/posts\/904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/comments?post=904"}],"version-history":[{"count":0,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/posts\/904\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/media?parent=904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/categories?post=904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/tags?post=904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}