{"id":3695,"date":"2019-12-23T23:24:25","date_gmt":"2019-12-23T15:24:25","guid":{"rendered":"https:\/\/tao0.date\/?p=3695"},"modified":"2020-01-22T12:14:27","modified_gmt":"2020-01-22T04:14:27","slug":"trojanyijianjiaoben","status":"publish","type":"post","link":"https:\/\/tao0.date\/?p=3695","title":{"rendered":"Trojan\u4e00\u952e\u811a\u672c"},"content":{"rendered":"<p>\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u7cfb\u7edf&gt;=Centos7\uff0c\u5b8c\u7f8e\u652f\u6301tls1.3\uff0c\u4e2a\u4eba\u4f53\u9a8c\u901f\u5ea6\u548c\u5ef6\u8fdf\u90fd\u4f18\u4e8ev2ray+ws+tls1.3\uff0c\u672c\u6b21\u7684centos\u7248\u4f7f\u7528\u4e86\u5b98\u65b9\u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u642d\u5efa\u975e\u5e38\u5feb\u901f\u548c\u7b80\u5355\u3002\u811a\u672c\u4e2d\u96c6\u6210\u4e86Trojan\u7684Windows\u5ba2\u6237\u7aef\uff0c\u81ea\u52a8\u914d\u7f6e\u8bc1\u4e66\u53ca\u542f\u52a8\u811a\u672c\uff0c\u5b89\u88c5\u5b8c\u6210\u76f4\u63a5\u4e0b\u8f7d\u5ba2\u6237\u7aef\u5373\u53ef\u3002<\/p>\n<h2>\u5173\u4e8e\u7533\u8bf7\u8bc1\u4e66\u6ca1\u6709\u6210\u679c\u7684\u5904\u7406<\/h2>\n<p>1\u3001\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u6700\u53ef\u80fd\u7684\u539f\u56e0\u662f\u4f60\u7684\u540c\u4e00\u4e2a\u57df\u540d\u591a\u6b21\u7533\u8bf7\u8bc1\u4e66\uff0c\u5bfc\u81f4let\u2019s\u00a0encrypt\u5b98\u65b9\u7684\u9650\u5236\uff0c\u540c\u4e00\u57df\u540d\u6bcf\u5468\u6700\u591a5\u6b21\u7533\u8bf7\u3002<\/p>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-1 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/5c65d-clipboard.png\" data-fluidbox=\"true\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2026 size-full j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/5c65d-clipboard.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"941\" height=\"108\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/5c65d-clipboard.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>2\u3001\u5904\u7406\u65b9\u6cd5\uff0c\u66f4\u6362\u4e8c\u7ea7\u57df\u540d\uff0c\u4f8b\u5982\u539f\u6765\u4f7f\u7528\u7684\u57df\u540d\u662fwww.abc.com\u6216abc.com\u6216xyz.abc.com\uff0c\u90a3\u4e48\u73b0\u5728\u4f60\u6dfb\u52a0\u4e00\u4e2a\u4e8c\u7ea7\u57df\u540d\u89e3\u6790\u4f8b\u5982xxx.abc.com\uff0c\u5b89\u88c5\u65f6\u4f7f\u7528\u8fd9\u4e2a\u57df\u540d\u5373\u53ef\u3002<\/p>\n<h2>\u7cfb\u7edf\u8981\u6c42\u53ca\u811a\u672c\u4ecb\u7ecd<\/h2>\n<p>1\u3001\u7cfb\u7edf&gt;=centos7\uff0c\u7528centos8\u6700\u597d\uff0c\u5185\u6838\u53ef\u76f4\u63a5\u5f00\u542fbbr\u4e0d\u9700\u5347\u7ea7\u3002<\/p>\n<p>2\u3001\u57df\u540d\u89e3\u6790\u5230VPS\u5e76\u751f\u6548\u3002<\/p>\n<p>3\u3001\u811a\u672c\u81ea\u52a8\u7eed\u7b7ehttps\u8bc1\u4e66<\/p>\n<p>4\u3001\u81ea\u52a8\u914d\u7f6e\u4f2a\u88c5\u7f51\u7ad9\uff0c\u4f4d\u4e8e\/usr\/share\/nginx\/html\/\u76ee\u5f55\u4e0b\uff0c\u53ef\u81ea\u884c\u66ff\u6362\u5176\u4e2d\u5185\u5bb9<\/p>\n<h2>\u4e00\u3001\u4f7f\u7528\u4e00\u952e\u811a\u672c\u5b89\u88c5<\/h2>\n<pre><code class=\"hljs ruby\">curl -O <span class=\"hljs-symbol\">https:<\/span>\/<span class=\"hljs-regexp\">\/raw.githubusercontent.com\/atrandys<\/span><span class=\"hljs-regexp\">\/trojan\/master<\/span><span class=\"hljs-regexp\">\/trojan_centos7.sh &amp;&amp; chmod +x trojan_centos7.sh &amp;&amp; .\/trojan<\/span>_centos7.sh<\/code><\/pre>\n<p>\u53e6\u5916\u5efa\u8bae\u5b89\u88c5bbr\uff0c\u4ee5\u4e0b\u811a\u672c\u5b89\u88c5\uff0c\u4e0d\u8d58\u8ff0\u4e86<\/p>\n<pre><code class=\"hljs nginx\"><span class=\"hljs-attribute\">cd<\/span> \/usr\/src &amp;&amp; wget -N --<span class=\"hljs-literal\">no<\/span>-check-certificate <span class=\"hljs-string\">\"https:\/\/raw.githubusercontent.com\/chiakge\/Linux-NetSpeed\/master\/tcp.sh\"<\/span> &amp;&amp; chmod +x tcp.sh &amp;&amp; .\/tcp.sh<\/code><\/pre>\n<pre><\/pre>\n<h2>\u4e8c\u3001\u4e0b\u8f7dWindows\u5ba2\u6237\u7aef<\/h2>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f1a\u5c55\u793a\u4e00\u6761\u4e0b\u8f7d\u5730\u5740\uff0c\u590d\u5236\u5730\u5740\uff0c\u5e76\u4e0b\u8f7d\u4e0b\u6765\u5373\u53ef\u3002<\/p>\n<p>\u5982\u679c\u4f60\u771f\u7684\u5fd8\u8bb0\u4e0b\u8f7d\u4e86\uff0c\u90a3\u4e48\u8fdb\u5165\/usr\/share\/nginx\/html\/\u76ee\u5f55\u4e0b\uff0c\u627e\u5230\u4e00\u4e2a\u4e71\u7801\u6587\u4ef6\u5939\uff0c\u8fdb\u5165\u4f1a\u770b\u5230\u5ba2\u6237\u7aef\u6587\u4ef6\uff0c\u4f7f\u7528sftp\u4e0b\u8f7d\u4e0b\u6765\u5373\u53ef\u3002<\/p>\n<h2>\u4e09\u3001\u642d\u914d\u6d4f\u89c8\u5668\u63d2\u4ef6\u4f7f\u7528<\/h2>\n<p>\u89e3\u538b\u7f29\u4e0b\u8f7d\u7684trojan-cli.zip\u7684\u538b\u7f29\u5305\uff0c\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u53cc\u51fbstart.bat\uff0c\u5f00\u542fTrojan\u670d\u52a1\uff0cTrojan\u4f1a\u76d1\u542c\u672c\u57301080\u7aef\u53e3\u3002\u7136\u540e\u4e0b\u8f7dswitchomega<\/p>\n<blockquote><p>\u4e0b\u8f7d\u63d2\u4ef6\uff1a<a href=\"https:\/\/github.com\/atrandys\/trojan\/releases\/download\/1.0.0\/SwitchyOmega_Chromium.crx\" target=\"_blank\" rel=\"noopener noreferrer\">switchyomega<\/a><\/p><\/blockquote>\n<p>\u5b89\u88c5\u63d2\u4ef6\uff0c\u6253\u5f00chrome\uff0c\u6253\u5f00\u6269\u5c55\u7a0b\u5e8f\uff0c\u5c06\u4e0b\u8f7d\u7684\u63d2\u4ef6\u62d6\u52a8\u5230\u6269\u5c55\u7a0b\u5e8f\u9875\u9762\uff0c\u6dfb\u52a0\u5230\u6269\u5c55\u3002<\/p>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-2 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/4677b-20181116000534.png\" data-fluidbox=\"\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1117 aligncenter j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/4677b-20181116000534.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"613\" height=\"233\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/4677b-20181116000534.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>\u5b8c\u6210\u6dfb\u52a0\uff0c\u4f1a\u8df3\u8f6c\u5230switchyomega\u9875\u9762\uff0c\u70b9\u8df3\u8fc7\u6559\u7a0b\uff0c\u7136\u540e\u70b9\u51fbproxy\uff0c\u5982\u56fe\u586b\u5199\uff0c\u6700\u540e\u70b9\u51fb\u5e94\u7528\u9009\u9879\u3002<br \/>\n<ins class=\"adsbygoogle\" data-ad-client=\"ca-pub-9361845457401384\" data-ad-slot=\"8169134170\" data-ad-format=\"auto\" data-full-width-responsive=\"true\" data-adsbygoogle-status=\"done\"><ins id=\"aswift_1_expand\"><ins id=\"aswift_1_anchor\"><iframe id=\"aswift_1\" name=\"aswift_1\" width=\"800\" height=\"280\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/ins><\/ins><\/ins><\/p>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-3 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/20738-20181116001438.png\" data-fluidbox=\"\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1120 aligncenter j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/20738-20181116001438.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"1269\" height=\"472\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/20738-20181116001438.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>\u7136\u540e\u8fdb\u5165auto switch\uff0c\u5220\u9664\u6700\u4e0a\u65b9\u4e24\u6761\u89c4\u5219\uff0c\u7136\u540e\u70b9\u51fb\u6dfb\u52a0\u89c4\u5219\u5217\u8868\u3002<\/p>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-4 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/aa78f-20181116001445.png\" data-fluidbox=\"\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1119 aligncenter j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/aa78f-20181116001445.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"1334\" height=\"479\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/aa78f-20181116001445.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>\u7136\u540e\uff0c\u5728\u89c4\u5219\u5217\u8868\u89c4\u5219\u4e2d\uff0c\u60c5\u666f\u6a21\u5f0f\u6539\u4e3aproxy\uff0c\u89c4\u5219\u5217\u8868\u7f51\u7ad9\u590d\u5236\u4e0b\u9762\u7684\u7f51\u5740\uff0c\u7136\u540e\u70b9\u51fb\u7acb\u5373\u66f4\u65b0\u60c5\u666f\u6a21\u5f0f\uff0c\u4fdd\u5b58\u5373\u53ef\u3002<\/p>\n<div class=\"google-auto-placed ap_container\"><ins class=\"adsbygoogle adsbygoogle-noablate\" data-ad-format=\"auto\" data-ad-client=\"ca-pub-9361845457401384\" data-adsbygoogle-status=\"done\"><ins id=\"aswift_5_expand\"><ins id=\"aswift_5_anchor\"><iframe id=\"aswift_5\" name=\"aswift_5\" width=\"800\" height=\"200\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/ins><\/ins><\/ins><\/div>\n<blockquote><p>https:\/\/raw.githubusercontent.com\/atrandys\/proV\/master\/fgfwlist.txt<\/p><\/blockquote>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-5 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/3f636-20181116001451.png\" data-fluidbox=\"\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1118 aligncenter j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/3f636-20181116001451.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"1498\" height=\"608\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/3f636-20181116001451.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>\u70b9\u51fbchrome\u53f3\u4e0a\u89d2switchyomega\u56fe\u6807\uff0c\u9009\u62e9auto switch\u6a21\u5f0f\u5373\u53ef\u3002<\/p>\n<div class=\"fluidbox__wrap\">\n<p><a class=\"fluidbox fluidbox__instance-6 fluidbox--initialized fluidbox--closed fluidbox--ready\" href=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/e68c7-20181116001907.png\" data-fluidbox=\"\" data-fluidbox-loader=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1121 aligncenter j-lazy fluidbox__thumb\" style=\"box-sizing: border-box; border: 0px; vertical-align: top; transition: opacity 0s ease-in-out 0s; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto; text-align: center; opacity: 1;\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/e68c7-20181116001907.png\" alt=\"\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf\u4f4e\uff0c\u652f\u6301tls1.3\uff0c\u7cfb\u7edf\u8981\u6c42&gt;=Centos7\" width=\"249\" height=\"255\" data-original=\"https:\/\/tao0.date\/wp-content\/uploads\/2019\/12\/e68c7-20181116001907.png\" \/><\/a><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<p>\u4e4b\u540e\u4f60\u4fbf\u53ef\u4ee5\u81ea\u7531\u4e0a\u7f51\uff0c\u6559\u7a0b\u5230\u6b64\u7ed3\u675f\u3002<\/p>\n<h2><strong>\u7535\u8111\u4e0a\u5176\u4ed6\u8f6f\u4ef6\u5982\u4f55\u4f7f\u7528Trojan<\/strong><\/h2>\n<blockquote><p>1\u3001\u5982\u679c\u8f6f\u4ef6\u652f\u6301\u914d\u7f6esocks5\uff0c\u76f4\u63a5\u6307\u5411127.0.0.1\uff1a1080\u5373\u53ef\u3002<\/p>\n<p>2\u3001\u5982\u679c\u8f6f\u4ef6\u4e0d\u652f\u6301\u914d\u7f6esocks5\uff0c\u53ef\u9009\u62e9sstap\/sockscap64\/supercap\u7b49\u8f6f\u4ef6\uff0c\u66f2\u7ebf\u5b9e\u73b0\u4ee3\u7406\u3002<\/p><\/blockquote>\n<h2><strong>\u5e38\u89c1\u95ee\u9898\u603b\u7ed3<\/strong><\/h2>\n<p>1\u3001Trojan\u5ba2\u6237\u7aef\u6253\u5f00\u65e0\u6cd5\u8fd0\u884c\uff0c\u63d0\u793a\u7f3a\u5c11\u627e\u4e0d\u5230vcruntime140.dll\u6216\u627e\u4e0d\u5230msvcp140.dll\u3002<\/p>\n<blockquote><p>\u539f\u56e0\u7f3a\u5c11\u8fd0\u884c\u5e93\uff0c<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=48145\" target=\"_blank\" rel=\"noopener noreferrer\">\u70b9\u51fb\u4e0b\u8f7d\u94fe\u63a5<\/a>\u4e2d\u7684\u4e24\u4e2a\u8f6f\u4ef6\uff0c\u4e00\u4e2a\u662f32\u4f4d\u4e00\u4e2a\u662f64\u4f4d\uff0c\u8bf7\u5168\u90e8\u5b89\u88c5\u5373\u53ef\u3002<\/p><\/blockquote>\n<p>2\u3001\u5982\u679c\u9047\u5230vcruntime140_1\u7684\u9519\u8bef\uff0c\u4e0b\u8f7d\u4e0b\u9762\u7684\u6587\u4ef6\u653e\u5230C:\\windows\\system32\u76ee\u5f55\u4e0b\u5373\u53ef<\/p>\n<p><a href=\"https:\/\/github.com\/atrandys\/trojan\/raw\/master\/vcruntime140_1.dll\" target=\"_blank\" rel=\"noopener noreferrer\">\u70b9\u51fb\u4e0b\u8f7d140_1.dll<\/a><\/p>\n<p>3\u3001trojan\u670d\u52a1\u7aef\u600e\u4e48\u4fee\u6539\u5bc6\u7801<\/p>\n<p>trojan\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u5982\u4e0b\uff0c\u5982\u9700\u4fee\u6539\u5185\u5bb9\uff0c\u4fee\u6539\u4ee5\u4e0b\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<p><strong>\u53e6\u4e00\u4e2a\u6559\u7a0b<\/strong><\/p>\n<hr \/>\n<div>\u56fd\u5e86\u671f\u95f4\u5899\u5a01\u529b\u5927\u589e\uff0c\u957f\u671f\u6ca1\u51fa\u95ee\u9898\u7684v2ray\u76f4\u63a5\u8d70tcp\u4f20\u8f93\u534f\u8bae\u4e0b\u6211\u4e5f\u635f\u5931\u4e86\u4e00\u4e2aip\u3002\u540e\u6765\u53c8\u7528ws\u4f20\u8f93\u534f\u8bae\uff0c\u4f46\u662fws\u4e0bv2ray\u7684\u901f\u5ea6\u603b\u662f\u4e0d\u8ba9\u4eba\u6ee1\u610f\u3002\u8fd9\u65f6\u4e86\u89e3\u5230\u8fd8\u6709\u4e00\u4e2atrojan\u4ee3\u7406\uff0c\u8bd5\u7528\u4e86\u4e0b\uff0c\u53d1\u73b0\u6bd4v2ray+ws+tls\u8981\u5feb\u70b9\u3002\u5bf9\u4e8e\u8ffd\u6c42\u901f\u5ea6\u7684\u6211\u51b3\u5b9a\u6539\u7528trojan\u4e86\u3002<\/div>\n<div>\u00a0 Trojan\u76d1\u542c443\u7aef\u53e3\uff0c\u628a\u5408\u6cd5\u7684trojan\u4ee3\u7406\u6570\u636e\u4f2a\u88c5\u6210\u6b63\u5e38\u7684 HTTPS \u901a\u4fe1\uff0c\u5e76\u5b8c\u5168\u771f\u6b63\u7684 TLS \u63e1\u624b\u3002\u5bf9\u4e8e\u5176\u4ed6\u8bbf\u95ee\u6570\u636e\u5219\u76f4\u63a5\u8f6c\u53d1\u523080\u7aef\u53e3\uff0c\u901a\u8fc7caddy\u3001Nginx\u7b49web\u670d\u52a1\u5668\u63d0\u4f9b\u7f51\u9875\u8bbf\u95ee\u670d\u52a1\uff0c\u8fd9\u6837vps\u66f4\u50cf\u4e00\u4e2a\u6b63\u5e38\u7684web\u670d\u52a1\u5668\u3002<\/div>\n<div>\n<div class=\"fluidbox__wrap\">\n<p><img decoding=\"async\" class=\"fluidbox__thumb\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2020\/01\/c2da8-1-1912041r602f9.png\" alt=\"\" \/><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<div>\u00a0 \u672c\u6587\u4e3b\u8981\u901a\u8fc7caddy+trojan+debian10\u7684\u65b9\u5f0f\u63d0\u4f9b\u4e0a\u7f51\u670d\u52a1\u3002<\/div>\n<h4>1\u3001\u76f8\u5173\u8f6f\u4ef6\u51c6\u5907<\/h4>\n<div>\u00a0 \u00a0 putty\u4e0b\u8f7d\u5730\u5740\u00a0<a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.putty.org\/\u00a0 \u00a0<\/a>\u00a0\u00a0xshell\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740(\u9700\u9a8c\u8bc1\u90ae\u7bb1)<a href=\"https:\/\/www.netsarang.com\/zh\/free-for-home-school\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.netsarang.com\/zh\/free-for-home-school\/\u00a0<\/a>\u00a0\u00a0 winscp\u4e0b\u8f7d\u5730\u5740\u00a0<a href=\"https:\/\/winscp.net\/eng\/docs\/lang:chs\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/winscp.net\/eng\/docs\/lang:chs<\/a>\u00a0\u3002putty\u548cxshell\u4efb\u9009\u4e00\u79cd\u5373\u53ef\uff0c\u534f\u8bae\u4e3assh\u3002winscp \u6587\u4ef6\u534f\u8bae\u9009\u4e3ascp \u3002<\/div>\n<h4>2\u3001\u4f60\u9700\u8981\u4e00\u4e2a\u57df\u540d\u548cvps\u670d\u52a1\u5668\u3002<\/h4>\n<div>\u00a0 \u5982\u679c\u4f60\u6ca1\u6709\u57df\u540d\u7684\u8bdd\u53ef\u4ee5\u8fdb\u5165<a href=\"https:\/\/www.namesilo.com\/register.php?rid=775dd38gf\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.namesilo.com\/<\/a>\u6ce8\u518c\u4e00\u4e0b\uff0c\u518d\u8d2d\u4e70\u4e00\u4e2a\u57df\u540d\uff0c\u627e\u6700\u4fbf\u5b9c\u7684\u57df\u540d\u5373\u53ef\u3002top\u3001xyz\u3001icu\u7b49\u7b49\u57df\u540d\u53ea\u89810.99\u7f8e\u5143\u3002\u5efa\u8bae\u4e0d\u8981\u5728\u56fd\u5185\u57df\u540d\u6ce8\u518c\u5546\u5904\u8d2d\u4e70\u3002\u53ef\u4ee5\u7528cloudflare\u89e3\u6790\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728namsilo\u5904\u89e3\u6790\u3002\u89e3\u6790\u5730\u5740\u76f4\u63a5\u6307\u5411\u4f60\u7684vps\u670d\u52a1\u5668IP\u3002cloudflare\u89e3\u6790\u7684\u8bdd\u4e00\u5b9a\u8981\u9009DNS Only\uff0c\u53ef\u53c2\u89c1\u672c\u7f51\u7ad9\u524d\u9762\u5173\u4e8ev2ray\u7684\u6587\u7ae0\u3002\u6ce8\u610ftrojan\u4e0d\u652f\u6301cdn\u52a0\u901f\u3002\u89e3\u6790\u57df\u540d\u540e\u7528ping\u4e00\u4e0b\u4f60\u7684\u57df\u540d\uff0c\u5982\u679cping\u5230\u4f60\u7684vps ip\u5219\u8fdb\u884c\u4e0b\u9762\u7684\u64cd\u4f5c\u3002\u5177\u4f53\u600e\u4e48\u89e3\u6790\u57df\u540d\uff0c\u53ef\u767e\u5ea6\u4e00\u4e0b\u3002<\/div>\n<h4>3\u3001\u5b89\u88c5bbr\u548c\u6253\u5f00fastopen<\/h4>\n<div>\u53ef\u4ee5\u7528\u79cb\u6c34\u7684\u4e00\u952e\u811a\u672c\uff0cdebian10\u5185\u7f6e\u6709bbr\u3002\u53ea\u9700\u8981\u7528\u811a\u672c\u5f00\u901a\u4e0b\u3002putty\u4e2d\u8fdb\u5165vps<\/div>\n<div>\n<pre class=\"prettyprint lang-bsh\">wget --no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/bbr.sh &amp;&amp; chmod +x bbr.sh &amp;&amp; .\/bbr.sh<\/pre>\n<\/div>\n<div>\u6267\u884c\u540ebbr\u548cfastopen\u90fd\u6253\u5f00\u4e86\u3002<\/div>\n<div>\u4e0d\u60f3\u7528\u4e00\u952e\u811a\u672c\u624b\u5de5\u5f00\u542fbbr\u4e5f\u7b80\u5355\uff0c\u53ea\u9700\u8981\u8fd0\u884c<\/div>\n<div>\n<pre class=\"prettyprint lang-bsh\">echo \"net.core.default_qdisc=fq\" &gt;&gt; \/etc\/sysctl.conf\r\necho \"net.ipv4.tcp_congestion_control=bbr\" &gt;&gt; \/etc\/sysctl.conf\r\nsysctl -p<\/pre>\n<\/div>\n<div>\n<p>\u624b\u5de5\u5f00\u542ffastopen\u4e5f\u7b80\u5355\u3002<\/p>\n<pre class=\"prettyprint lang-bsh\">echo 3 &gt; \/proc\/sys\/net\/ipv4\/tcp_fastopen<\/pre>\n<\/div>\n<div>\n<p>\u5e76\u7528winscp\u8f6f\u4ef6\u5728vps\u7684\/etc\/sysctl.conf\u4e2d\u6dfb\u52a0<\/p>\n<pre class=\"prettyprint lang-bsh\">net.ipv4.tcp_fastopen = 3<\/pre>\n<\/div>\n<h4>4\u3001\u5b89\u88c5caddy<\/h4>\n<div>\n<p>\u5b89\u88c5caddy\u4e3b\u8981\u76ee\u7684\u662f\u8ba9\u4ed6\u505aweb\u670d\u52a1\u548c\u81ea\u52a8\u751f\u6210tls\u8bc1\u4e66\u3002<\/p>\n<pre class=\"prettyprint lang-bsh\">wget -N --no-check-certificate https:\/\/raw.githubusercontent.com\/ToyoDAdoubi\/doubi\/master\/caddy_install.sh &amp;&amp; chmod +x caddy_install.sh &amp;&amp; bash caddy_install.sh install<\/pre>\n<\/div>\n<div>\n<p>\u5b89\u88c5\u7ed3\u675f\u540e\uff0c\u6211\u4eec\u7528winscp\u8f6f\u4ef6\u767b\u9646vps\u8fdb\u884c\u76f8\u5173\u4fee\u6539\u3002\u7b2c\u4e00\u6b21\u6211\u4eec\u6765\u7533\u8bf7\u4e2atls\u8bc1\u4e66\uff0cwinscp\u8fdb\u5165\/usr\/local\/caddy\/ \u4e0b\u65b0\u5efaCaddyfile\u6587\u4ef6\uff08\u6ce8\u610f\u5927\u5c0f\u5199 \uff09\u5e76\u5199\u5165\u914d\u7f6e\u6587\u4ef6\u3002\u4e0b\u9762\u6211\u7528cloud.cctv.com\u57df\u540d\u3001demo@cctv.com\u90ae\u7bb1\u4e3a\u4f8b\uff0c\u8fdb\u884c\u76f8\u5173\u914d\u7f6e\u3002\u8bf7\u6362\u6210\u81ea\u5df1\u7684\u57df\u540d\u90ae\u7bb1\u3002<\/p>\n<pre class=\"prettyprint lang-bsh\">cloud.cctv.com {\r\n\u00a0 \u00a0 tls demo@cctv.com\r\n\u00a0 \u00a0 log \/var\/log\/caddy.log\r\n\u00a0 \u00a0}<\/pre>\n<\/div>\n<div>\n<p>\u5b8c\u6210\u540e\u518dputty\u4e2d\u8f93\u5165<\/p>\n<pre class=\"prettyprint lang-bsh\">service caddy start<\/pre>\n<\/div>\n<div>\n<p>\u518d\u6267\u884c<\/p>\n<pre class=\"prettyprint lang-bsh\">tail -f \/tmp\/caddy.log<\/pre>\n<\/div>\n<div>\u67e5\u770b\u6709\u6ca1\u6709\u7533\u8bf7\u6210\u529ftls\u8bc1\u4e66\u3002\u5982\u51fa\u73b0\u65e5\u5fd7\u6587\u4ef6\u51fa\u73b0 Serving HTTPS on port 443\u00a0 https:\/\/xxxxx.xxx\uff0c\u5373\u8868\u793a\u8bc1\u4e66\u521b\u5efa\u6210\u529f\u3002\u4e0d\u6210\u529f\u7684\u8bdd\u68c0\u67e5\u4f60\u7684ip\u662f\u5426\u89e3\u6790\u597d\uff0c\u6709\u6ca1\u6709\u5957\u7528cdn\uff0c\u5957\u7528cdn\u3001\u77ed\u65f6\u95f4\u591a\u6b21\u6267\u884c\u7533\u8bf7\u90fd\u662f\u4e0d\u4f1a\u6210\u529f\u7684\u3002<\/div>\n<div>\u4e5f\u53ef\u4ee5\u5728winscp\u91cc\u9762\u6309ctrl+alt+H\u952e\uff0c\u770b\u662f\u5426\u6709\u9690\u85cf\u6587\u4ef6\u5939.caddy\uff0c\u6ca1\u6709\u7684\u8bdd\u8bf4\u660e\u7533\u8bf7\u4e0d\u6210\u529f\u3002\u6d4f\u89c8\u5668\u8f93\u5165https:\/\/\u4f60\u7684\u57df\u540d \uff0c\u5e94\u8be5\u51fa\u73b0404 not found\u3002<\/div>\n<h4>5\u3001\u5b89\u88c5trojan\u5e76\u914d\u7f6eCaddyfile<\/h4>\n<div>\n<p>\u6211\u4eec\u7528Trojan\u7684\u5b98\u65b9\u4e00\u952e\u811a\u672c<\/p>\n<pre class=\"prettyprint lang-bsh\">bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/trojan-gfw\/trojan-quickstart\/master\/trojan-quickstart.sh)\"<\/pre>\n<\/div>\n<div>\u5982\u679c\u51fa\u9519\u8bf4\u660e\u53ef\u80fd\u6ca1\u6709curl\uff0c\u6211\u4eec\u9700\u8981\u4e0b\u8f7dcurl\u7a0b\u5e8f<\/div>\n<div>\n<p>debian\u7528\u4e0b\u9762\u547d\u4ee4<\/p>\n<pre class=\"prettyprint lang-bsh\">apt-get install -y curl<\/pre>\n<\/div>\n<div>\u7136\u540e\u518d\u8fd0\u884c\u4e0a\u8ff0\u4e00\u952e\u811a\u672c\u3002<\/div>\n<div>\u7531\u4e8ecaddy\u4e5f\u5360\u7528\u4e86443\u7aef\u53e3\uff0c\u8fd9\u65f6\u6211\u4eec\u9700\u8981\u4fee\u6539\u4e0bcaddy\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8ba9caddy\u76d1\u89c680\u7aef\u53e3<\/div>\n<div>\n<p>\u5148\u5173\u95edcaddy<\/p>\n<pre class=\"prettyprint lang-bsh\">service caddy stop<\/pre>\n<\/div>\n<div>\u7136\u540e\u7528winscp\u8fdb\u5165\/usr\/local\/caddy \u4fee\u6539Caddyfile\u6587\u4ef6\uff0c\u628a\u539f\u6765\u7684\u6240\u6709\u5185\u5bb9\u6539\u4e3a\u4e0b\u9762\u7684\uff1a<\/div>\n<div>\n<pre class=\"prettyprint lang-bsh\">:80 {\r\nroot \/var\/www\/site\r\ngzip\r\nbrowse\r\n}<\/pre>\n<\/div>\n<div>\u5176\u4e2droot \/var\/www\/site\u662f\u4f60\u7f51\u9875\u653e\u7f6e\u7684\u4f4d\u7f6e\u3002<\/div>\n<div>\n<p>\u518d\u8fd0\u884c<\/p>\n<pre class=\"prettyprint lang-bsh\">service caddy start<\/pre>\n<\/div>\n<h4>6\u3001\u4fee\u6539trojan\u7684\u914d\u7f6e\u6587\u4ef6<\/h4>\n<div>winscp\u767b\u5f55vps\u670d\u52a1\u5668\uff0c\u8fdb\u5165\/usr\/local\/etc\/trojan\/config.json<\/div>\n<div>\u53ea\u9700\u8981\u4fee\u65392\u5904<\/div>\n<div>6.1\u628a &#8220;password1&#8243;,&#8221;password2&#8221; \u5904\u6539\u4e3a\u201c\u5bc6\u7801\u201d\u4fee\u6539\u6210\u4f60\u7684\u5bc6\u7801\uff0c\u6ce8\u610f\u8be5\u5b57\u6bb5\u53cc\u5f15\u53f7\u3002<\/div>\n<div>6.2\u628a\u8bc1\u4e66\u53ca\u5bc6\u94a5\u6587\u4ef6\u4f4d\u7f6e\u4fee\u6539\u6210\u521a\u624d\u7533\u8bf7\u5230\u5230\u5bc6\u94a5\u4f4d\u7f6e\u3002\u5728 &#8220;cert&#8221;: &#8220;\/path\/to\/certificate.crt&#8221;,&#8221;key&#8221;: &#8220;\/path\/to\/private.key&#8221;,\u5206\u522b\u66ff\u6362\u6210<\/div>\n<div>&#8220;cert&#8221;: &#8220;\/.caddy\/acme\/acme-v02.api.letsencrypt.org\/sites\/\u4f60\u7684\u57df\u540d\/\u4f60\u7684\u57df\u540d.crt&#8221;,<\/div>\n<div>&#8220;key&#8221;: &#8220;\/.caddy\/acme\/acme-v02.api.letsencrypt.org\/sites\/\u4f60\u7684\u57df\u540d\/\u4f60\u7684\u57df\u540d.key&#8221;,<\/div>\n<div>\u5177\u4f53\u8bc1\u4e66\u5bc6\u94a5\u8def\u5f84\u53ef\u4ee5\u5728winscp\u67e5\u770b .caddy \u5728\u8fd9\u4e2a\u9690\u85cf\u6587\u4ef6\u91cc\u9762<\/div>\n<div>\n<div class=\"fluidbox__wrap\">\n<p><img decoding=\"async\" class=\"fluidbox__thumb\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2020\/01\/e9e0f-1-1912041t625e1.png\" alt=\"\" \/><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<\/div>\n<h4>7\u3001\u8fd0\u884ctrojan<\/h4>\n<div>\n<p>\u6267\u884c<\/p>\n<pre class=\"prettyprint lang-bsh\">systemctl start trojan<\/pre>\n<\/div>\n<div>\n<p>\u67e5\u770b\u662f\u5426\u6210\u529f\u8fd0\u884c\u6267\u884c<\/p>\n<pre class=\"prettyprint lang-bsh\">systemctl status trojan<\/pre>\n<\/div>\n<div>\n<p>\u5982\u679c\u6b63\u5e38\u8fd0\u884c\uff0c\u6211\u4eec\u52a0\u5165\u5f00\u673a\u81ea\u542f\uff0c\u8fd0\u884c<\/p>\n<pre class=\"prettyprint lang-bsh\">systemctl enable trojan<\/pre>\n<\/div>\n<div>\n<p>\u67e5\u770b\u9519\u8bef\u65e5\u5fd7<\/p>\n<pre class=\"prettyprint lang-bsh\">journalctl -fu trojan<\/pre>\n<\/div>\n<h4>8\u3001\u4ee5\u4e0a\u6211\u4eec\u5c31\u6210\u529f\u7684\u642d\u5efa\u4e86trojan\u5e73\u53f0\u3002\u6211\u4eec\u8fd8\u9700\u5728\u5ba2\u6237\u7aef\u4e0a\u4f7f\u7528\u3002<\/h4>\n<div>Windows\u5ba2\u6237\u7aef\u4e0b\u8f7d\u5730\u5740<a href=\"https:\/\/github.com\/trojan-gfw\/trojan\/releases\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/trojan-gfw\/trojan\/releases<\/a>\uff0c\u627e\u5230\u65b0\u7248\u672c\u7684win.zip\u538b\u7f29\u5305\u3002\u4e0b\u8f7d\u6210\u529f\u4e4b\u540e\u89e3\u538b\u3002<\/div>\n<div>\u7136\u540e\u4fee\u6539\u76ee\u5f55\u4e2d\u7684config.json\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684local_port\u3001remote_addr\u548cpassword\u5373\u53ef\u3002\u8981\u542f\u7528fastopen\uff0c\u4fee\u6539fastopen\u4e3atrue\uff0c&#8221;fast_open&#8221;: true,\u5176\u4e2d\uff0cremote_addr\u586b\u5199\u81ea\u5df1\u7684\u57df\u540d\uff0clocal_port\u5f00\u542f\u672c\u5730\u7aef\u53e3\uff0c\u7528\u6765\u63a5\u6536\u672c\u5730\u6570\u636e\uff0c\u5982\u679c\u6709\u5176\u5b83\u4ee3\u7406\u5de5\u5177\u5efa\u8bae\u4fee\u6539\u4e3a\u4e0d\u5e38\u7528\u7aef\u53e3\uff0c\u5426\u5219\u5bb9\u6613\u51b2\u7a81\u3002\u672c\u4f8b\u5c31\u4f7f\u75281080\u7aef\u53e3\u3002Trojan\u4e0d\u9700\u8981\u5b89\u88c5\u5c31\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\uff0c\u62f7\u8d1dTrojan\u6587\u4ef6\u5939\u5230\u7535\u8111\u91cc\u9762\uff0c\u53cc\u51fb\u5373\u53ef\u8fd0\u884c\u3002\u5982\u679c\u542f\u52a8\u62a5\u9519\uff0c\u90a3\u4e48\u8bf4\u660e\u4f60\u7684\u7cfb\u7edf\u91cc\u9762\u6ca1\u6709C++\u8fd0\u884c\u73af\u5883\uff0c\u9700\u8981\u5b89\u88c5VC++\u8fd0\u884c\u73af\u5883\uff081.12.3\u53ca\u4ee5\u524d\u7248\u672c\u5b89\u88c5x86\u73af\u5883\uff0c1.13.0\u53ca\u4ee5\u540e\u7248\u672c\u5b89\u88c5x64\u73af\u5883\uff0c\u6216\u8005\u4e24\u4e2a\u7248\u672c\u90fd\u5b89\u88c5\u4e5f\u884c\uff09\uff0c\u7136\u540e\u91cd\u65b0\u542f\u52a8Trojan\uff0c\u786e\u8ba4Trojan\u6ca1\u6709\u62a5\u9519\u5373\u53ef\u3002\u5982\u679c\u542f\u52a8Trojan\u4f1a\u4e00\u95ea\u800c\u8fc7\uff0c\u90a3\u4e48\u5e94\u8be5\u662f\u4f60\u914d\u7f6e\u6587\u4ef6\u6709\u9519\u8bef\uff0c\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u3002<\/div>\n<div>\u6d4f\u89c8\u5668\u5f00\u542ftrojan\u4ee3\u7406<\/div>\n<div>\n<p>\u6253\u5f00\u7535\u8111cmd\u547d\u4ee4\uff0c\u8f93\u5165<\/p>\n<div>\n<div class=\"fluidbox__wrap\">\n<p><img decoding=\"async\" class=\"fluidbox__thumb\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2020\/01\/cc6ee-1-1912041911303b.png\" alt=\"\" \/><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<\/div>\n<div>start chrome\u8def\u5f84 &#8211;proxy-server=&#8221;socks5:\/\/127.0.0.1:1080&#8243; &#8211;host-resolver-rules=&#8221;MAP * ~NOTFOUND, EXCLUDE 127.0.0.1&#8243;<br \/>\n\u5728\u6253\u5f00\u7684chrome\u6d4f\u89c8\u5668\u91cc\u5c31\u53ef\u4ee5\u4e0a\u4e00\u4e9b\u4e0d\u5b58\u5728\u7684\u7f51\u7ad9\u4e86,chrome\u8def\u5f84\u6539\u4e3a\u81ea\u5df1\u7535\u8111\u7684\u3002<\/div>\n<div>\u7531\u4e8etrojan\u76ee\u524d\u6bd4\u8f83\u5c0f\u4f17\uff0c\u6ca1\u6709\u56fe\u5f62\u5ba2\u6237\u7aef\uff0c\u4f7f\u7528\u4e0d\u65b9\u4fbf\uff0c\u6211\u4e3b\u8981\u4f7f\u7528\u8def\u7531\u5668\u4f5c\u4e3a\u5ba2\u6237\u7aef\uff0c\u4e0b\u7bc7\u5c06\u4f1a\u8bb2\u5982\u4f55\u5728<a href=\"https:\/\/bandwh.com\/net\/51.html\" target=\"_blank\" rel=\"noopener noreferrer\">openwrt\u8def\u7531\u5668\u4e0a\u589e\u52a0trojan\u5ba2\u6237\u7aef<\/a>\u3002<\/div>\n<h4>9\u3001\u5176\u4ed6\u8bf4\u660e<\/h4>\n<p>\u9700\u8981\u7f51\u7ad9\u5185\u5bb9\u7684\u8bdd\uff0c\u53efwinscp\u4e0a\u4f20\u7f51\u7ad9\u5185\u5bb9\u81f3\/var\/www\/site\/ \u91cc\u9762\uff0c\u8fd9\u6837\u5728\u6d4f\u89c8\u5668\u91cc\u8f93\u5165\u57df\u540d\u7f51\u5740\u5373\u53ef\u8bbf\u95ee\u4f60\u4f60\u653e\u7684\u7f51\u7ad9\u3002<\/p>\n<div>\n<p>\u6d4f\u89c8\u8fc7\u4e00\u4e9b\u5899\u5916\u7f51\u7ad9\uff0c\u60f3\u67e5\u770bfastopen\u662f\u5426\u542f\u7528 \u53ef\u4ee5\u7528\u8fd9\u4e2a\u547d\u4ee4\uff0c\u6ce8\u610f\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u90fd\u8981\u5f00\u542ffastopen<\/p>\n<pre class=\"prettyprint lang-bsh\">grep '^TcpExt:' \/proc\/net\/netstat | cut -d ' ' -f 85-92 | column -t<\/pre>\n<\/div>\n<div>\u5982\u679c TCPFastOpenPassive \u5728\u589e\u957f\uff0c\u8868\u793a\u63a5\u53d7\u5230\u4e86fast open\u7684tcp\u8fde\u63a5\u3002<\/div>\n<div>\n<div class=\"fluidbox__wrap\">\n<p><img decoding=\"async\" class=\"fluidbox__thumb\" src=\"https:\/\/tao0.date\/wp-content\/uploads\/2020\/01\/8340f-1-191204191225513.png\" alt=\"\" \/><\/p>\n<div class=\"fluidbox__ghost\"><\/div>\n<div class=\"fluidbox__loader\"><\/div>\n<\/div>\n<\/div>\n<div>\u7531\u4e8ecaddy\u7533\u8bf7\u7684\u8bc1\u4e66\u53ea\u67093\u4e2a\u6708\u6709\u6548\u671f\uff0c\u5230\u671f\u540e\u6211\u4eec\u9700\u8981\u5148\u5173\u95edcaddy\u548ctrojan\uff0c\u518d\u6267\u884c\u672c\u6559\u7a0b\u4e2d\u7684\u7b2c4\u6b65\uff0c\u4fee\u6539\u4e0bCaddyfile\u6587\u4ef6\uff0c\u8ba9caddy\u83b7\u53d6\u5230\u65b0\u8bc1\u4e66\uff0c\u7136\u540e\u7ee7\u7eed\u6309\u4e0b\u9762\u7684\u6b65\u9aa4\u8fd0\u884c\u3002<\/div>\n<div>\u7528\u4e86\u4e00\u6bb5\u65f6\u95f4trojan\uff0c\u901f\u5ea6\u8fd8\u662f\u6bd4\u8f83\u5feb\u7684\uff0c\u6bd4v2ray\u7684ws\u5feb\uff0c\u4f46\u8c8c\u4f3c\u6ca1\u6709v2ray \u7684tcp\u5feb\u3002\u6211\u7528trojan\u5728google play\u4e0a\u4e0b\u8f7d\u6e38\u620f\u76ee\u524d\u8fbe\u5230\u6700\u5feb24M\/s\uff0c\u8fbe\u5230\u4e86200Mbps\u7684\u901f\u5ea6\uff0c\u8fd9\u662f\u4ee5\u524d\u6ca1\u6709\u8fc7\u7684\u3002<\/div>\n<\/div>\n<pre><code class=\"hljs\">\/usr\/src\/trojan\/server.conf<\/code><\/pre>\n<p>\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u91cd\u542ftrojan\u670d\u52a1\u7aef\u5373\u53ef\uff0c\u540c\u65f6\u5ba2\u6237\u7aef\u7684\u5bc6\u7801\u4e5f\u8981\u540c\u6b65\u4fee\u6539\u54e6\u3002<\/p>\n<pre><code class=\"hljs nginx\"><span class=\"hljs-attribute\">systemctl<\/span> restart trojan<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u7b80\u5355\u7684Trojan\u4e00\u952e\u811a\u672c\uff0c\u6548\u7387\u9ad8\/\u901f\u5ea6\u5feb\/\u5ef6\u8fdf&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3578,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-doc"],"_links":{"self":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/3695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3695"}],"version-history":[{"count":0,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/3695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/media\/3578"}],"wp:attachment":[{"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}