{"id":56460,"date":"2025-02-22T11:49:36","date_gmt":"2025-02-22T03:49:36","guid":{"rendered":"https:\/\/fwq.ai\/blog\/56460\/"},"modified":"2025-02-22T11:49:36","modified_gmt":"2025-02-22T03:49:36","slug":"shadowsocks%e6%ba%90%e4%bb%a3%e7%a0%81%e4%b8%8b%e8%bd%bd%e4%b8%8e%e4%bd%bf%e7%94%a8%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/56460\/","title":{"rendered":"Shadowsocks\u6e90\u4ee3\u7801\u4e0b\u8f7d\u4e0e\u4f7f\u7528\u6307\u5357"},"content":{"rendered":"<h2>1. \u4ec0\u4e48\u662fShadowsocks\uff1f<\/h2>\n<p>Shadowsocks\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u7ed5\u8fc7\u4e92\u8054\u7f51\u5ba1\u67e5\uff0c\u63d0\u4f9b\u5b89\u5168\u7684\u7f51\u7edc\u8bbf\u95ee\u3002\u7531\u4e8e\u5176\u7b80\u5355\u6709\u6548\u7684\u7279\u6027\uff0cShadowsocks\u5728\u5168\u7403\u8303\u56f4\u5185\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\u3002<\/p>\n<h2>2. Shadowsocks\u7684\u4e3b\u8981\u7279\u70b9<\/h2>\n<ul>\n<li><strong>\u9ad8\u6548\u6027<\/strong>\uff1aShadowsocks\u80fd\u591f\u5728\u4e0d\u540c\u7f51\u7edc\u73af\u5883\u4e0b\u4fdd\u6301\u826f\u597d\u7684\u901f\u5ea6\u3002<\/li>\n<li><strong>\u5b89\u5168\u6027<\/strong>\uff1a\u91c7\u7528\u591a\u79cd\u52a0\u5bc6\u534f\u8bae\uff0c\u4fdd\u969c\u7528\u6237\u7684\u6570\u636e\u5b89\u5168\u3002<\/li>\n<li><strong>\u6613\u7528\u6027<\/strong>\uff1a\u7b80\u5355\u7684\u914d\u7f6e\u8fc7\u7a0b\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u5feb\u901f\u4e0a\u624b\u3002<\/li>\n<\/ul>\n<h2>3. \u5982\u4f55\u4e0b\u8f7dShadowsocks\u6e90\u4ee3\u7801<\/h2>\n<h3>3.1 \u4eceGitHub\u4e0b\u8f7d<\/h3>\n<p>Shadowsocks\u7684\u6e90\u4ee3\u7801\u6258\u7ba1\u5728GitHub\u4e0a\u3002\u4ee5\u4e0b\u662f\u4e0b\u8f7d\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u6253\u5f00 .<\/li>\n<li>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cCode\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cDownload ZIP\u201d\u8fdb\u884c\u4e0b\u8f7d\u3002<\/li>\n<li>\u89e3\u538b\u4e0b\u8f7d\u7684ZIP\u6587\u4ef6\uff0c\u60a8\u5c06\u770b\u5230Shadowsocks\u7684\u6e90\u4ee3\u7801\u3002<\/li>\n<\/ol>\n<h3>3.2 \u4f7f\u7528Git\u514b\u9686\u6e90\u4ee3\u7801<\/h3>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528Git\u547d\u4ee4\u884c\u5de5\u5177\u514b\u9686\u6e90\u4ee3\u7801\uff1a bash git clone https:\/\/github.com\/shadowsocks\/shadowsocks.git<\/p>\n<h2>4. Shadowsocks\u7684\u5b89\u88c5\u6b65\u9aa4<\/h2>\n<h3>4.1 \u5b89\u88c5\u4f9d\u8d56<\/h3>\n<p>\u5728\u8fd0\u884cShadowsocks\u4e4b\u524d\uff0c\u786e\u4fdd\u60a8\u7684\u73af\u5883\u5df2\u7ecf\u5b89\u88c5\u4e86\u6240\u9700\u7684\u4f9d\u8d56\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u5b83\u4eec\uff1a bash sudo apt-get install python-pip python-m2crypto<\/p>\n<h3>4.2 \u914d\u7f6eShadowsocks<\/h3>\n<p>\u5728\u89e3\u538b\u540e\u7684\u76ee\u5f55\u4e2d\uff0c\u60a8\u4f1a\u627e\u5230\u4e00\u4e2a\u793a\u4f8b\u914d\u7f6e\u6587\u4ef6\uff08config.json\uff09\u3002\u8bf7\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<h3>4.3 \u542f\u52a8Shadowsocks<\/h3>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u542f\u52a8Shadowsocks\uff1a bash python server.py -c config.json<\/p>\n<h2>5. \u4f7f\u7528Shadowsocks<\/h2>\n<p>\u4e00\u65e6\u60a8\u6210\u529f\u542f\u52a8Shadowsocks\u670d\u52a1\u5668\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u76f8\u5e94\u7684\u5ba2\u6237\u7aef\u6765\u8fde\u63a5\u3002\u786e\u4fdd\u5ba2\u6237\u7aef\u7684\u914d\u7f6e\u4e0e\u670d\u52a1\u5668\u76f8\u5339\u914d\u3002<\/p>\n<h2>6. \u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff08FAQ\uff09<\/h2>\n<h3>6.1 \u5982\u4f55\u786e\u4fddShadowsocks\u7684\u5b89\u5168\u6027\uff1f<\/h3>\n<ul>\n<li>\u4f7f\u7528\u5f3a\u5bc6\u7801\u8fdb\u884c\u670d\u52a1\u5668\u7684\u914d\u7f6e\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0Shadowsocks\u7248\u672c\u3002<\/li>\n<li>\u91c7\u7528TLS\u52a0\u5bc6\u8fde\u63a5\u3002<\/li>\n<\/ul>\n<h3>6.2 \u5982\u4f55\u89e3\u51b3Shadowsocks\u8fde\u63a5\u4e0d\u4e0a\u7684\u95ee\u9898\uff1f<\/h3>\n<ul>\n<li>\u68c0\u67e5\u670d\u52a1\u5668\u662f\u5426\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<li>\u786e\u8ba4\u7f51\u7edc\u8fde\u63a5\u662f\u5426\u6b63\u5e38\u3002<\/li>\n<li>\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ul>\n<h3>6.3 Shadowsocks\u7684\u901f\u5ea6\u5982\u4f55\u4f18\u5316\uff1f<\/h3>\n<ul>\n<li>\u9009\u62e9\u9760\u8fd1\u60a8\u7684\u5730\u7406\u4f4d\u7f6e\u7684\u670d\u52a1\u5668\u3002<\/li>\n<li>\u8c03\u6574MTU\u8bbe\u7f6e\u3002<\/li>\n<li>\u5b9a\u671f\u6e05\u7406\u5ba2\u6237\u7aef\u7f13\u5b58\u3002<\/li>\n<\/ul>\n<h3>6.4 Shadowsocks\u4e0e\u5176\u4ed6\u4ee3\u7406\u5de5\u5177\u7684\u6bd4\u8f83<\/h3>\n<ul>\n<li><strong>\u4e0eVPN\u76f8\u6bd4<\/strong>\uff1aShadowsocks\u901a\u5e38\u901f\u5ea6\u66f4\u5feb\uff0c\u4f46\u53ef\u80fd\u5728\u5b89\u5168\u6027\u4e0a\u7565\u900a\u8272\u3002<\/li>\n<li><strong>\u4e0eV2Ray\u76f8\u6bd4<\/strong>\uff1aV2Ray\u7684\u529f\u80fd\u66f4\u4e3a\u4e30\u5bcc\uff0c\u4f46\u914d\u7f6e\u8f83\u590d\u6742\u3002<\/li>\n<\/ul>\n<h2>7. \u603b\u7ed3<\/h2>\n<p>Shadowsocks\u4f5c\u4e3a\u4e00\u6b3e\u4f18\u79c0\u7684\u4ee3\u7406\u5de5\u5177\uff0c\u9002\u5408\u90a3\u4e9b\u9700\u8981\u8bbf\u95ee\u88ab\u9650\u5236\u5185\u5bb9\u7684\u7528\u6237\u3002\u901a\u8fc7\u672c\u6587\u63d0\u4f9b\u7684\u4e0b\u8f7d\u4e0e\u5b89\u88c5\u6307\u5357\uff0c\u60a8\u5e94\u8be5\u80fd\u591f\u987a\u5229\u5730\u5728\u81ea\u5df1\u7684\u8bbe\u5907\u4e0a\u914d\u7f6eShadowsocks\u3002\u5982\u679c\u60a8\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u6b22\u8fce\u53c2\u8003\u5e38\u89c1\u95ee\u9898\u89e3\u7b54\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4ec0\u4e48\u662fShadowsocks\uff1f Shadowsocks\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u7ed5\u8fc7\u4e92\u8054\u7f51\u5ba1\u67e5\uff0c\u63d0\u4f9b\u5b89\u5168\u7684\u7f51\u7edc\u8bbf\u95ee\u3002\u7531\u4e8e\u5176\u7b80\u5355\u6709\u6548\u7684\u7279\u6027\uff0cShadowsocks\u5728\u5168\u7403\u8303\u56f4\u5185\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\u3002 2. Shadowsocks\u7684\u4e3b\u8981\u7279\u70b9 \u9ad8\u6548\u6027\uff1aShadowsocks\u80fd\u591f\u5728\u4e0d\u540c\u7f51\u7edc\u73af\u5883\u4e0b\u4fdd\u6301\u826f\u597d\u7684\u901f\u5ea6\u3002 \u5b89\u5168\u6027\uff1a\u91c7\u7528\u591a\u79cd\u52a0\u5bc6\u534f\u8bae\uff0c\u4fdd\u969c\u7528\u6237\u7684\u6570\u636e\u5b89\u5168\u3002 \u6613\u7528\u6027\uff1a\u7b80\u5355\u7684\u914d\u7f6e\u8fc7\u7a0b\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u5feb\u901f\u4e0a\u624b\u3002 3. \u5982\u4f55\u4e0b\u8f7dShadowsocks\u6e90\u4ee3\u7801 3.1 \u4eceGitHub\u4e0b\u8f7d Shadowsocks\u7684\u6e90\u4ee3\u7801\u6258\u7ba1\u5728GitHub\u4e0a\u3002\u4ee5\u4e0b\u662f\u4e0b\u8f7d\u6b65\u9aa4\uff1a \u6253\u5f00 . \u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201cCode\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cDownload ZIP\u201d\u8fdb\u884c\u4e0b\u8f7d\u3002 \u89e3\u538b\u4e0b\u8f7d\u7684ZIP\u6587\u4ef6\uff0c\u60a8\u5c06\u770b\u5230Shadowsocks\u7684\u6e90\u4ee3\u7801\u3002 3.2 \u4f7f\u7528Git\u514b\u9686\u6e90\u4ee3\u7801 \u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528Git\u547d\u4ee4\u884c\u5de5\u5177\u514b\u9686\u6e90\u4ee3\u7801\uff1a bash git clone https:\/\/github.com\/shadowsocks\/shadowsocks.git 4. Shadowsocks\u7684\u5b89\u88c5\u6b65\u9aa4 4.1 \u5b89\u88c5\u4f9d\u8d56 \u5728\u8fd0\u884cShadowsocks\u4e4b\u524d\uff0c\u786e\u4fdd\u60a8\u7684\u73af\u5883\u5df2\u7ecf\u5b89\u88c5\u4e86\u6240\u9700\u7684\u4f9d\u8d56\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u5b83\u4eec\uff1a bash sudo apt-get install python-pip python-m2crypto 4.2 \u914d\u7f6eShadowsocks \u5728\u89e3\u538b\u540e\u7684\u76ee\u5f55\u4e2d\uff0c\u60a8\u4f1a\u627e\u5230\u4e00\u4e2a\u793a\u4f8b\u914d\u7f6e\u6587\u4ef6\uff08config.json\uff09\u3002\u8bf7\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u4fee\u6539\u3002 4.3 \u542f\u52a8Shadowsocks \u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u542f\u52a8Shadowsocks\uff1a bash python server.py -c config.json 5. \u4f7f\u7528Shadowsocks \u4e00\u65e6\u60a8\u6210\u529f\u542f\u52a8Shadowsocks\u670d\u52a1\u5668\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u76f8\u5e94\u7684\u5ba2\u6237\u7aef\u6765\u8fde\u63a5\u3002\u786e\u4fdd\u5ba2\u6237\u7aef\u7684\u914d\u7f6e\u4e0e\u670d\u52a1\u5668\u76f8\u5339\u914d\u3002 6. \u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff08FAQ\uff09 6.1 \u5982\u4f55\u786e\u4fddShadowsocks\u7684\u5b89\u5168\u6027\uff1f \u4f7f\u7528\u5f3a\u5bc6\u7801\u8fdb\u884c\u670d\u52a1\u5668\u7684\u914d\u7f6e\u3002 [&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-56460","post","type-post","status-publish","format-standard","hentry","category-vpn"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/56460","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=56460"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/56460\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=56460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=56460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=56460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}