{"id":116,"date":"2017-10-15T19:04:04","date_gmt":"2017-10-15T11:04:04","guid":{"rendered":"https:\/\/wp.yaanren.win\/?p=116"},"modified":"2017-10-15T19:04:04","modified_gmt":"2017-10-15T11:04:04","slug":"%e5%ae%89%e8%a3%85-shadowsocks-%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a","status":"publish","type":"post","link":"https:\/\/wp.625300.xyz\/?p=116","title":{"rendered":"\u5b89\u88c5 shadowsocks \u5ba2\u6237\u7aef\u5728\u6811\u8393\u6d3e\u4e0a"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div id=\"sites-canvas-main\" class=\"sites-canvas-main\">\n<div id=\"sites-canvas-main-content\">\n<table class=\"sites-layout-name-one-column sites-layout-hbox\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td class=\"sites-layout-tile sites-tile-name-content-1\">\n<div dir=\"ltr\">\n<div><b>\u5173\u4e8e shadowsocks \u7684\u793a\u610f\u56fe<\/b><\/div>\n<div>\n<div><img decoding=\"async\" src=\"https:\/\/f37d178313e4db7080cfbe3774cc5aa329e720f9.googledrive.com\/host\/0B6hvW6XtZ2CdaGRDTXNZbThTX1k\/whats-shadowsocks.png\" border=\"0\" \/><\/div>\n<\/div>\n<div>\u4e4b\u524d\u6211\u5b89\u88c5\u4e86\u4e00\u4e2a shadowsocks \u670d\u52a1\u7aef\u5728\u8fdc\u7a0b\u7684\u670d\u52a1\u5668\u4e0a\u3002\u73b0\u5728\u6765\u5b89\u88c5\u5ba2\u6237\u7aef\u5230\u672c\u5730\u670d\u52a1\u5668\uff0c\u8fd9\u6837\u7684\u8bdd\u53ea\u8981\u672c\u5730\u670d\u52a1\u5668\u5f00\u673a\u5c31\u53ef\u4ee5\u7ed9\u5168\u90e8\u7684\u672c\u5730\u673a\u5668\u4ee3\u7406\u4e0a\u7f51\u4e86\u3002\u800c\u4e0d\u5fc5\u6bcf\u4e2a\u672c\u5730\u673a\u5668\u90fd\u5b89\u88c5\u5ba2\u6237\u7aef\u3002\u5f53\u7136\uff0c\u5982\u679c\u4f60\u95f2\u7684\u86cb\u75bc\u4e5f\u53ef\u4ee5\u7ed9\u6bcf\u4e2a\u672c\u5730\u673a\u5668\u5b89\u88c5\u5ba2\u6237\u7aef\u3002\u4e0d\u8fc7\u524d\u9762\u5df2\u7ecf\u8bf4\u4e86\u2014\u2014\u6ca1\u5fc5\u8981\u3002<\/div>\n<div><\/div>\n<div><b>\u5b89\u88c5 Shadowsocks\u00a0<\/b><\/div>\n<div><\/div>\n<div class=\"sites-codeblock sites-codesnippet-block\">\n<div><code>apt-get install python-pip python-m2crypto<\/code><\/div>\n<div><code>pip install shadowsocks<\/code><\/div>\n<\/div>\n<div><\/div>\n<div><b>\u65b0\u5efa\u914d\u7f6e\u6587\u4ef6<\/b><\/div>\n<div>\n<div class=\"sites-codeblock sites-codesnippet-block\"><code>sudo nano \/etc\/shadowsocks.json<\/code><\/div>\n<\/div>\n<div>\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\u3002<\/div>\n<div><code>{<\/code><\/div>\n<div><code>\u00a0\"server\":\"SS\u670d\u52a1\u5668ip\u5730\u5740\",<\/code><\/div>\n<div><code>\u00a0\"server_port\":443,<\/code><\/div>\n<div><code>\u00a0\"local_address\":\"192.168.4.13\",<\/code><\/div>\n<div><code>\u00a0\"local_port\":1080,<\/code><\/div>\n<div><code>\u00a0\"password\":\"your-passwd\",<\/code><\/div>\n<div><code>\u00a0\"timeout\":300,<\/code><\/div>\n<div><code>\u00a0\"method\":\"aes-256-cfb\",<\/code><\/div>\n<div><code>\u00a0\"fast_open\":false,<\/code><\/div>\n<div><code>\u00a0\"workers\":10<\/code><\/div>\n<div><code>}<\/code><\/div>\n<div><\/div>\n<div><b>\u914d\u7f6e\u6587\u4ef6\u8bf4\u660e<\/b><\/div>\n<div>SS\u670d\u52a1\u5668ip\u5730\u5740\uff0c\u8bf7\u586b\u4f60\u7684\u670d\u52a1\u5668 IP \u5730\u5740\u3002\u4e0d\u786e\u5b9a\u7684\u8bdd\uff0c\u53bb\u670d\u52a1\u5668\u4e0a\u67e5\u770b\u3002<\/div>\n<div>&#8220;server_port&#8221;\uff0c\u8bf7\u586b\u5199\u4f60\u7684 SS\u670d\u52a1 \u7aef\u53e3\u3002\u4e0d\u786e\u5b9a\u7684\u8bdd\uff0c\u53bb\u670d\u52a1\u5668\u4e0a\u770b\u4f60\u7684SS\u914d\u7f6e\u3002<\/div>\n<div>&#8220;local_address&#8221;:&#8221;192.168.4.13&#8243;,\u8fd9\u4e2a\u662f\u6211\u6811\u8393\u6d3e\u5728\u672c\u5730\u7684 IP \u5730\u5740\uff0c\u4f9b\u7ed9\u672c\u5730\u673a\u5668\u4f7f\u7528<\/div>\n<div>&#8220;local_port&#8221;:1080,\u662f\u6211\u4f9b\u7ed9\u672c\u5730\u673a\u5668\u4f7f\u7528\u7684\u7aef\u53e3<\/div>\n<div>&#8220;password&#8221;:&#8221;your-passwd&#8221;,\u586b\u5199\u670d\u52a1\u5bc6\u7801\u3002\u786e\u4fdd\u548c\u670d\u52a1\u5668\u4e0a\u5199\u7684\u4e00\u6837\u3002<\/div>\n<div>&#8220;timeout&#8221;:300,\u4ee5\u4e0b\u5168\u90e8\u548c\u8fdc\u7a0b\u670d\u52a1\u5668\u4fdd\u6301\u4e00\u81f4<\/div>\n<div>&#8220;method&#8221;:&#8221;aes-256-cfb&#8221;,<\/div>\n<div>&#8220;fast_open&#8221;:false,<\/div>\n<div>&#8220;workers&#8221;:10<\/div>\n<div><\/div>\n<div><b>\u6dfb\u52a0\u5230\u5f00\u673a\u81ea\u542f\u52a8<\/b><\/div>\n<div>\n<div class=\"sites-codeblock sites-codesnippet-block\"><code>sudo nano \/etc\/rc.local<\/code><\/div>\n<\/div>\n<div>\u5728<code>\u00a0exit 0\u00a0<\/code>\u4e4b\u524d\u5199\u5165\u8fd9\u4e00\u884c<\/div>\n<div><code>\/usr\/local\/bin\/sslocal -c \/etc\/shadowsocks.json -d start<\/code><\/div>\n<div><\/div>\n<div><b>\u91cd\u542f\u6811\u8393\u6d3e<\/b><\/div>\n<div>\n<div class=\"sites-codeblock sites-codesnippet-block\"><code>sudo reboot<\/code><\/div>\n<\/div>\n<div><\/div>\n<div>\u5728\u4efb\u4e00\u548c\u6811\u8393\u6d3e<b>\u540c\u5c40\u57df\u7f51\u5185\u7684\u672c\u5730\u673a\u5668<\/b><\/div>\n<div>\u5982\u8fd9\u4e2a IP \u7684\u673a\u5668\u4e0a\uff1a192.168.4.33<\/div>\n<div>\u6253\u5f00 Firefox \u6d4f\u89c8\u5668\uff0c\u5728\u5730\u5740\u680f\u8f93\u5165<\/div>\n<div>\n<div class=\"sites-codeblock sites-codesnippet-block\"><code>about:preferences#advanced<\/code><\/div>\n<\/div>\n<div>\u9009<code>\u00a0\u7f51\u7edc\u00a0<\/code>\u8fde\u63a5 \u914d\u7f6e Firefox \u5982\u4f55\u8fde\u63a5\u81f3\u56fd\u9645\u4e92\u8054\u7f51\uff0c<code>\u8bbe\u7f6e(E)..<\/code><\/div>\n<div><code>\u624b\u52a8\u914d\u7f6e\u4ee3\u7406(M)<\/code><\/div>\n<div>\u9009\u62e9<code>\u00a0SOCKS\u4e3b\u673a\u00a0<\/code><\/div>\n<div>\u5730\u5740\u4e3a<code>192.168.4.13<\/code><\/div>\n<div>\u7aef\u53e3<code>1080<\/code><\/div>\n<div>\u7248\u672c\u9009\u00a0<code>SOCKSv5<\/code><\/div>\n<div><code>\u4fdd\u5b58<\/code><\/div>\n<div><\/div>\n<div>\u7136\u540e\u5c31\u53ef\u4ee5\u79d1\u5b66\u7684\u6253\u5f00\u4e00\u4e9b\u7f51\u7ad9\u4e86<\/div>\n<div><\/div>\n<div><b>\u53c2\u8003<\/b><\/div>\n<div><code>http:\/\/wiki.guoruei.org\/computer\/software\/linux\/install-shadowsocks-on-ubuntu-vps<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u5173\u4e8e shadowsocks \u7684\u793a\u610f\u56fe \u4e4b\u524d\u6211\u5b89\u88c5\u4e86\u4e00\u4e2a shadowsocks \u670d\u52a1\u7aef\u5728\u8fdc\u7a0b\u7684&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,32,33],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-shadowsocks","category-32","category-33"],"_links":{"self":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=116"}],"version-history":[{"count":0,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}