{"id":54284,"date":"2025-02-18T13:45:51","date_gmt":"2025-02-18T05:45:51","guid":{"rendered":"https:\/\/fwq.ai\/blog\/54284\/"},"modified":"2025-02-18T13:45:51","modified_gmt":"2025-02-18T05:45:51","slug":"%e5%85%a8%e9%9d%a2%e8%a7%a3%e6%9e%90v2ray%e5%a4%9aip%e7%9a%84%e9%85%8d%e7%bd%ae%e4%b8%8e%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/54284\/","title":{"rendered":"\u5168\u9762\u89e3\u6790v2ray\u591aIP\u7684\u914d\u7f6e\u4e0e\u5e94\u7528"},"content":{"rendered":"<h2>1. \u4ec0\u4e48\u662fv2ray\u591aIP\uff1f<\/h2>\n<p>_v2ray_\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u7f51\u7edc\u4ee3\u7406\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u79d1\u5b66\u4e0a\u7f51\uff0c\u800c_\u591aIP_\u914d\u7f6e\u5219\u610f\u5473\u7740\u901a\u8fc7\u591a\u6761IP\u5730\u5740\u6765\u63d0\u5347\u8bbf\u95ee\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002\u8fd9\u4e2a\u529f\u80fd\u5bf9\u4e8e\u9700\u8981\u8bbf\u95ee\u88ab\u5c4f\u853d\u7f51\u7ad9\u7684\u7528\u6237\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<h2>2. v2ray\u591aIP\u7684\u4f18\u52bf<\/h2>\n<ul>\n<li><strong>\u589e\u5f3a\u9690\u79c1\u4fdd\u62a4<\/strong>\uff1a\u4f7f\u7528\u591a\u4e2aIP\u5730\u5740\u80fd\u591f\u6709\u6548\u51cf\u5c11\u88ab\u8bc6\u522b\u7684\u98ce\u9669\u3002<\/li>\n<li><strong>\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u53ef\u4ee5\u5c06\u6d41\u91cf\u5206\u914d\u5230\u4e0d\u540c\u7684IP\u4e0a\uff0c\u4ece\u800c\u907f\u514d\u5355\u4e00IP\u88ab\u5c01\u7981\u3002<\/li>\n<li><strong>\u8bbf\u95ee\u901f\u5ea6\u4f18\u5316<\/strong>\uff1a\u591a\u4e2aIP\u7684\u4f7f\u7528\u53ef\u4ee5\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\uff0c\u5c24\u5176\u5728\u7f51\u7edc\u7e41\u5fd9\u65f6\u3002<\/li>\n<\/ul>\n<h2>3. v2ray\u591aIP\u7684\u57fa\u672c\u914d\u7f6e<\/h2>\n<h3>3.1 \u73af\u5883\u51c6\u5907<\/h3>\n<p>\u5728\u914d\u7f6e_v2ray_\u591aIP\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u7684\u8ba1\u7b97\u673a\u6216\u670d\u52a1\u5668\u6ee1\u8db3\u4ee5\u4e0b\u8981\u6c42\uff1a<\/p>\n<ul>\n<li>\u5b89\u88c5\u6709\u6700\u65b0\u7248\u672c\u7684_v2ray_\u3002<\/li>\n<li>\u53ef\u4ee5\u8bbf\u95ee\u4e92\u8054\u7f51\u3002<\/li>\n<li>\u719f\u6089\u547d\u4ee4\u884c\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<h3>3.2 \u83b7\u53d6\u591a\u4e2aIP\u5730\u5740<\/h3>\n<p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u83b7\u53d6\u591a\u4e2aIP\u5730\u5740\uff1a<\/p>\n<ul>\n<li>\u8d2d\u4e70\u591a\u4e2aVPS\u3002<\/li>\n<li>\u4f7f\u7528\u5171\u4eabIP\u670d\u52a1\u3002<\/li>\n<li>\u4f7f\u7528\u52a8\u6001DNS\u670d\u52a1\u3002<\/li>\n<\/ul>\n<h3>3.3 \u914d\u7f6ev2ray\u591aIP<\/h3>\n<ol>\n<li>\n<p><strong>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/strong><br \/> \u6253\u5f00_v2ray_\u7684\u914d\u7f6e\u6587\u4ef6\uff08\u901a\u5e38\u4e3aconfig.json\uff09\uff0c\u6dfb\u52a0\u591a\u4e2aoutbounds\uff1a<\/p>\n<p>{<br \/> \u201coutbounds\u201d: [<br \/> {<br \/> \u201cprotocol\u201d: \u201cvmess\u201d,<br \/> \u201csettings\u201d: {<br \/> \u201cvnext\u201d: [<br \/> {<br \/> \u201caddress\u201d: \u201cip1\u201d,<br \/> \u201cport\u201d: 10086,<br \/> \u201cusers\u201d: [<br \/> {<br \/> \u201cid\u201d: \u201cuuid1\u201d,<br \/> \u201calterId\u201d: 64<br \/> }<br \/> ]<br \/> },<br \/> {<br \/> \u201caddress\u201d: \u201cip2\u201d,<br \/> \u201cport\u201d: 10086,<br \/> \u201cusers\u201d: [<br \/> {<br \/> \u201cid\u201d: \u201cuuid2\u201d,<br \/> \u201calterId\u201d: 64<br \/> }<br \/> ]<br \/> }<br \/> ]<br \/> }<br \/> }<br \/> ]<br \/> }<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u8d1f\u8f7d\u5747\u8861<\/strong><br \/> \u53ef\u4ee5\u901a\u8fc7\u5c06_outbounds_\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2aIP\u5730\u5740\u8bbe\u7f6e\u4e3a\u4e0d\u540c\u7684\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\u6765\u5b9e\u73b0\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u52a8v2ray<\/strong><br \/> \u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8_v2ray_\uff1a<br \/> bash<br \/> .\/v2ray -config config.json<\/p>\n<\/li>\n<\/ol>\n<h2>4. \u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h2>\n<h3>4.1 v2ray\u591aIP\u7684\u4f7f\u7528\u573a\u666f\u6709\u54ea\u4e9b\uff1f<\/h3>\n<p>_v2ray_\u591aIP\u9002\u5408\u7684\u4f7f\u7528\u573a\u666f\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><strong>\u7ed5\u8fc7\u5730\u57df\u9650\u5236<\/strong>\uff1a\u8bbf\u95ee\u88ab\u5730\u57df\u9650\u5236\u7684\u7f51\u7ad9\u3002<\/li>\n<li><strong>\u4fdd\u969c\u7f51\u7edc\u5b89\u5168<\/strong>\uff1a\u589e\u5f3a\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u3002<\/li>\n<li><strong>\u6539\u5584\u7f51\u7edc\u901f\u5ea6<\/strong>\uff1a\u901a\u8fc7\u591a\u6761\u8def\u5f84\u63d0\u5347\u8fde\u63a5\u8d28\u91cf\u3002<\/li>\n<\/ul>\n<h3>4.2 \u5982\u4f55\u68c0\u67e5v2ray\u591aIP\u662f\u5426\u5de5\u4f5c\u6b63\u5e38\uff1f<\/h3>\n<p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u68c0\u67e5\uff1a<\/p>\n<ul>\n<li>\u4f7f\u7528\u7f51\u7edc\u76d1\u6d4b\u5de5\u5177\uff08\u5982Ping\u3001Traceroute\uff09\u3002<\/li>\n<li>\u8bbf\u95ee\u4e0d\u540c\u7684\u7f51\u7ad9\u6d4b\u8bd5\u901f\u5ea6\u548c\u8fde\u63a5\u6027\u3002<\/li>\n<li>\u67e5\u770b_v2ray_\u7684\u65e5\u5fd7\u6587\u4ef6\uff0c\u786e\u8ba4IP\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<\/ul>\n<h3>4.3 \u5982\u679c\u4e00\u4e2aIP\u88ab\u5c01\u7981\uff0c\u600e\u4e48\u529e\uff1f<\/h3>\n<p>\u5982\u679c\u4e00\u4e2aIP\u88ab\u5c01\u7981\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a<\/p>\n<ul>\n<li><strong>\u66f4\u6362IP\u5730\u5740<\/strong>\uff1a\u589e\u52a0\u65b0\u7684IP\u5230\u914d\u7f6e\u4e2d\u3002<\/li>\n<li><strong>\u8c03\u6574\u8d1f\u8f7d\u5747\u8861\u7b56\u7565<\/strong>\uff1a\u4f18\u5316\u6d41\u91cf\u5206\u914d\u7b56\u7565\u3002<\/li>\n<li><strong>\u4f7f\u7528\u5176\u4ed6\u4ee3\u7406\u534f\u8bae<\/strong>\uff1a\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u4ee3\u7406\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<h2>5. \u7ed3\u8bba<\/h2>\n<p>\u901a\u8fc7\u5408\u7406\u7684_v2ray_\u591aIP\u914d\u7f6e\uff0c\u7528\u6237\u53ef\u4ee5\u5b9e\u73b0\u66f4\u52a0\u5b89\u5168\u3001\u5feb\u901f\u7684\u7f51\u7edc\u8bbf\u95ee\u4f53\u9a8c\u3002\u5728\u79d1\u5b66\u4e0a\u7f51\u65e5\u76ca\u91cd\u8981\u7684\u4eca\u5929\uff0c\u638c\u63e1\u8fd9\u4e9b\u914d\u7f6e\u6280\u5de7\u65e0\u7591\u80fd\u591f\u63d0\u5347\u4f60\u7684\u7f51\u7edc\u4f7f\u7528\u6548\u7387\u3002\u65e0\u8bba\u662f\u4e2a\u4eba\u7528\u6237\u8fd8\u662f\u4f01\u4e1a\uff0c\u4e86\u89e3\u5e76\u5229\u7528_v2ray_\u7684\u591aIP\u529f\u80fd\u90fd\u662f\u6781\u4e3a\u91cd\u8981\u7684\u3002<\/p>\n<h2>6. \u5e38\u89c1\u95ee\u9898<\/h2>\n<p>\u5982\u679c\u60a8\u8fd8\u6709\u5176\u4ed6\u5173\u4e8e_v2ray_\u591aIP\u7684\u7591\u95ee\uff0c\u8bf7\u968f\u65f6\u54a8\u8be2\u76f8\u5173\u8bba\u575b\u6216\u793e\u7fa4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4ec0\u4e48\u662fv2ray\u591aIP\uff1f _v2ray_\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u7f51\u7edc\u4ee3\u7406\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u79d1\u5b66\u4e0a\u7f51\uff0c\u800c_\u591aIP_\u914d\u7f6e\u5219\u610f\u5473\u7740\u901a\u8fc7\u591a\u6761IP\u5730\u5740\u6765\u63d0\u5347\u8bbf\u95ee\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002\u8fd9\u4e2a\u529f\u80fd\u5bf9\u4e8e\u9700\u8981\u8bbf\u95ee\u88ab\u5c4f\u853d\u7f51\u7ad9\u7684\u7528\u6237\u5c24\u4e3a\u91cd\u8981\u3002 2. v2ray\u591aIP\u7684\u4f18\u52bf \u589e\u5f3a\u9690\u79c1\u4fdd\u62a4\uff1a\u4f7f\u7528\u591a\u4e2aIP\u5730\u5740\u80fd\u591f\u6709\u6548\u51cf\u5c11\u88ab\u8bc6\u522b\u7684\u98ce\u9669\u3002 \u8d1f\u8f7d\u5747\u8861\uff1a\u53ef\u4ee5\u5c06\u6d41\u91cf\u5206\u914d\u5230\u4e0d\u540c\u7684IP\u4e0a\uff0c\u4ece\u800c\u907f\u514d\u5355\u4e00IP\u88ab\u5c01\u7981\u3002 \u8bbf\u95ee\u901f\u5ea6\u4f18\u5316\uff1a\u591a\u4e2aIP\u7684\u4f7f\u7528\u53ef\u4ee5\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\uff0c\u5c24\u5176\u5728\u7f51\u7edc\u7e41\u5fd9\u65f6\u3002 3. v2ray\u591aIP\u7684\u57fa\u672c\u914d\u7f6e 3.1 \u73af\u5883\u51c6\u5907 \u5728\u914d\u7f6e_v2ray_\u591aIP\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u7684\u8ba1\u7b97\u673a\u6216\u670d\u52a1\u5668\u6ee1\u8db3\u4ee5\u4e0b\u8981\u6c42\uff1a \u5b89\u88c5\u6709\u6700\u65b0\u7248\u672c\u7684_v2ray_\u3002 \u53ef\u4ee5\u8bbf\u95ee\u4e92\u8054\u7f51\u3002 \u719f\u6089\u547d\u4ee4\u884c\u64cd\u4f5c\u3002 3.2 \u83b7\u53d6\u591a\u4e2aIP\u5730\u5740 \u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u83b7\u53d6\u591a\u4e2aIP\u5730\u5740\uff1a \u8d2d\u4e70\u591a\u4e2aVPS\u3002 \u4f7f\u7528\u5171\u4eabIP\u670d\u52a1\u3002 \u4f7f\u7528\u52a8\u6001DNS\u670d\u52a1\u3002 3.3 \u914d\u7f6ev2ray\u591aIP \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6 \u6253\u5f00_v2ray_\u7684\u914d\u7f6e\u6587\u4ef6\uff08\u901a\u5e38\u4e3aconfig.json\uff09\uff0c\u6dfb\u52a0\u591a\u4e2aoutbounds\uff1a { \u201coutbounds\u201d: [ { \u201cprotocol\u201d: \u201cvmess\u201d, \u201csettings\u201d: { \u201cvnext\u201d: [ { \u201caddress\u201d: \u201cip1\u201d, \u201cport\u201d: 10086, \u201cusers\u201d: [ { \u201cid\u201d: \u201cuuid1\u201d, \u201calterId\u201d: 64 } ] }, { \u201caddress\u201d: \u201cip2\u201d, \u201cport\u201d: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-54284","post","type-post","status-publish","format-standard","hentry","category-vpn"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/54284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=54284"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/54284\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=54284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=54284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=54284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}