{"id":50957,"date":"2020-03-13T23:34:32","date_gmt":"2020-03-13T15:34:32","guid":{"rendered":"http:\/\/4563.org\/?p=50957"},"modified":"2020-03-13T23:34:32","modified_gmt":"2020-03-13T15:34:32","slug":"%e5%be%b7%e5%9b%bdv6%e5%b0%8f%e9%b8%a1%e6%90%ad%e5%bb%bav2wstlscdn%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=50957","title":{"rendered":"\u5fb7\u56fdv6\u5c0f\u9e21\u642d\u5efav2+ws+tls+cdn\u6559\u7a0b"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>forever8938<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u5fb7\u56fdv6\u5c0f\u9e21\u642d\u5efav2+ws+tls+cdn\u6559\u7a0b<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 forever8938 \u4e8e 2020-3-13 23:46 \u7f16\u8f91 <\/p>\n<p> \u672c\u6559\u7a0b\u4e0d\u662f\u4e00\u952e\u811a\u672c\uff0c\u8981\u6c42\u81f3\u5c11\u4f1a\u5728\u547d\u4ee4\u884c\u4e0a\u7f16\u8f91\u6587\u4ef6\u3002<\/p>\n<p>  \u9996\u5148\u7f16\u8f91\/etc\/resolv.conf\uff0c\u5220\u9664\u73b0\u6709\u7684nameserver\uff0c\u6dfb\u52a0\u4ee5\u4e0bnameserver\u3002\u8fd9\u662f\u4e3a\u4e86\u80fd\u8bbf\u95eev4\u5730\u5740\u3002<br \/>  nameserver 2001:67c:2b0::4\u2028<br \/>  nameserver 2001:67c:2b0::6<\/p>\n<p>  \u5b89\u88c5unzip\uff0c\u89e3\u538bv2ray\u9700\u8981\u3002<br \/>  apt update<br \/>  apt install unzip<\/p>\n<p>  cd\u5230\u4efb\u610f\u8def\u5f84\u7ee7\u7eed\u4ee5\u4e0b\u6b65\u9aa4\u3002<\/p>\n<p>  \u4e0b\u8f7dcaddy\u548cv2ray<br \/>  wget &quot;https:\/\/caddyserver.com\/download\/linux\/amd64?license=personal&amp;telemetry=off&quot; -O &#8211; | tar -xzv<br \/>  wget &quot;https:\/\/github.com\/v2ray\/v2ray-core\/releases\/download\/v4.22.1\/v2ray-linux-64.zip&quot;&amp;&amp; unzip v2ray-linux-64.zip<\/p>\n<p>  \u65b0\u5efaCaddyfile\uff0c\u586b\u4e0a\u4f60\u7684\u57df\u540d\u548c\u8def\u5f84\uff08\u5982\/hello\uff09\uff0c\u6ce8\u610f\u4fdd\u7559http:\/\/\u3002<br \/>  http:\/\/\u4f60\u7684\u57df\u540d {<br \/>  &nbsp; &nbsp; proxy \u4f60\u7684\u8def\u5f84 127.0.0.1:10000 {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;websocket<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;header_upstream -Origin<br \/>  &nbsp; &nbsp; }<br \/>  }<\/p>\n<p>  \u65b0\u5efaconfig.json\uff0c\u586b\u4e0a\u4f60\u7684ID\u548c\u8def\u5f84\u3002\u6ca1\u6709id\u53ef\u4ee5\u7528.\/v2ctl uuid\u751f\u6210\u3002<br \/>  {<br \/>  &nbsp; &nbsp; &quot;log&quot;: {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&quot;loglevel&quot;: &quot;info&quot;<br \/>  &nbsp; &nbsp; },<br \/>  &nbsp; &nbsp; &quot;inbounds&quot;: [<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;protocol&quot;: &quot;vmess&quot;,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;port&quot;: 10000,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;listen&quot;: &quot;127.0.0.1&quot;,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;settings&quot;: {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &quot;clients&quot;: [<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;alterId&quot;: 64,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;id&quot;: &quot;\u4f60\u7684ID&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ]<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;},<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;streamSettings&quot;: {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &quot;network&quot;: &quot;ws&quot;,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &quot;wsSettings&quot;: {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;path&quot;: &quot;\u4f60\u7684\u8def\u5f84&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; }<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp; ],<br \/>  &nbsp; &nbsp; &quot;outbounds&quot;: [<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;tag&quot;: &quot;direct&quot;,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;protocol&quot;: &quot;freedom&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp; ]<br \/>  }<\/p>\n<p>  \u65b0\u5efastart.sh<br \/>  #!\/bin\/bash<\/p>\n<p>  killall caddy v2ray<\/p>\n<p>  .\/caddy &gt; caddy.log 2&gt;&amp;1 &amp; <br \/>  .\/v2ray &gt; v2ray.log 2&gt;&amp;1 &amp;<\/p>\n<p>  \u6700\u540e\u8fd0\u884cbash start.sh\u5373\u53ef\u542f\u52a8\u3002<\/p>\n<p>  \u5982\u4f55\u5957CF\u8bf7\u770b\u6211\u7684\u53e6\u4e00\u4e2a\u5e16\u5b50<br \/>  https:\/\/www.hostloc.com\/thread-656911-1-1.html  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>haveyuner<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9664\u4e86\u7b2c\u4e00\u6b65\u6709\u5565\u4e0d\u4e00\u6837\u5417&#8230;  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hasamol7468<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t:lol \u4ee5\u524d\u662f\u4e3a\u4e86\u80fd\u8bbf\u95eev6\u7ed9v4\u5957v6\u96a7\u9053 \u73b0\u5728\u53cd\u8fc7\u6765\u4e86\u54c8\u54c8\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u539f\u7406<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u697c\u4e3b\u5206\u4eab\uff0c\u53ef\u95ee\u9898\u662f\u5c0f\u767d\u6839\u672c\u8fde\u4e0d\u4e0a\u673a\u5668\u554a\uff0c\u770b\u4e86\u8bba\u575b\u597d\u591a\u8bf4\u7684\u4e5f\u4e0d\u61c2\uff0c\u80fd\u4e0d\u80fd\u51fa\u4e2a\u6559\u7a0b\u554a:Q\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u7f8a\u6bdb\u515a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8bdd\u8bf4\u2026\u2026\u5957CF\u901f\u5ea6\u5982\u4f55\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5f3a\u58ee\u7684\u4f69\u5947<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7f8a\u6bdb\u515a \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-13 23:51<br \/>  \u8bdd\u8bf4\u2026\u2026\u5957CF\u901f\u5ea6\u5982\u4f55\uff1f<\/p>\n<p> \u80fd10\u79d2\u6253\u5f00ssh\u7b97\u6211\u8f93\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>forever8938 \u5927\u4f6c\u6709\u8bdd\u8bf4&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/50957"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=50957"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/50957\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=50957"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=50957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}