﻿{"id":1638,"date":"2017-08-01T15:24:39","date_gmt":"2017-08-01T07:24:39","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=1638"},"modified":"2017-08-01T15:24:39","modified_gmt":"2017-08-01T07:24:39","slug":"shadowsocks-go%e4%b8%80%e9%94%ae%e5%ae%89%e8%a3%85%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/1638","title":{"rendered":"Shadowsocks-go\u4e00\u952e\u5b89\u88c5\u811a\u672c"},"content":{"rendered":"<p><strong>\u672c\u811a\u672c\u9002\u7528\u73af\u5883\uff1a<\/strong>\n\u7cfb\u7edf\u652f\u6301\uff1aCentOS\uff0cDebian\uff0cUbuntu\n\u5185\u5b58\u8981\u6c42\uff1a\u226564M\n\u65e5\u671f\uff1a2017 \u5e74 07 \u6708 22 \u65e5<\/p>\n<p><strong>\u5173\u4e8e\u672c\u811a\u672c\uff1a<\/strong>\n\u4e00\u952e\u5b89\u88c5 Go \u7248\u7684 shadowsocks \u6700\u65b0\u7248\u672c 1.2.1\u3002\u4e0e Python \u7248\u4e0d\u540c\u7684\u662f\uff0c\u5176\u5ba2\u6237\u7aef\u7a0b\u5e8f\u80fd\u4f7f\u7528\u591a\u4e2a\u670d\u52a1\u7aef\u914d\u7f6e\uff0c\u672c\u811a\u672c\u5b89\u88c5\u7684\u662f\u670d\u52a1\u7aef\u7a0b\u5e8f\u3002\n<strong>\u53cb\u60c5\u63d0\u793a\uff1a\u5982\u679c\u4f60\u6709\u95ee\u9898\uff0c\u8bf7\u5148\u53c2\u8003\u8fd9\u7bc7\u300a<a href=\"https:\/\/teddysun.com\/399.html\" target=\"_blank\">Shadowsocks Troubleshooting<\/a>\u300b\u540e\u518d\u95ee\u3002<\/strong><\/p>\n<p><strong>\u9ed8\u8ba4\u914d\u7f6e\uff1a<\/strong>\n\u670d\u52a1\u5668\u7aef\u53e3\uff1a\u81ea\u5df1\u8bbe\u5b9a\uff08\u5982\u4e0d\u8bbe\u5b9a\uff0c\u9ed8\u8ba4\u4e3a 8989\uff09\n\u5bc6\u7801\uff1a\u81ea\u5df1\u8bbe\u5b9a\uff08\u5982\u4e0d\u8bbe\u5b9a\uff0c\u9ed8\u8ba4\u4e3a teddysun.com\uff09\n\u52a0\u5bc6\u65b9\u5f0f\uff1a\u81ea\u5df1\u8bbe\u5b9a\uff08\u5982\u4e0d\u8bbe\u5b9a\uff0c\u9ed8\u8ba4\u4e3a aes-256-cfb\uff09<\/p>\n<p><strong>Shadowsocks for Windows \u5ba2\u6237\u7aef\u4e0b\u8f7d\uff1a<\/strong>\n<a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-windows\/releases\" target=\"_blank\"><a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-windows\/releases\">https:\/\/github.com\/shadowsocks\/shadowsocks-windows\/releases<\/a><\/a><\/p>\n<p><strong>\u4f7f\u7528\u65b9\u6cd5\uff1a<\/strong>\n\u4f7f\u7528root\u7528\u6237\u767b\u5f55\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre class=\"prettyprint lang-bsh\">wget --no-check-certificate -O shadowsocks-go.sh https:\/\/raw.githubusercontent.com\/teddysun\/shadowsocks_install\/master\/shadowsocks-go.sh\nchmod +x shadowsocks-go.sh\n.\/shadowsocks-go.sh 2>&1 | tee shadowsocks-go.log<\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u811a\u672c\u63d0\u793a\u5982\u4e0b\uff1a<\/p>\n<pre class=\"prettyprint lang-bsh\">Congratulations, Shadowsocks-go server install completed!\nYour Server IP        :your_server_ip\nYour Server Port      :your_server_port\nYour Password         :your_password\nYour Encryption Method:your_encryption_method\n\nWelcome to visit:https:\/\/teddysun.com\/392.html\nEnjoy it!<\/pre>\n<p><strong>\u5378\u8f7d\u65b9\u6cd5\uff1a<\/strong>\n\u4f7f\u7528 root \u7528\u6237\u767b\u5f55\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre class=\"prettyprint lang-bsh\">.\/shadowsocks-go.sh uninstall<\/pre>\n<p><strong>\u5176\u4ed6\u4e8b\u9879\uff1a<\/strong>\n\u5ba2\u6237\u7aef\u914d\u7f6e\u7684\u53c2\u8003\u94fe\u63a5\uff1a<a href=\"https:\/\/teddysun.com\/339.html\" target=\"_blank\"><a href=\"https:\/\/teddysun.com\/339.html\">https:\/\/teddysun.com\/339.html<\/a><\/a><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u5373\u5df2\u540e\u53f0\u542f\u52a8 Shadowsocks-go \uff0c\u8fd0\u884c\uff1a<\/p>\n<pre class=\"prettyprint lang-bsh\">\/etc\/init.d\/shadowsocks status<\/pre>\n<p>\u53ef\u4ee5\u67e5\u770b Shadowsocks-go \u8fdb\u7a0b\u662f\u5426\u5df2\u7ecf\u542f\u52a8\u3002\n\u672c\u811a\u672c\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5df2\u5c06 shadowsocks-go \u52a0\u5165\u5f00\u673a\u81ea\u542f\u52a8\u3002<\/p>\n<p><strong>\u4f7f\u7528\u547d\u4ee4\uff1a<\/strong>\n\u542f\u52a8\uff1a\/etc\/init.d\/shadowsocks start\n\u505c\u6b62\uff1a\/etc\/init.d\/shadowsocks stop\n\u91cd\u542f\uff1a\/etc\/init.d\/shadowsocks restart\n\u72b6\u6001\uff1a\/etc\/init.d\/shadowsocks status<\/p>\n<p>\u591a\u7528\u6237\u591a\u7aef\u53e3\u914d\u7f6e\u6587\u4ef6\u793a\u4f8b\uff1a\n\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\uff1a\/etc\/shadowsocks\/config.json<\/p>\n<pre class=\"prettyprint\">{\n    \"port_password\":{\n         \"8989\":\"password0\",\n         \"9001\":\"password1\",\n         \"9002\":\"password2\",\n         \"9003\":\"password3\",\n         \"9004\":\"password4\"\n    },\n    \"method\":\"your_encryption_method\",\n    \"timeout\":600\n}<\/pre>\n<p>\u5b98\u65b9\u7248\u672c\u7684\u793a\u4f8b \uff0c\u8be6\u89c1<a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-go\/blob\/master\/sample-config\/server-multi-port.json\" target=\"_blank\">\u8fd9\u91cc<\/a>\u3002<\/p>\n<p><b>\u66f4\u591a\u7248\u672c Shadowsocks \u670d\u52a1\u7aef\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff1a<\/b>\n<a href=\"https:\/\/shadowsocks.be\/9.html\" target=\"_blank\">ShadowsocksR \u7248\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff08CentOS\uff0cDebian\uff0cUbuntu\uff09<\/a>\n<a href=\"https:\/\/teddysun.com\/342.html\" target=\"_blank\">Shadowsocks Python \u7248\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff08CentOS\uff0cDebian\uff0cUbuntu\uff09<\/a>\n<a href=\"https:\/\/teddysun.com\/357.html\" target=\"_blank\">CentOS \u4e0b shadowsocks-libev \u4e00\u952e\u5b89\u88c5\u811a\u672c<\/a>\n<a href=\"https:\/\/teddysun.com\/358.html\" target=\"_blank\">Debian \u4e0b shadowsocks-libev \u4e00\u952e\u5b89\u88c5\u811a\u672c<\/a><\/p>\n<h3>\u66f4\u65b0\u65e5\u5fd7\uff1a<\/h3>\n<p>2017 \u5e74 07 \u6708 22 \u65e5\uff1a\n\u65b0\u589e\uff1a\u5b89\u88c5\u65f6\u53ef\u9009 9 \u79cd\u52a0\u5bc6\u65b9\u5f0f\u7684\u5176\u4e2d\u4e4b\u4e00\u3002\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre class=\"prettyprint\">aes-256-cfb\naes-192-cfb\naes-128-cfb\naes-256-ctr\naes-192-ctr\naes-128-ctr\nchacha20-ietf\nchacha20\nrc4-md5<\/pre>\n<p>2017 \u5e74 02 \u6708 18 \u65e5\uff1a\n\u57fa\u4e8e <a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-go\" target=\"_blank\">Github \u6700\u65b0\u4ee3\u7801<\/a>\uff0c\u4f7f\u7528\u6700\u65b0\u7684 go 1.8 \u81ea\u4e3b\u7f16\u8bd1 x86 \u548c x86_64 \u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n<p>2017 \u5e74 02 \u6708 13 \u65e5\uff1a\n\u5347\u7ea7 Shadowsocks-go \u7248\u5230\u7248\u672c 1.2.1\uff08\u57fa\u4e8e <a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-go\" target=\"_blank\">Github \u6700\u65b0\u4ee3\u7801<\/a>\uff0c\u7528 go 1.7.5 \u81ea\u4e3b\u7f16\u8bd1\u5b8c\u6210\u7684 x86 \u548c x86_64 \u4e8c\u8fdb\u5236\u6587\u4ef6\uff09\u3002<\/p>\n<p>2017 \u5e74 01 \u6708 27 \u65e5\uff1a\n\u66f4\u65b0 Shadowsocks-go \u5230\u7248\u672c 1.2.1\uff08\u4ec5\u9002\u7528\u4e8e x86_64 \u7cfb\u7edf\uff0cx86 \u7cfb\u7edf\u4ecd\u662f 1.1.5\uff09\u3002<\/p>\n<p>2016 \u5e74 05 \u6708 12 \u65e5\uff1a\n\u65b0\u589e\u5728 CentOS 7 \u4e0b\u7684\u9632\u706b\u5899\u89c4\u5219\u8bbe\u7f6e\u3002<\/p>\n<p>2016 \u5e74 05 \u6708 04 \u65e5\uff1a\n\u66f4\u65b0 Shadowsocks-go \u5230\u7248\u672c 1.1.5\u3002<\/p>\n<p>2015 \u5e74 08 \u6708 01 \u65e5\uff1a\n\u65b0\u589e\u81ea\u5b9a\u4e49\u670d\u52a1\u5668\u7aef\u53e3\u529f\u80fd\uff08\u5982\u4e0d\u8bbe\u5b9a\uff0c\u9ed8\u8ba4\u4e3a 8989\uff09\u3002<\/p>\n<p>2015 \u5e74 05 \u6708 11 \u65e5\uff1a\n\u66f4\u65b0 Shadowsocks-go \u5230\u7248\u672c 1.1.4\u3002<\/p>\n<p>2015 \u5e74 03 \u6708 09 \u65e5\uff1a\n\u65b0\u589e\u652f\u6301\u5728 Debian\uff0cUbuntu \u4e0b\u5b89\u88c5\u3002<\/p>\n<p>2015 \u5e74 01 \u6708 08 \u65e5\uff1a\n\u4fee\u6539\u4e86\u542f\u52a8\u811a\u672c \/etc\/init.d\/shadowsocks \uff0c\u6309\u7167 CentOS \u7684 chkconfig \u6807\u51c6\u8bed\u6cd5\u4fee\u6539\u4e86\u4e00\u4e0b\uff08\u539f\u6765\u4f7f\u7528\u7684\u662f\u4f5c\u8005 Github \u4e0a\u81ea\u5e26\u7684\uff09\u3002\u53bb\u6389\u4e86\u4ee5 nobody \u7528\u6237\u542f\u52a8 shadowsocks \u7684\u65b9\u5f0f\uff0c\u6539\u4e3a\u76f4\u63a5\u4ee5\u5f53\u524d\u767b\u5f55\u7528\u6237\u76f4\u63a5\u542f\u52a8\uff08\u4e00\u822c\u662f root \u7528\u6237\uff09\u3002\u5f00\u673a\u81ea\u542f\u52a8\uff0c\u4ee5\u53ca\u4fee\u6539\u7aef\u53e3\u53f7\u63d0\u793a\u65e0\u6743\u9650\u7684\u95ee\u9898\u5df2\u7ecf\u89e3\u51b3\u3002<\/p>\n<p><strong>\u53c2\u8003\u94fe\u63a5\uff1a<\/strong>\n<a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-go\" target=\"_blank\"><a href=\"https:\/\/github.com\/shadowsocks\/shadowsocks-go\">https:\/\/github.com\/shadowsocks\/shadowsocks-go<\/a><\/a><\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"https:\/\/teddysun.com\/\">\u79cb\u6c34\u9038\u51b0<\/a> \u00bb <a href=\"https:\/\/teddysun.com\/392.html\">Shadowsocks-go\u4e00\u952e\u5b89\u88c5\u811a\u672c<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u672c\u811a\u672c\u9002\u7528\u73af\u5883\uff1a \u7cfb\u7edf\u652f\u6301\uff1aCentOS\uff0cDebian\uff0cUbuntu \u5185\u5b58\u8981\u6c42\uff1a\u226564M \u65e5\u671f\uff1a2017 \u5e74 07 \u6708 22 \u65e5 \u5173\u4e8e\u672c\u811a\u672c\uff1a \u4e00\u952e\u5b89\u88c5 Go \u7248\u7684 shadowsocks \u6700\u65b0\u7248\u672c &#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[481],"class_list":["post-1638","post","type-post","status-publish","format-standard","hentry","category-linux","tag-shadowsocks"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1638"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1638\/revisions"}],"predecessor-version":[{"id":1639,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1638\/revisions\/1639"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1638"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}