{"id":808,"date":"2026-05-31T08:18:23","date_gmt":"2026-05-31T00:18:23","guid":{"rendered":"https:\/\/www.suannai.link\/blog\/windows%e7%b3%bb%e7%bb%9f%e4%b8%8bv2ray%e6%90%ad%e5%bb%ba%e6%95%99%e7%a8%8b\/"},"modified":"2026-05-31T08:18:23","modified_gmt":"2026-05-31T00:18:23","slug":"windows%e7%b3%bb%e7%bb%9f%e4%b8%8bv2ray%e6%90%ad%e5%bb%ba%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.suannai.link\/blog\/windows%e7%b3%bb%e7%bb%9f%e4%b8%8bv2ray%e6%90%ad%e5%bb%ba%e6%95%99%e7%a8%8b\/","title":{"rendered":"Windows\u7cfb\u7edf\u4e0bV2Ray\u642d\u5efa\u6559\u7a0b"},"content":{"rendered":"<p>\u5728 Windows \u73af\u5883\u4e0b\u81ea\u884c\u90e8\u7f72 V2Ray \u670d\u52a1\u7aef\uff0c\u6838\u5fc3\u5728\u4e8e\u7406\u89e3\u5176\u914d\u7f6e\u6587\u4ef6\u7684\u7ed3\u6784\u903b\u8f91\u4e0e\u7f51\u7edc\u76d1\u542c\u673a\u5236\u3002\u672c\u6587\u5c06\u76f4\u63a5\u9488\u5bf9 Windows \u5e73\u53f0\u7684\u914d\u7f6e\u6d41\u7a0b\uff0c\u62c6\u89e3\u4ece\u73af\u5883\u51c6\u5907\u3001\u914d\u7f6e\u6587\u4ef6\u7f16\u5199\u3001\u670d\u52a1\u6ce8\u518c\u5230\u8fde\u63a5\u9a8c\u8bc1\u7684\u5b8c\u6574\u6b65\u9aa4\u3002\u91cd\u70b9\u89e3\u51b3\u914d\u7f6e\u8def\u5f84\u9519\u8bef\u3001\u7aef\u53e3\u51b2\u7a81\u3001TLS \u8bc1\u4e66\u9a8c\u8bc1\u5931\u8d25\u7b49\u5e38\u89c1\u90e8\u7f72\u95ee\u9898\u3002<\/p>\n<h2>\u51c6\u5907\u5de5\u4f5c\u4e0e\u73af\u5883\u4f9d\u8d56<\/h2>\n<p>\u5728 Windows \u4e0a\u8fd0\u884c V2Ray \u670d\u52a1\u7aef\uff0c\u9996\u5148\u9700\u8981\u83b7\u53d6\u53ef\u6267\u884c\u6587\u4ef6\u5e76\u89c4\u5212\u597d\u5b89\u88c5\u76ee\u5f55\u3002V2Ray \u5b98\u65b9\u63d0\u4f9b\u7684\u662f\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u4e0d\u5305\u542b\u56fe\u5f62\u754c\u9762\uff0c\u56e0\u6b64\u914d\u7f6e\u5fc5\u987b\u901a\u8fc7\u6587\u672c\u7f16\u8f91\u5668\u5b8c\u6210\u3002<br \/>\u2022 <strong>\u83b7\u53d6\u670d\u52a1\u7aef\u6587\u4ef6<\/strong><br \/> \u4ece\u5b98\u65b9\u6e20\u9053\u4e0b\u8f7d\u9002\u7528\u4e8e Windows \u7684\u538b\u7f29\u5305\u3002\u89e3\u538b\u540e\uff0c\u76ee\u5f55\u4e2d\u901a\u5e38\u5305\u542b `v2ray.exe`\uff08\u4e3b\u7a0b\u5e8f\uff09\u548c `wv2ray.exe`\uff08\u7528\u4e8e\u540e\u53f0\u670d\u52a1\u8fd0\u884c\u7684\u5c01\u88c5\u7a0b\u5e8f\uff09\u3002\u5efa\u8bae\u5c06\u89e3\u538b\u540e\u7684\u6587\u4ef6\u5939\u653e\u7f6e\u5728\u975e\u7cfb\u7edf\u76d8\u4e14\u8def\u5f84\u4e0d\u542b\u4e2d\u6587\u6216\u7279\u6b8a\u5b57\u7b26\u7684\u4f4d\u7f6e\uff0c\u4f8b\u5982 `D:\\v2ray-server`\u3002<br \/>\u2022 <strong>\u51c6\u5907\u914d\u7f6e\u6587\u4ef6<\/strong><br \/> V2Ray \u4f9d\u8d56 `config.json` \u6587\u4ef6\u8fdb\u884c\u8def\u7531\u3001\u76d1\u542c\u548c\u534f\u8bae\u914d\u7f6e\u3002\u5728 Windows \u4e0b\uff0c\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6\u7684\u67e5\u627e\u8def\u5f84\u901a\u5e38\u662f\u89e3\u538b\u76ee\u5f55\u4e0b\u7684 `config.json`\u3002\u5982\u679c\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u7a0b\u5e8f\u5c06\u65e0\u6cd5\u542f\u52a8\u3002\u4f60\u9700\u8981\u624b\u52a8\u521b\u5efa\u8be5\u6587\u4ef6\uff0c\u5e76\u586b\u5165\u6b63\u786e\u7684 JSON \u683c\u5f0f\u5185\u5bb9\u3002<br \/>\u2022 <strong>\u7f51\u7edc\u73af\u5883\u68c0\u67e5<\/strong><br \/> \u786e\u4fdd\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\uff08\u901a\u5e38\u662f Linux VPS\uff09\u5df2\u7ecf\u5f00\u653e\u4e86 V2Ray \u5c06\u8981\u76d1\u542c\u7684\u7aef\u53e3\u3002Windows \u5ba2\u6237\u7aef\u901a\u8fc7\u516c\u7f51 IP \u8fde\u63a5\u670d\u52a1\u7aef\u65f6\uff0c\u9632\u706b\u5899\u89c4\u5219\u5fc5\u987b\u5141\u8bb8\u5165\u7ad9\u6d41\u91cf\u3002\u5982\u679c\u670d\u52a1\u7aef\u8fd0\u884c\u5728 Windows \u670d\u52a1\u5668\u4e0a\uff0c\u9700\u540c\u65f6\u68c0\u67e5 Windows \u9632\u706b\u5899\u7684\u5165\u7ad9\u89c4\u5219\u3002<\/p>\n\n<h2>\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6\u7f16\u5199<\/h2>\n<p>`config.json` \u662f V2Ray \u7684\u5927\u8111\u3002\u5728 Windows \u73af\u5883\u4e2d\uff0c\u6700\u57fa\u7840\u7684\u914d\u7f6e\u9700\u8981\u5305\u542b `inbound`\uff08\u5165\u7ad9\uff09\u548c `outbound`\uff08\u51fa\u7ad9\uff09\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u3002\u4ee5\u4e0b\u4ee5\u6700\u5e38\u89c1\u7684 VMess \u534f\u8bae\u4e3a\u4f8b\uff0c\u8bf4\u660e\u5173\u952e\u5b57\u6bb5\u7684\u542b\u4e49\u3002<\/p>\n<p>&#8220;`json<br \/>{<br \/> &#8220;log&#8221;: {<br \/> &#8220;access&#8221;: &#8220;D:\\\\v2ray-server\\\\access.log&#8221;,<br \/> &#8220;error&#8221;: &#8220;D:\\\\v2ray-server\\\\error.log&#8221;,<br \/> &#8220;loglevel&#8221;: &#8220;warning&#8221;<br \/> },<br \/> &#8220;inbound&#8221;: {<br \/> &#8220;port&#8221;: 10086,<br \/> &#8220;protocol&#8221;: &#8220;vmess&#8221;,<br \/> &#8220;settings&#8221;: {<br \/> &#8220;clients&#8221;: [<br \/> {<br \/> &#8220;id&#8221;: &#8220;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&#8221;,<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 \/> &#8220;tlsSettings&#8221;: {<br \/> &#8220;certificates&#8221;: [<br \/> {<br \/> &#8220;certificateFile&#8221;: &#8220;D:\\\\v2ray-server\\\\cert.pem&#8221;,<br \/> &#8220;keyFile&#8221;: &#8220;D:\\\\v2ray-server\\\\key.pem&#8221;<br \/> }<br \/> ]<br \/> }<br \/> }<br \/> },<br \/> &#8220;outbound&#8221;: {<br \/> &#8220;protocol&#8221;: &#8220;freedom&#8221;,<br \/> &#8220;settings&#8221;: {}<br \/> }<br \/>}<br \/>&#8220;`<\/p>\n<h3>\u5173\u952e\u914d\u7f6e\u9879\u89e3\u6790<\/h3>\n<p>* <strong>Log \u8def\u5f84<\/strong>\uff1aWindows \u4e0b\u8def\u5f84\u5206\u9694\u7b26\u5efa\u8bae\u4f7f\u7528\u53cc\u53cd\u659c\u6760 `\\\\` \u6216\u6b63\u659c\u6760 `\/`\u3002\u786e\u4fdd\u65e5\u5fd7\u76ee\u5f55\u5b58\u5728\uff0c\u5426\u5219\u7a0b\u5e8f\u53ef\u80fd\u56e0\u6743\u9650\u95ee\u9898\u5199\u5165\u5931\u8d25\u3002<br \/>* <strong>Inbound Port<\/strong>\uff1a\u76d1\u542c\u7aef\u53e3\u3002\u9700\u786e\u4fdd\u8be5\u7aef\u53e3\u672a\u88ab\u5176\u4ed6 Windows \u670d\u52a1\uff08\u5982 IIS\u3001MySQL\uff09\u5360\u7528\u3002<br \/>* <strong>Client ID<\/strong>\uff1a\u5373 UUID\u3002\u5ba2\u6237\u7aef\u5fc5\u987b\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684 UUID \u624d\u80fd\u5efa\u7acb\u8fde\u63a5\u3002\u5efa\u8bae\u4f7f\u7528\u5728\u7ebf UUID \u751f\u6210\u5668\u751f\u6210\uff0c\u907f\u514d\u624b\u52a8\u8f93\u5165\u9519\u8bef\u3002<br \/>* <strong>AlterId<\/strong>\uff1a\u7528\u4e8e\u517c\u5bb9\u6027\u8c03\u6574\u3002\u73b0\u4ee3\u5ba2\u6237\u7aef\u901a\u5e38\u652f\u6301\u81ea\u52a8\u534f\u5546\uff0c\u4f46\u670d\u52a1\u7aef\u4ecd\u9700\u4fdd\u7559\u6b64\u5b57\u6bb5\u3002<br \/>* <strong>StreamSettings<\/strong>\uff1a\u51b3\u5b9a\u4f20\u8f93\u5c42\u534f\u8bae\u3002`tcp` \u4e3a\u9ed8\u8ba4\u4f20\u8f93\uff0c`tls` \u542f\u7528\u52a0\u5bc6\u3002\u82e5\u4f7f\u7528 WebSocket \u7b49\u534f\u8bae\uff0c\u9700\u5728\u6b64\u5904\u4fee\u6539 `network` \u5b57\u6bb5\u5e76\u914d\u7f6e `wsSettings`\u3002<\/p>\n<h2>TLS \u8bc1\u4e66\u914d\u7f6e\u4e0e HTTPS \u4f2a\u88c5<\/h2>\n<p>\u4e3a\u4e86\u89c4\u907f\u7f51\u7edc\u5e72\u6270\uff0c\u901a\u5e38\u5efa\u8bae\u4e3a V2Ray \u914d\u7f6e TLS \u8bc1\u4e66\u3002\u5728 Windows \u670d\u52a1\u7aef\u4e0a\uff0c\u8bc1\u4e66\u6587\u4ef6\u9700\u8981\u4ee5\u660e\u6587\u683c\u5f0f\u5b58\u50a8\u3002<br \/>\u2022 <strong>\u83b7\u53d6\u8bc1\u4e66<\/strong><br \/> \u4f7f\u7528 Certbot \u6216\u624b\u52a8\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\u3002\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u4f7f\u7528\u7531\u53d7\u4fe1\u4efb CA \u7b7e\u53d1\u7684\u57df\u540d\u8bc1\u4e66\u3002<br \/>\u2022 <strong>\u6587\u4ef6\u653e\u7f6e<\/strong><br \/> \u5c06 `cert.pem`\uff08\u516c\u94a5\/\u8bc1\u4e66\u94fe\uff09\u548c `key.pem`\uff08\u79c1\u94a5\uff09\u653e\u5165 `config.json` \u4e2d `certificateFile` \u548c `keyFile` \u6307\u5b9a\u7684\u8def\u5f84\u3002<br \/> * <strong>\u6ce8\u610f<\/strong>\uff1aWindows \u8def\u5f84\u4e2d\u7684\u7a7a\u683c\u6216\u7279\u6b8a\u5b57\u7b26\u53ef\u80fd\u5bfc\u81f4 V2Ray \u8bfb\u53d6\u8bc1\u4e66\u5931\u8d25\u3002\u5efa\u8bae\u8def\u5f84\u7b80\u6d01\uff0c\u5982 `D:\\\\cert\\\\cert.pem`\u3002<br \/>\u2022 <strong>\u6743\u9650\u8bbe\u7f6e<\/strong><br \/> \u786e\u4fdd\u8fd0\u884c V2Ray \u8fdb\u7a0b\u7684\u7528\u6237\u8d26\u53f7\u5bf9\u8bc1\u4e66\u6587\u4ef6\u62e5\u6709\u8bfb\u53d6\u6743\u9650\u3002\u5982\u679c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\uff0c\u9700\u786e\u4fdd\u7ba1\u7406\u5458\u8d26\u6237\u6709\u6743\u8bbf\u95ee\u8be5\u6587\u4ef6\u3002<\/p>\n<h2>Windows \u4e0b\u7684\u670d\u52a1\u5316\u90e8\u7f72<\/h2>\n<p>\u76f4\u63a5\u53cc\u51fb `v2ray.exe` \u542f\u52a8\u7a0b\u5e8f\u4f1a\u5bfc\u81f4\u7a97\u53e3\u5173\u95ed\u65f6\u8fdb\u7a0b\u7ec8\u6b62\uff0c\u4e14\u65e0\u6cd5\u540e\u53f0\u8fd0\u884c\u3002\u5728\u751f\u4ea7\u6216\u957f\u671f\u4f7f\u7528\u4e2d\uff0c\u5e94\u5c06\u5176\u6ce8\u518c\u4e3a Windows \u670d\u52a1\u3002<\/p>\n<h3>\u4f7f\u7528 nssm \u6ce8\u518c\u670d\u52a1<\/h3>\n<p>Nssm (Non-Sucking Service Manager) \u662f Windows \u4e0b\u7ba1\u7406\u7b2c\u4e09\u65b9\u7a0b\u5e8f\u4e3a\u670d\u52a1\u7684\u5e38\u7528\u5de5\u5177\u3002<br \/>\u2022 <strong>\u5b89\u88c5 Nssm<\/strong><br \/> \u4e0b\u8f7d nssm \u5e76\u89e3\u538b\uff0c\u5c06 `nssm.exe` \u590d\u5236\u5230\u7cfb\u7edf PATH \u8def\u5f84\uff0c\u6216\u76f4\u63a5\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u8c03\u7528\u3002<br \/>\u2022 <strong>\u6ce8\u518c\u670d\u52a1<\/strong><br \/> \u5728\u547d\u4ee4\u884c\uff08CMD\uff09\u4e2d\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\uff1a<br \/> &#8220;`cmd<br \/> nssm install V2RayServer D:\\v2ray-server\\v2ray.exe<br \/> &#8220;`<br \/> \u6b64\u547d\u4ee4\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a `V2RayServer` \u7684 Windows \u670d\u52a1\u3002<br \/>\u2022 <strong>\u914d\u7f6e\u670d\u52a1\u53c2\u6570<\/strong><br \/> \u8fd0\u884c `nssm edit V2RayServer` \u53ef\u4ee5\u8fdb\u4e00\u6b65\u8c03\u6574\uff1a<br \/> * <strong>Application Directory<\/strong>\uff1a\u8bbe\u7f6e\u4e3a V2Ray \u7684\u89e3\u538b\u76ee\u5f55\uff0c\u786e\u4fdd\u914d\u7f6e\u6587\u4ef6\u80fd\u88ab\u6b63\u786e\u8bfb\u53d6\u3002<br \/> * <strong>Startup Window<\/strong>\uff1a\u8bbe\u7f6e\u4e3a `Hidden`\uff0c\u907f\u514d\u670d\u52a1\u542f\u52a8\u65f6\u5f39\u51fa\u9ed1\u8272\u63a7\u5236\u53f0\u7a97\u53e3\u3002<br \/> * <strong>Environment<\/strong>\uff1a\u5982\u679c\u9700\u8981\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\uff08\u5982\u4ee3\u7406\u8bbe\u7f6e\uff09\uff0c\u53ef\u5728\u6b64\u5904\u6dfb\u52a0\u3002<br \/>\u2022 <strong>\u542f\u52a8\u670d\u52a1<\/strong><br \/> &#8220;`cmd<br \/> nssm start V2RayServer<br \/> &#8220;`<br \/> \u901a\u8fc7 `services.msc` \u6253\u5f00\u670d\u52a1\u7ba1\u7406\u5668\uff0c\u627e\u5230 `V2RayServer`\uff0c\u786e\u8ba4\u5176\u72b6\u6001\u4e3a\u201c\u6b63\u5728\u8fd0\u884c\u201d\u3002<\/p>\n<h2>\u5e38\u89c1\u6545\u969c\u6392\u67e5<\/h2>\n<p>\u5728 Windows \u73af\u5883\u4e0b\u90e8\u7f72 V2Ray\uff0c\u9047\u5230\u8fde\u63a5\u5931\u8d25\u65f6\uff0c\u8bf7\u6309\u4ee5\u4e0b\u987a\u5e8f\u68c0\u67e5\uff1a<\/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;\">\u6545\u969c\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;\">\u6392\u67e5\u6b65\u9aa4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\"><strong>\u670d\u52a1\u65e0\u6cd5\u542f\u52a8<\/strong><\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u914d\u7f6e\u6587\u4ef6 JSON \u683c\u5f0f\u9519\u8bef<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u68c0\u67e5 `config.json` \u662f\u5426\u6709\u62fc\u5199\u9519\u8bef\u3001\u7f3a\u5c11\u9017\u53f7\u6216\u62ec\u53f7\u4e0d\u5339\u914d\u3002\u4f7f\u7528\u5728\u7ebf JSON \u9a8c\u8bc1\u5668\u68c0\u67e5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\"><strong>\u670d\u52a1\u542f\u52a8\u540e\u7acb\u5373\u505c\u6b62<\/strong><\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u7aef\u53e3\u88ab\u5360\u7528\u6216\u6743\u9650\u4e0d\u8db3<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">1. \u4f7f\u7528 `netstat -ano<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">findstr :\u7aef\u53e3\u53f7` \u68c0\u67e5\u7aef\u53e3\u5360\u7528\u3002<br \/>2. \u68c0\u67e5\u65e5\u5fd7\u6587\u4ef6 `error.log` \u83b7\u53d6\u5177\u4f53\u62a5\u9519\u4fe1\u606f\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\"><strong>\u5ba2\u6237\u7aef\u8fde\u63a5\u8d85\u65f6<\/strong><\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u670d\u52a1\u5668\u9632\u706b\u5899\u62e6\u622a<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">1. \u68c0\u67e5\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u662f\u5426\u5f00\u653e\u4e86\u5165\u7ad9\u7aef\u53e3\u3002<br \/>2. \u68c0\u67e5 Windows \u9632\u706b\u5899\u662f\u5426\u5141\u8bb8\u8be5\u7aef\u53e3\u7684\u5165\u7ad9\u8fde\u63a5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\"><strong>TLS \u63e1\u624b\u5931\u8d25<\/strong><\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u8bc1\u4e66\u8def\u5f84\u9519\u8bef\u6216\u683c\u5f0f\u4e0d\u5bf9<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">1. \u786e\u8ba4 `certificateFile` \u548c `keyFile` \u8def\u5f84\u6b63\u786e\u3002<br \/>2. \u786e\u4fdd\u8bc1\u4e66\u6587\u4ef6\u672a\u635f\u574f\uff0c\u4e14\u79c1\u94a5\u4e0e\u8bc1\u4e66\u5339\u914d\u3002<br \/>3. \u68c0\u67e5\u6587\u4ef6\u6743\u9650\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\"><strong>\u5ba2\u6237\u7aef\u63d0\u793a UUID \u9519\u8bef<\/strong><\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u670d\u52a1\u7aef\u4e0e\u5ba2\u6237\u7aef ID \u4e0d\u4e00\u81f4<\/td>\n<td style=\"border:1px solid #ddd;padding:10px;vertical-align:top;\">\u4ed4\u7ec6\u6838\u5bf9 `config.json` \u4e2d\u7684 `id` \u5b57\u6bb5\u4e0e\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u7684 UUID\uff0c\u786e\u4fdd\u5b8c\u5168\u4e00\u81f4\uff0c\u5305\u62ec\u5927\u5c0f\u5199\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<h2>\u9a8c\u8bc1\u4e0e\u6d4b\u8bd5<\/h2>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u4e0d\u8981\u76f4\u63a5\u5047\u8bbe\u8fde\u63a5\u6210\u529f\uff0c\u9700\u8fdb\u884c\u672c\u5730\u548c\u8fdc\u7a0b\u53cc\u91cd\u9a8c\u8bc1\u3002<br \/>\u2022 <strong>\u672c\u5730\u65e5\u5fd7\u9a8c\u8bc1<\/strong><br \/> \u67e5\u770b `access.log`\u3002\u5982\u679c\u770b\u5230\u7c7b\u4f3c `accepted` \u7684\u8bb0\u5f55\uff0c\u8bf4\u660e\u670d\u52a1\u7aef\u5df2\u6b63\u5e38\u63a5\u6536\u8bf7\u6c42\u3002\u5982\u679c\u770b\u5230 `error`\uff0c\u8bf7\u7ed3\u5408 `error.log` \u5206\u6790\u3002<br \/>\u2022 <strong>\u672c\u5730\u7aef\u53e3\u76d1\u542c\u68c0\u67e5<\/strong><br \/> \u5728 Windows \u547d\u4ee4\u884c\u8fd0\u884c\uff1a<br \/> &#8220;`cmd<br \/> netstat -ano | findstr :10086<br \/> &#8220;`<br \/> \u786e\u8ba4\u7aef\u53e3\u5904\u4e8e `LISTENING` \u72b6\u6001\uff0c\u4e14 PID \u5bf9\u5e94\u7684\u662f V2Ray \u8fdb\u7a0b\u7684 PID\u3002<br \/>\u2022 <strong>\u5ba2\u6237\u7aef\u8fde\u63a5\u6d4b\u8bd5<\/strong><br \/> \u4f7f\u7528 <a href=\"https:\/\/www.suannai.link\/blog\/v2ray-windows%e7%89%88%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b%ef%bc%9a%e4%bb%8e%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba%e5%88%b0%e8%bf%9e%e9%80%9a%e6%80%a7%e9%aa%8c%e8%af%81\/\" target=\"_blank\" rel=\"noopener\">Windows \u5ba2\u6237\u7aef<\/a>\uff08\u5982 Clash Verge\u3001FlClash \u6216\u5b98\u65b9 GUI\uff09\u5bfc\u5165\u914d\u7f6e\u3002<br \/> * <strong>\u5ef6\u8fdf\u6d4b\u8bd5<\/strong>\uff1aPing \u670d\u52a1\u7aef IP\uff0c\u6392\u9664\u57fa\u7840\u7f51\u7edc\u8fde\u901a\u6027\u95ee\u9898\u3002<br \/> * <strong>\u534f\u8bae\u6d4b\u8bd5<\/strong>\uff1a\u5c1d\u8bd5\u8fde\u63a5\uff0c\u89c2\u5bdf\u5ba2\u6237\u7aef\u65e5\u5fd7\u3002\u5982\u679c\u63d0\u793a `connection refused`\uff0c\u901a\u5e38\u662f\u9632\u706b\u5899\u6216\u7aef\u53e3\u95ee\u9898\uff1b\u5982\u679c\u63d0\u793a `TLS handshake failed`\uff0c\u901a\u5e38\u662f\u8bc1\u4e66\u6216\u914d\u7f6e\u9519\u8bef\u3002<\/p>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728 Windows \u7cfb\u7edf\u4e0b\u5b8c\u6210 V2Ray \u670d\u52a1\u7aef\u7684\u6807\u51c6\u5316\u90e8\u7f72\u3002\u540e\u7eed\u5982\u9700\u8c03\u6574\u8def\u7531\u89c4\u5219\u6216\u6dfb\u52a0\u7528\u6237\uff0c\u4ec5\u9700\u4fee\u6539 `config.json` \u5e76\u91cd\u542f\u670d\u52a1\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Windows \u73af\u5883\u4e0b\u81ea\u884c\u90e8\u7f72 V2Ray \u670d\u52a1\u7aef\uff0c\u6838\u5fc3\u5728\u4e8e\u7406\u89e3\u5176\u914d\u7f6e\u6587\u4ef6\u7684\u7ed3\u6784\u903b\u8f91\u4e0e\u7f51\u7edc\u76d1\u542c\u673a\u5236\u3002\u672c\u6587\u5c06 [&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-808","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/posts\/808","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=808"}],"version-history":[{"count":0,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suannai.link\/blog\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}