{"id":56699,"date":"2025-02-22T10:48:05","date_gmt":"2025-02-22T02:48:05","guid":{"rendered":"https:\/\/fwq.ai\/blog\/56699\/"},"modified":"2025-02-22T10:48:05","modified_gmt":"2025-02-22T02:48:05","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8github%e4%b8%8a%e6%90%ad%e5%bb%bashadowsocks%ef%bc%9a%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b%e4%b8%8e%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e8%a7%a3%e7%ad%94","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/56699\/","title":{"rendered":"\u5982\u4f55\u5728GitHub\u4e0a\u642d\u5efaShadowsocks\uff1a\u8be6\u7ec6\u6559\u7a0b\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u7b54"},"content":{"rendered":"<h2>\u76ee\u5f55<\/h2>\n<ol>\n<li><\/li>\n<li><\/li>\n<li>\n<ul>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/li>\n<li><\/li>\n<li><\/li>\n<\/ol>\n<h2>\u4ec0\u4e48\u662fShadowsocks<\/h2>\n<p><em>Shadowsocks<\/em>\u662f\u4e00\u6b3e\u57fa\u4e8eSOCKS5\u4ee3\u7406\u534f\u8bae\u7684\u5b89\u5168\u9690\u79c1\u5de5\u5177\uff0c\u5e7f\u6cdb\u7528\u4e8e\u79d1\u5b66\u4e0a\u7f51\u3002\u5b83\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u6d41\u91cf\uff0c\u63d0\u4f9b\u66f4\u5b89\u5168\u7684\u4e0a\u7f51\u4f53\u9a8c\u3002\u6b64\u5de5\u5177\u7684\u9ad8\u6548\u548c\u7b80\u6613\u4f7f\u5176\u6210\u4e3a\u7528\u6237\u7a81\u7834\u7f51\u7edc\u9650\u5236\u7684\u9996\u9009\u65b9\u6848\u3002<\/p>\n<h2>Shadowsocks\u7684\u4f18\u70b9<\/h2>\n<ul>\n<li><strong>\u9690\u79c1\u4fdd\u62a4<\/strong>\uff1a\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u6570\u636e\u6d41\u91cf\uff0c\u4fdd\u62a4\u4e2a\u4eba\u9690\u79c1\u3002<\/li>\n<li><strong>\u901f\u5ea6\u5feb<\/strong>\uff1a\u76f8\u6bd4\u4f20\u7edfVPN\uff0cShadowsocks\u7684\u5ef6\u8fdf\u66f4\u4f4e\uff0c\u901f\u5ea6\u66f4\u5feb\u3002<\/li>\n<li><strong>\u914d\u7f6e\u7b80\u5355<\/strong>\uff1a\u4f7f\u7528\u548c\u642d\u5efa\u76f8\u5bf9\u7b80\u5355\uff0c\u5373\u4f7f\u662f\u6280\u672f\u5c0f\u767d\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u3002<\/li>\n<li><strong>\u517c\u5bb9\u6027\u5f3a<\/strong>\uff1a\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982Windows\u3001Linux\u3001macOS\u7b49\u3002<\/li>\n<\/ul>\n<h2>\u5728GitHub\u4e0a\u642d\u5efaShadowsocks\u7684\u6b65\u9aa4<\/h2>\n<h3>\u6b65\u9aa4\u4e00\uff1a\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u5728\u5f00\u59cb\u642d\u5efa\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u4ee5\u4e0b\u51c6\u5907\u5de5\u4f5c\uff1a<\/p>\n<ul>\n<li>\u62e5\u6709\u4e00\u4e2aGitHub\u8d26\u6237\u3002<\/li>\n<li>\u786e\u4fdd\u4f60\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u5b89\u88c5\u4e86Git\u3002<\/li>\n<li>\u51c6\u5907\u4e00\u4e2a\u53ef\u4ee5\u4f7f\u7528\u7684\u670d\u52a1\u5668\uff08\u5982VPS\uff09\u6765\u8fd0\u884cShadowsocks\u3002<\/li>\n<\/ul>\n<h3>\u6b65\u9aa4\u4e8c\uff1a\u521b\u5efaGitHub\u4ed3\u5e93<\/h3>\n<ol>\n<li>\u767b\u5f55\u4f60\u7684GitHub\u8d26\u6237\u3002<\/li>\n<li>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u52a0\u53f7\uff0c\u9009\u62e9\u201cNew repository\u201d\u3002<\/li>\n<li>\u586b\u5199\u4ed3\u5e93\u540d\u79f0\uff0c\u5982<code>shadowsocks-config<\/code>\u3002<\/li>\n<li>\u9009\u62e9\u516c\u5f00\u6216\u79c1\u6709\uff0c\u70b9\u51fb\u201cCreate repository\u201d\u3002<\/li>\n<\/ol>\n<h3>\u6b65\u9aa4\u4e09\uff1a\u4e0a\u4f20\u914d\u7f6e\u6587\u4ef6<\/h3>\n<ol>\n<li>\u5728\u672c\u5730\u521b\u5efaShadowsocks\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4e3a<code>config.json<\/code>\u3002<\/li>\n<li>\u6253\u5f00\u4f60\u521a\u624d\u521b\u5efa\u7684GitHub\u4ed3\u5e93\u3002<\/li>\n<li>\u70b9\u51fb\u201cUpload files\u201d\u6309\u94ae\uff0c\u5c06\u914d\u7f6e\u6587\u4ef6\u4e0a\u4f20\u5230\u4ed3\u5e93\u4e2d\u3002<\/li>\n<li>\u786e\u8ba4\u6587\u4ef6\u4e0a\u4f20\u65e0\u8bef\u540e\uff0c\u70b9\u51fb\u201cCommit changes\u201d\u3002<\/li>\n<\/ol>\n<h3>\u6b65\u9aa4\u56db\uff1a\u8bbe\u7f6e\u57df\u540d\u4e0eHTTPS<\/h3>\n<ol>\n<li>\u8d2d\u4e70\u4e00\u4e2a\u57df\u540d\uff0c\u5e76\u5c06\u5176\u6307\u5411\u4f60\u7684\u670d\u52a1\u5668IP\u5730\u5740\u3002<\/li>\n<li>\u5728GitHub\u4e0a\u8bbe\u7f6ePages\uff0c\u9009\u62e9\u4f60\u7684\u4ed3\u5e93\u4f5c\u4e3a\u6e90\uff0c\u5f00\u542fHTTPS\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u7684\u5b89\u5168\u6027\u3002<\/li>\n<\/ol>\n<h2>Shadowsocks\u7684\u914d\u7f6e\u4e0e\u4f7f\u7528<\/h2>\n<ol>\n<li>\n<p>\u5728\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Shadowsocks\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a bash sudo apt-get install shadowsocks-libev<\/p>\n<\/li>\n<li>\n<p>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u786e\u4fdd\u586b\u5199\u6b63\u786e\u7684\u7aef\u53e3\u3001\u5bc6\u7801\u53ca\u52a0\u5bc6\u65b9\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u542f\u52a8Shadowsocks\u670d\u52a1\uff1a bash ss-server -c \/etc\/shadowsocks\/config.json<\/p>\n<\/li>\n<li>\n<p>\u5728\u5ba2\u6237\u7aef\uff08\u5982Windows\u3001macOS\u7b49\uff09\u5b89\u88c5Shadowsocks\u5ba2\u6237\u7aef\uff0c\u5e76\u4f7f\u7528\u4f60\u7684\u670d\u52a1\u5668\u4fe1\u606f\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h2>\n<h3>1. \u5982\u4f55\u786e\u4fddShadowsocks\u7684\u5b89\u5168\u6027\uff1f<\/h3>\n<p>\u786e\u4fdd\u4f7f\u7528\u5f3a\u5bc6\u7801\uff0c\u9009\u62e9\u5b89\u5168\u7684\u52a0\u5bc6\u65b9\u5f0f\uff08\u5982aes-256-gcm\uff09\uff0c\u5e76\u5b9a\u671f\u66f4\u6362\u5bc6\u7801\uff0c\u80fd\u591f\u63d0\u9ad8Shadowsocks\u7684\u5b89\u5168\u6027\u3002<\/p>\n<h3>2. Shadowsocks\u53ef\u4ee5\u7528\u4e8e\u54ea\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff1f<\/h3>\n<p>Shadowsocks\u652f\u6301Windows\u3001Linux\u3001macOS\u3001Android\u548ciOS\u7b49\u591a\u4e2a\u5e73\u53f0\u3002<\/p>\n<h3>3. \u5982\u4f55\u89e3\u51b3\u8fde\u63a5\u4e0d\u4e0a\u7684\u95ee\u9898\uff1f<\/h3>\n<ul>\n<li>\u68c0\u67e5\u4f60\u7684\u670d\u52a1\u5668\u662f\u5426\u5728\u7ebf\u3002<\/li>\n<li>\u786e\u4fddShadowsocks\u670d\u52a1\u6b63\u5728\u8fd0\u884c\u3002<\/li>\n<li>\u67e5\u770b\u672c\u5730\u7f51\u7edc\u8bbe\u7f6e\uff0c\u786e\u4fdd\u6ca1\u6709\u9632\u706b\u5899\u963b\u6321\u3002<\/li>\n<\/ul>\n<h3>4. Shadowsocks\u7684\u901f\u5ea6\u5982\u4f55\uff1f<\/h3>\n<p>Shadowsocks\u76f8\u8f83\u4e8e\u4f20\u7edf\u7684VPN\u5de5\u5177\uff0c\u5728\u901f\u5ea6\u548c\u5ef6\u8fdf\u4e0a\u6709\u660e\u663e\u4f18\u52bf\uff0c\u4f46\u5177\u4f53\u901f\u5ea6\u4f1a\u53d7\u5230\u670d\u52a1\u5668\u5e26\u5bbd\u548c\u7f51\u7edc\u73af\u5883\u7684\u5f71\u54cd\u3002<\/p>\n<h3>5. \u5728GitHub\u4e0a\u642d\u5efaShadowsocks\u7684\u4f18\u52bf\u662f\u4ec0\u4e48\uff1f<\/h3>\n<p>\u901a\u8fc7GitHub\u642d\u5efaShadowsocks\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u4e14\u5229\u7528GitHub Pages\u5b9e\u73b0HTTPS\u52a0\u5bc6\uff0c\u63d0\u5347\u5b89\u5168\u6027\u3002<\/p>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u89e3\u7b54\uff0c\u5e0c\u671b\u4f60\u80fd\u591f\u987a\u5229\u5728GitHub\u4e0a\u642d\u5efaShadowsocks\uff0c\u4e3a\u4f60\u7684\u4e0a\u7f51\u4f53\u9a8c\u63d0\u4f9b\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u4e0e\u81ea\u7531\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u4ec0\u4e48\u662fShadowsocks Shadowsocks\u662f\u4e00\u6b3e\u57fa\u4e8eSOCKS5\u4ee3\u7406\u534f\u8bae\u7684\u5b89\u5168\u9690\u79c1\u5de5\u5177\uff0c\u5e7f\u6cdb\u7528\u4e8e\u79d1\u5b66\u4e0a\u7f51\u3002\u5b83\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u6d41\u91cf\uff0c\u63d0\u4f9b\u66f4\u5b89\u5168\u7684\u4e0a\u7f51\u4f53\u9a8c\u3002\u6b64\u5de5\u5177\u7684\u9ad8\u6548\u548c\u7b80\u6613\u4f7f\u5176\u6210\u4e3a\u7528\u6237\u7a81\u7834\u7f51\u7edc\u9650\u5236\u7684\u9996\u9009\u65b9\u6848\u3002 Shadowsocks\u7684\u4f18\u70b9 \u9690\u79c1\u4fdd\u62a4\uff1a\u901a\u8fc7\u52a0\u5bc6\u7528\u6237\u7684\u6570\u636e\u6d41\u91cf\uff0c\u4fdd\u62a4\u4e2a\u4eba\u9690\u79c1\u3002 \u901f\u5ea6\u5feb\uff1a\u76f8\u6bd4\u4f20\u7edfVPN\uff0cShadowsocks\u7684\u5ef6\u8fdf\u66f4\u4f4e\uff0c\u901f\u5ea6\u66f4\u5feb\u3002 \u914d\u7f6e\u7b80\u5355\uff1a\u4f7f\u7528\u548c\u642d\u5efa\u76f8\u5bf9\u7b80\u5355\uff0c\u5373\u4f7f\u662f\u6280\u672f\u5c0f\u767d\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u3002 \u517c\u5bb9\u6027\u5f3a\uff1a\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982Windows\u3001Linux\u3001macOS\u7b49\u3002 \u5728GitHub\u4e0a\u642d\u5efaShadowsocks\u7684\u6b65\u9aa4 \u6b65\u9aa4\u4e00\uff1a\u51c6\u5907\u5de5\u4f5c \u5728\u5f00\u59cb\u642d\u5efa\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u4ee5\u4e0b\u51c6\u5907\u5de5\u4f5c\uff1a \u62e5\u6709\u4e00\u4e2aGitHub\u8d26\u6237\u3002 \u786e\u4fdd\u4f60\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u5b89\u88c5\u4e86Git\u3002 \u51c6\u5907\u4e00\u4e2a\u53ef\u4ee5\u4f7f\u7528\u7684\u670d\u52a1\u5668\uff08\u5982VPS\uff09\u6765\u8fd0\u884cShadowsocks\u3002 \u6b65\u9aa4\u4e8c\uff1a\u521b\u5efaGitHub\u4ed3\u5e93 \u767b\u5f55\u4f60\u7684GitHub\u8d26\u6237\u3002 \u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u52a0\u53f7\uff0c\u9009\u62e9\u201cNew repository\u201d\u3002 \u586b\u5199\u4ed3\u5e93\u540d\u79f0\uff0c\u5982shadowsocks-config\u3002 \u9009\u62e9\u516c\u5f00\u6216\u79c1\u6709\uff0c\u70b9\u51fb\u201cCreate repository\u201d\u3002 \u6b65\u9aa4\u4e09\uff1a\u4e0a\u4f20\u914d\u7f6e\u6587\u4ef6 \u5728\u672c\u5730\u521b\u5efaShadowsocks\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4e3aconfig.json\u3002 \u6253\u5f00\u4f60\u521a\u624d\u521b\u5efa\u7684GitHub\u4ed3\u5e93\u3002 \u70b9\u51fb\u201cUpload files\u201d\u6309\u94ae\uff0c\u5c06\u914d\u7f6e\u6587\u4ef6\u4e0a\u4f20\u5230\u4ed3\u5e93\u4e2d\u3002 \u786e\u8ba4\u6587\u4ef6\u4e0a\u4f20\u65e0\u8bef\u540e\uff0c\u70b9\u51fb\u201cCommit changes\u201d\u3002 \u6b65\u9aa4\u56db\uff1a\u8bbe\u7f6e\u57df\u540d\u4e0eHTTPS \u8d2d\u4e70\u4e00\u4e2a\u57df\u540d\uff0c\u5e76\u5c06\u5176\u6307\u5411\u4f60\u7684\u670d\u52a1\u5668IP\u5730\u5740\u3002 \u5728GitHub\u4e0a\u8bbe\u7f6ePages\uff0c\u9009\u62e9\u4f60\u7684\u4ed3\u5e93\u4f5c\u4e3a\u6e90\uff0c\u5f00\u542fHTTPS\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u7684\u5b89\u5168\u6027\u3002 Shadowsocks\u7684\u914d\u7f6e\u4e0e\u4f7f\u7528 \u5728\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Shadowsocks\u3002 \u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a bash sudo apt-get install shadowsocks-libev \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u786e\u4fdd\u586b\u5199\u6b63\u786e\u7684\u7aef\u53e3\u3001\u5bc6\u7801\u53ca\u52a0\u5bc6\u65b9\u5f0f\u3002 \u542f\u52a8Shadowsocks\u670d\u52a1\uff1a bash ss-server -c \/etc\/shadowsocks\/config.json \u5728\u5ba2\u6237\u7aef\uff08\u5982Windows\u3001macOS\u7b49\uff09\u5b89\u88c5Shadowsocks\u5ba2\u6237\u7aef\uff0c\u5e76\u4f7f\u7528\u4f60\u7684\u670d\u52a1\u5668\u4fe1\u606f\u8fdb\u884c\u914d\u7f6e\u3002 \u5e38\u89c1\u95ee\u9898\u89e3\u7b54 1. \u5982\u4f55\u786e\u4fddShadowsocks\u7684\u5b89\u5168\u6027\uff1f \u786e\u4fdd\u4f7f\u7528\u5f3a\u5bc6\u7801\uff0c\u9009\u62e9\u5b89\u5168\u7684\u52a0\u5bc6\u65b9\u5f0f\uff08\u5982aes-256-gcm\uff09\uff0c\u5e76\u5b9a\u671f\u66f4\u6362\u5bc6\u7801\uff0c\u80fd\u591f\u63d0\u9ad8Shadowsocks\u7684\u5b89\u5168\u6027\u3002 2. Shadowsocks\u53ef\u4ee5\u7528\u4e8e\u54ea\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff1f Shadowsocks\u652f\u6301Windows\u3001Linux\u3001macOS\u3001Android\u548ciOS\u7b49\u591a\u4e2a\u5e73\u53f0\u3002 3. \u5982\u4f55\u89e3\u51b3\u8fde\u63a5\u4e0d\u4e0a\u7684\u95ee\u9898\uff1f [&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-56699","post","type-post","status-publish","format-standard","hentry","category-vpn"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/56699","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=56699"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/56699\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=56699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=56699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=56699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}