{"id":54915,"date":"2025-02-18T14:54:17","date_gmt":"2025-02-18T06:54:17","guid":{"rendered":"https:\/\/fwq.ai\/blog\/54915\/"},"modified":"2025-02-18T14:54:17","modified_gmt":"2025-02-18T06:54:17","slug":"shadowsocks-%e9%83%a8%e7%bd%b2%e6%8c%87%e5%8d%97%ef%bc%9a%e5%85%a8%e9%9d%a2%e7%9a%84%e5%ae%89%e8%a3%85%e4%b8%8e%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/54915\/","title":{"rendered":"Shadowsocks \u90e8\u7f72\u6307\u5357\uff1a\u5168\u9762\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\u6559\u7a0b"},"content":{"rendered":"<h2>\u76ee\u5f55<\/h2>\n<ol>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li>\n<ul>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/li>\n<li>\n<ul>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/li>\n<li><\/li>\n<li><\/li>\n<\/ol>\n<h2>\u4ec0\u4e48\u662fShadowsocks\uff1f<\/h2>\n<p>Shadowsocks\u662f\u4e00\u79cd\u5b89\u5168\u7684\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u7ed5\u8fc7\u7f51\u7edc\u5ba1\u67e5\u548c\u4fdd\u62a4\u9690\u79c1\u3002\u5b83\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\uff0c\u4f7f\u5176\u5728\u516c\u5171\u7f51\u7edc\u4e2d\u66f4\u52a0\u5b89\u5168\u3002<\/p>\n<h2>Shadowsocks\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n<p>Shadowsocks\u901a\u8fc7\u5728\u7528\u6237\u8bbe\u5907\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u52a0\u5bc6\u7684\u901a\u9053\uff0c\u6765\u5b9e\u73b0\u6570\u636e\u7684\u5b89\u5168\u4f20\u8f93\u3002\u7528\u6237\u7684\u8bf7\u6c42\u9996\u5148\u53d1\u9001\u5230Shadowsocks\u670d\u52a1\u5668\uff0c\u7136\u540e\u7531\u670d\u52a1\u5668\u8f6c\u53d1\u5230\u76ee\u6807\u7f51\u7ad9\uff0c\u6700\u540e\u5c06\u54cd\u5e94\u8fd4\u56de\u7ed9\u7528\u6237\u3002\u8fd9\u79cd\u65b9\u5f0f\u6709\u6548\u5730\u9690\u85cf\u4e86\u7528\u6237\u7684\u771f\u5b9eIP\u5730\u5740\u3002<\/p>\n<h2>Shadowsocks\u7684\u4f18\u70b9<\/h2>\n<ul>\n<li><strong>\u5b89\u5168\u6027<\/strong>\uff1aShadowsocks\u4f7f\u7528\u52a0\u5bc6\u6280\u672f\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\u4e0d\u88ab\u7a83\u53d6\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6027<\/strong>\uff1a\u652f\u6301\u591a\u79cd\u5e73\u53f0\uff0c\u5305\u62ecWindows\u3001macOS\u3001Linux\u548c\u79fb\u52a8\u8bbe\u5907\u3002<\/li>\n<li><strong>\u6613\u4e8e\u4f7f\u7528<\/strong>\uff1a\u7528\u6237\u754c\u9762\u53cb\u597d\uff0c\u914d\u7f6e\u7b80\u5355\u3002<\/li>\n<li><strong>\u9ad8\u6548\u6027<\/strong>\uff1a\u76f8\u8f83\u4e8e\u4f20\u7edfVPN\uff0cShadowsocks\u5728\u901f\u5ea6\u548c\u5ef6\u8fdf\u4e0a\u8868\u73b0\u66f4\u4f73\u3002<\/li>\n<\/ul>\n<h2>\u5982\u4f55\u5b89\u88c5Shadowsocks<\/h2>\n<h3>\u5728Linux\u4e0a\u5b89\u88c5Shadowsocks<\/h3>\n<ol>\n<li>\n<p>\u66f4\u65b0\u7cfb\u7edf\uff1a bash sudo apt-get update<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5Shadowsocks\uff1a bash sudo apt-get install shadowsocks<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6eShadowsocks\uff1a \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4f4d\u4e8e <code>\/etc\/shadowsocks.json<\/code>\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u5728Windows\u4e0a\u5b89\u88c5Shadowsocks<\/h3>\n<ol>\n<li>\u4e0b\u8f7dShadowsocks\u5ba2\u6237\u7aef\uff1a\u8bbf\u95ee\u4e0b\u8f7d\u9002\u5408Windows\u7684\u7248\u672c\u3002<\/li>\n<li>\u5b89\u88c5\u5e76\u8fd0\u884c\u5ba2\u6237\u7aef\u3002<\/li>\n<li>\u914d\u7f6e\u670d\u52a1\u5668\u4fe1\u606f\uff0c\u5305\u62ec\u670d\u52a1\u5668\u5730\u5740\u3001\u7aef\u53e3\u548c\u5bc6\u7801\u3002<\/li>\n<\/ol>\n<h3>\u5728macOS\u4e0a\u5b89\u88c5Shadowsocks<\/h3>\n<ol>\n<li>\n<p>\u4e0b\u8f7dShadowsocks\u5ba2\u6237\u7aef\uff1a\u53ef\u4ee5\u901a\u8fc7Homebrew\u5b89\u88c5\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a bash brew install shadowsocks<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6eShadowsocks\uff1a\u5728\u5ba2\u6237\u7aef\u4e2d\u8f93\u5165\u670d\u52a1\u5668\u4fe1\u606f\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>Shadowsocks\u7684\u914d\u7f6e<\/h2>\n<h3>\u57fa\u672c\u914d\u7f6e<\/h3>\n<ul>\n<li><strong>\u670d\u52a1\u5668\u5730\u5740<\/strong>\uff1a\u586b\u5199Shadowsocks\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3002<\/li>\n<li><strong>\u7aef\u53e3<\/strong>\uff1a\u586b\u5199\u670d\u52a1\u5668\u7684\u7aef\u53e3\u53f7\u3002<\/li>\n<li><strong>\u5bc6\u7801<\/strong>\uff1a\u8bbe\u7f6e\u4e00\u4e2a\u5f3a\u5bc6\u7801\u4ee5\u4fdd\u62a4\u8fde\u63a5\u3002<\/li>\n<li><strong>\u52a0\u5bc6\u65b9\u5f0f<\/strong>\uff1a\u9009\u62e9\u5408\u9002\u7684\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5982aes-256-gcm\u3002<\/li>\n<\/ul>\n<h3>\u9ad8\u7ea7\u914d\u7f6e<\/h3>\n<ul>\n<li><strong>UDP\u8f6c\u53d1<\/strong>\uff1a\u53ef\u4ee5\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u542f\u7528UDP\u8f6c\u53d1\u3002<\/li>\n<li><strong>\u81ea\u5b9a\u4e49\u89c4\u5219<\/strong>\uff1a\u6839\u636e\u9700\u8981\u8bbe\u7f6e\u8bbf\u95ee\u89c4\u5219\uff0c\u5141\u8bb8\u6216\u963b\u6b62\u7279\u5b9a\u7f51\u7ad9\u3002<\/li>\n<\/ul>\n<h2>\u5982\u4f55\u4f7f\u7528Shadowsocks<\/h2>\n<ol>\n<li>\u542f\u52a8Shadowsocks\u5ba2\u6237\u7aef\u3002<\/li>\n<li>\u8fde\u63a5\u5230\u914d\u7f6e\u597d\u7684\u670d\u52a1\u5668\u3002<\/li>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u88ab\u5c4f\u853d\u7684\u7f51\u7ad9\uff0c\u4eab\u53d7\u81ea\u7531\u7684\u7f51\u7edc\u4f53\u9a8c\u3002<\/li>\n<\/ol>\n<h2>\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h2>\n<h3>1. Shadowsocks\u5b89\u5168\u5417\uff1f<\/h3>\n<p>Shadowsocks\u4f7f\u7528\u52a0\u5bc6\u6280\u672f\u6765\u4fdd\u62a4\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\uff0c\u63d0\u4f9b\u4e86\u76f8\u5bf9\u8f83\u9ad8\u7684\u5b89\u5168\u6027\uff0c\u4f46\u7528\u6237\u4ecd\u9700\u6ce8\u610f\u9009\u62e9\u53ef\u4fe1\u7684\u670d\u52a1\u5668\u3002<\/p>\n<h3>2. \u5982\u4f55\u9009\u62e9Shadowsocks\u670d\u52a1\u5668\uff1f<\/h3>\n<p>\u9009\u62e9\u670d\u52a1\u5668\u65f6\uff0c\u5efa\u8bae\u9009\u62e9\u5ef6\u8fdf\u4f4e\u3001\u5e26\u5bbd\u9ad8\u7684\u670d\u52a1\u5668\uff0c\u5e76\u786e\u4fdd\u5176\u4fe1\u8a89\u826f\u597d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u4ec0\u4e48\u662fShadowsocks\uff1f Shadowsocks\u662f\u4e00\u79cd\u5b89\u5168\u7684\u4ee3\u7406\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u7ed5\u8fc7\u7f51\u7edc\u5ba1\u67e5\u548c\u4fdd\u62a4\u9690\u79c1\u3002\u5b83\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\uff0c\u4f7f\u5176\u5728\u516c\u5171\u7f51\u7edc\u4e2d\u66f4\u52a0\u5b89\u5168\u3002 Shadowsocks\u7684\u5de5\u4f5c\u539f\u7406 Shadowsocks\u901a\u8fc7\u5728\u7528\u6237\u8bbe\u5907\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u52a0\u5bc6\u7684\u901a\u9053\uff0c\u6765\u5b9e\u73b0\u6570\u636e\u7684\u5b89\u5168\u4f20\u8f93\u3002\u7528\u6237\u7684\u8bf7\u6c42\u9996\u5148\u53d1\u9001\u5230Shadowsocks\u670d\u52a1\u5668\uff0c\u7136\u540e\u7531\u670d\u52a1\u5668\u8f6c\u53d1\u5230\u76ee\u6807\u7f51\u7ad9\uff0c\u6700\u540e\u5c06\u54cd\u5e94\u8fd4\u56de\u7ed9\u7528\u6237\u3002\u8fd9\u79cd\u65b9\u5f0f\u6709\u6548\u5730\u9690\u85cf\u4e86\u7528\u6237\u7684\u771f\u5b9eIP\u5730\u5740\u3002 Shadowsocks\u7684\u4f18\u70b9 \u5b89\u5168\u6027\uff1aShadowsocks\u4f7f\u7528\u52a0\u5bc6\u6280\u672f\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\u4e0d\u88ab\u7a83\u53d6\u3002 \u7075\u6d3b\u6027\uff1a\u652f\u6301\u591a\u79cd\u5e73\u53f0\uff0c\u5305\u62ecWindows\u3001macOS\u3001Linux\u548c\u79fb\u52a8\u8bbe\u5907\u3002 \u6613\u4e8e\u4f7f\u7528\uff1a\u7528\u6237\u754c\u9762\u53cb\u597d\uff0c\u914d\u7f6e\u7b80\u5355\u3002 \u9ad8\u6548\u6027\uff1a\u76f8\u8f83\u4e8e\u4f20\u7edfVPN\uff0cShadowsocks\u5728\u901f\u5ea6\u548c\u5ef6\u8fdf\u4e0a\u8868\u73b0\u66f4\u4f73\u3002 \u5982\u4f55\u5b89\u88c5Shadowsocks \u5728Linux\u4e0a\u5b89\u88c5Shadowsocks \u66f4\u65b0\u7cfb\u7edf\uff1a bash sudo apt-get update \u5b89\u88c5Shadowsocks\uff1a bash sudo apt-get install shadowsocks \u914d\u7f6eShadowsocks\uff1a \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4f4d\u4e8e \/etc\/shadowsocks.json\u3002 \u5728Windows\u4e0a\u5b89\u88c5Shadowsocks \u4e0b\u8f7dShadowsocks\u5ba2\u6237\u7aef\uff1a\u8bbf\u95ee\u4e0b\u8f7d\u9002\u5408Windows\u7684\u7248\u672c\u3002 \u5b89\u88c5\u5e76\u8fd0\u884c\u5ba2\u6237\u7aef\u3002 \u914d\u7f6e\u670d\u52a1\u5668\u4fe1\u606f\uff0c\u5305\u62ec\u670d\u52a1\u5668\u5730\u5740\u3001\u7aef\u53e3\u548c\u5bc6\u7801\u3002 \u5728macOS\u4e0a\u5b89\u88c5Shadowsocks \u4e0b\u8f7dShadowsocks\u5ba2\u6237\u7aef\uff1a\u53ef\u4ee5\u901a\u8fc7Homebrew\u5b89\u88c5\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a bash brew install shadowsocks \u914d\u7f6eShadowsocks\uff1a\u5728\u5ba2\u6237\u7aef\u4e2d\u8f93\u5165\u670d\u52a1\u5668\u4fe1\u606f\u3002 Shadowsocks\u7684\u914d\u7f6e \u57fa\u672c\u914d\u7f6e \u670d\u52a1\u5668\u5730\u5740\uff1a\u586b\u5199Shadowsocks\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3002 \u7aef\u53e3\uff1a\u586b\u5199\u670d\u52a1\u5668\u7684\u7aef\u53e3\u53f7\u3002 \u5bc6\u7801\uff1a\u8bbe\u7f6e\u4e00\u4e2a\u5f3a\u5bc6\u7801\u4ee5\u4fdd\u62a4\u8fde\u63a5\u3002 \u52a0\u5bc6\u65b9\u5f0f\uff1a\u9009\u62e9\u5408\u9002\u7684\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5982aes-256-gcm\u3002 \u9ad8\u7ea7\u914d\u7f6e UDP\u8f6c\u53d1\uff1a\u53ef\u4ee5\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u542f\u7528UDP\u8f6c\u53d1\u3002 \u81ea\u5b9a\u4e49\u89c4\u5219\uff1a\u6839\u636e\u9700\u8981\u8bbe\u7f6e\u8bbf\u95ee\u89c4\u5219\uff0c\u5141\u8bb8\u6216\u963b\u6b62\u7279\u5b9a\u7f51\u7ad9\u3002 \u5982\u4f55\u4f7f\u7528Shadowsocks \u542f\u52a8Shadowsocks\u5ba2\u6237\u7aef\u3002 \u8fde\u63a5\u5230\u914d\u7f6e\u597d\u7684\u670d\u52a1\u5668\u3002 \u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u88ab\u5c4f\u853d\u7684\u7f51\u7ad9\uff0c\u4eab\u53d7\u81ea\u7531\u7684\u7f51\u7edc\u4f53\u9a8c\u3002 \u5e38\u89c1\u95ee\u9898\u89e3\u7b54 1. Shadowsocks\u5b89\u5168\u5417\uff1f Shadowsocks\u4f7f\u7528\u52a0\u5bc6\u6280\u672f\u6765\u4fdd\u62a4\u7528\u6237\u7684\u7f51\u7edc\u6d41\u91cf\uff0c\u63d0\u4f9b\u4e86\u76f8\u5bf9\u8f83\u9ad8\u7684\u5b89\u5168\u6027\uff0c\u4f46\u7528\u6237\u4ecd\u9700\u6ce8\u610f\u9009\u62e9\u53ef\u4fe1\u7684\u670d\u52a1\u5668\u3002 2. [&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-54915","post","type-post","status-publish","format-standard","hentry","category-vpn"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/54915","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=54915"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/54915\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=54915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=54915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=54915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}