{"id":562,"date":"2019-12-28T00:00:03","date_gmt":"2019-12-27T16:00:03","guid":{"rendered":"http:\/\/47.242.20.44\/?p=562"},"modified":"2021-05-02T12:39:19","modified_gmt":"2021-05-02T04:39:19","slug":"linux-ubuntu-14-04%e4%b8%8bshadowsocks%e7%9a%84%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=562","title":{"rendered":"\u5fae\u578b\u865a\u62df\u673aLinux (Ubuntu 14.04)\u4e0bShadowsocks\u7684\u914d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"\n<p>Shadowsocks ubuntu and chrome VPN ready<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Linux (Ubuntu 14.04)\u4e0bShadowsocks\u7684\u914d\u7f6e\u65b9\u6cd5<\/strong><\/h2>\n\n\n\n<p>\u4e0b\u9762\u4ecb\u7ecd\u6211\u5982\u4f55\u5728<span style=\"color:#a32300\" class=\"has-inline-color\">\u81ea\u5df1\u7684\u865a\u62df\u673a\u91cc\u9762\u7684Ubuntu 14.04<\/span> \u4e0b\u901a\u8fc7\u914d\u7f6eShadowsocks\u548c\u6d4f\u89c8\u5668\u6765\u4f7f\u7528VPN\u670d\u52a1\uff08<span style=\"color:#a30d00\" class=\"has-inline-color\">\u53ef\u60dc\u7684\u662f\u540e\u676514.04\u7684\u5149\u6807\u6d88\u5931\u5bfc\u81f4\u8be5\u7248\u672c\u5f7b\u5e95\u4e0d\u80fd\u4f7f\u7528\u4e86<\/span>\uff09\u4e3b\u8981\u5206\u4e24\u6b65\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u914d\u7f6eShadowsocks\u547d\u4ee4\u884c\u7a0b\u5e8f\uff1b<\/li><li>\u914d\u7f6e\u6d4f\u89c8\u5668\uff08Firefox\u6216Chrome\uff09\uff1b<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7b2c\u4e00\u6b65\uff1a\u914d\u7f6eShadowsocks\u547d\u4ee4\u884c\u7a0b\u5e8f<\/strong><\/h3>\n\n\n\n<p>\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\uff1a<\/p>\n\n\n\n<p>sudo apt-get update<br>sudo apt-get install python-pip<br>sudo apt-get install python-setuptools m2crypto<br><br><\/p>\n\n\n\n<p>\u5b89\u88c5Shadowsocks\uff0c\u8f93\u5165\uff1a<\/p>\n\n\n\n<p>sudo pip install shadowsocks<br><br><\/p>\n\n\n\n<p>\u542f\u52a8Shadowsocks<\/p>\n\n\n\n<p>sslocal -s \u670d\u52a1\u5668\u57df\u540d\u6216IP -p \u670d\u52a1\u5668\u7aef\u53e3\u53f7 -k \u201c\u5bc6\u7801\u201d -l 1080 -t 600 -m rc4-md5 <br>sslocal -s 104.194.93.8 -p 25 -k \u201c399396\u201d -l 1080 -t 300 -m aes-256-cfb<\/p>\n\n\n\n<p>Proxy options:<\/p>\n\n\n\n<p>&nbsp;&nbsp;-c CONFIG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; path to config file<\/p>\n\n\n\n<p>&nbsp;&nbsp;-s SERVER_ADDR &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; server address<\/p>\n\n\n\n<p>&nbsp;&nbsp;-p SERVER_PORT &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; server port, default: 8388<\/p>\n\n\n\n<p>&nbsp;&nbsp;-b LOCAL_ADDR&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; local binding address, default: 127.0.0.1<\/p>\n\n\n\n<p>&nbsp;&nbsp;-l LOCAL_PORT&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; local port, default: 1080<\/p>\n\n\n\n<p>&nbsp;&nbsp;-k PASSWORD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; password<\/p>\n\n\n\n<p>&nbsp;&nbsp;-m METHOD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; encryption method, default: aes-256-cfb<\/p>\n\n\n\n<p>&nbsp;&nbsp;-t TIMEOUT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; timeout in seconds, default: 300<\/p>\n\n\n\n<p>&nbsp;&nbsp;&#8211;fast-open&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; use TCP_FASTOPEN, requires Linux 3.7+<br><\/p>\n\n\n\n<p>General options:<\/p>\n\n\n\n<p>&nbsp;&nbsp;-h, &#8211;help &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; show this help message and exit<\/p>\n\n\n\n<p>&nbsp;&nbsp;-d start\/stop\/restart&nbsp; daemon mode<\/p>\n\n\n\n<p>&nbsp;&nbsp;&#8211;pid-file PID_FILE&nbsp;&nbsp;&nbsp; pid file for daemon mode<\/p>\n\n\n\n<p>&nbsp;&nbsp;&#8211;log-file LOG_FILE&nbsp;&nbsp;&nbsp; log file for daemon mode<\/p>\n\n\n\n<p>&nbsp;&nbsp;&#8211;user USER&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; username to run as<\/p>\n\n\n\n<p>&nbsp;&nbsp;-v, -vv&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; verbose mode<\/p>\n\n\n\n<p>&nbsp;&nbsp;-q, -qq&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; quiet mode, only show warnings\/errors<\/p>\n\n\n\n<p>&nbsp;&nbsp;&#8211;version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; show version information<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u6ce8\u610f<\/strong>\uff1a\u5bc6\u7801\u683c\u5f0f\u4e3a\u201d<em>*<\/em>\u201d\uff0c\u5305\u542b\u53cc\u5f15\u53f7\u3002<\/p>\n\n\n\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b\u5e94\u663e\u793a\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/9F8QYha2Qo5IkgXsmFe3jXU6Z-CYD9uISTS7tek1tjKwqYWy3AVUNhLV00ArD8SpW8056XACShnyp-e56yY0AxxqQxIzRNTqNnxPY7IE-4AeME1tQShs9Gz2eMku6l-fDuu2Jj-B\" alt=\"\"\/><\/figure>\n\n\n\n<p>\uff08\u6ce8\u610f\u56fe\u4e2d\u7684\u547d\u4ee4\u6309\u7167\u5b9e\u9645\u60c5\u51b5\u8f93\u5165\u3002\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7b2c\u4e8c\u6b65\uff1a\u914d\u7f6e\u6d4f\u89c8\u5668<\/strong><\/h3>\n\n\n\n<p>\u8fd9\u91cc\u4ec5\u4ee5Firefox\u548cChrome\u4e3a\u4f8b\uff0c\u5176\u4ed6\u6d4f\u89c8\u5668\u53ef\u81ea\u884c\u641c\u7d22\uff0c\u914d\u7f6e\u65b9\u5f0f\u76f8\u4f3c\u3002<\/p>\n\n\n\n<p><strong>1. Firefox\u6d4f\u89c8\u5668<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u6dfb\u52a0\u5e76\u5b89\u88c5\u63d2\u4ef6<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/yFHKaOl1Nm5qAKWGCprl4YRwf6yGB5LZ6Pz0RM1J26O9Kx9BfKt5SzEs1I4vmxNwF6DUY7Ee7l9yD6LxJCbOXWsjefpr2k2ovnX_xiUmhCqR7ifQ2SMM_QtLLVQi3XFrUudgTt2h\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u641c\u7d22\u201dfoxyproxy\u201d\uff0c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/Brdxnt3qSOkaNG96eQpmk2mxiVYCAgsMzoB4aw3vX0mSMqomkGR6UOxbCU_5DcR3WXVaQLT6F-0mcepVJQdmBZzjmgf6fkV8ir0lv3cBi014XuXgX9yfIMqNVflPKFeiyEKVF-SH\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u91cd\u542f\u6d4f\u89c8\u5668\u540e\uff0c\u914d\u7f6efoxyproxy<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/yCTcq7NVt2qNYWJZXJx8EgIo1cO4RK_wzdvgPoUkGkg_k7xJjXZ-Iqh0WhDBOJ5n-N8IK64kl5jeGL78hRpA1PgwswOtsu8qQD-fgKHWWiDpCcJrxXj-1kO9ldmzJldFAFdw1ym8\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u65b0\u5efa\u4ee3\u7406\u670d\u52a1\u5668\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/L0iwIt4NUTfWQaVZgb2_5wD2A2BQPGMKVgS5H5FawFnq3G8ZHXQwJH3v76j4vQURD-1Q6s0zrs6yCL9SBP21giTqcmlYlm0ssL3OdHcJn_WmFD7rk7mvnCFhreAGxhFmXMxUX2Z9\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u8d77\u4e00\u4e2a\u4ee3\u7406\u540d\u79f0\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/1ekHDqULxh4vdgj-NzCe1XaIIAA87hyVNn0N961dyLh-i76o4beeXO8GhkZpmCBHzdYpXNCnPiGJcYRImjWlUApdMf-aObgDU2VOjM-VGQh2NjMSgtyekfj6amw9lLPksKjCcEbA\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u914d\u7f6e\u4ee3\u7406\u670d\u52a1\u5668\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/TXcX3bNlk26Q8D5cB_VIJyvEEXEl3XjzvYwmMsFWNeuFnft0rOS8nWQjRyeGhqKm_m4zdwZf7A-VkaNR3SEDlbwKiH6fg3LASNb4O8ZlNqPHMEL0IWAuq5x5QF7iZXWP28SuDa4q\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u6dfb\u52a0\u201c\u6a21\u5f0f\u8ba2\u9605\u201d\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/dko5GC7Kv3JZHx3fdZDAxn0VZDky3bhGWmxdvp6DSMurSzUKzwdjq9uFP6x3f_vLkj7qCmMRdWuVE9Cy5U9oLesCebK0JD79nSs9dJXhBc-g35Dqywrj1PfkkWQs16oam2tFCSZQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u5efa\u8bae\u628a\u4e0b\u9762<strong>\u4e24\u4e2a\u6a21\u5f0f\u6587\u4ef6<\/strong>\u90fd\u8ba2\u9605\u4e00\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"http:\/\/firefoxfan.org\/gfwlist\/gfwlist.txt\">http:\/\/firefoxfan.org\/gfwlist\/gfwlist.txt<\/a><\/li><li><a href=\"http:\/\/sslite.top\/gfwlist\/gfwlist.txt\">http:\/\/sslite.top\/gfwlist\/gfwlist.txt<\/a><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/U_k6PRNdlJ6CAOLWhbnZIKf9ZbfGPFarCN6CXp6Chate9Bczq0ymbZWLUMLK0G9M2Y13w5pz7CJBgrr-7DQcXpmpK0rfcvXhOiscyTU0rYaj2SWfn3csCrSD9irnKhGurPXavgBk\" alt=\"\"\/><\/figure>\n\n\n\n<p><a href=\"http:\/\/sslite.top\/gfwlist\/gfwlist.txt\"><\/a><\/p>\n\n\n\n<p>\u663e\u793a\u6a21\u5f0f\u8ba2\u9605\u5bfc\u5165\u6210\u529f\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/SVI479C9zOh2HbQNSdEBjA0CkC7FYp42uVJtL6n6hThYplXBx8qmljh_1MfRVp6U2ounC9uwba7LtwaRBhm7iL7AeZ-4JpNfDk-CYthHRxcAmQidDG2msYQTrR4Q2irJimTAiNxJ\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u91cd\u542f\u6d4f\u89c8\u5668\uff0c\u70b9\u51fb\u6d4f\u89c8\u5668\u4e0a\u7684\u5e94\u7528\u56fe\u6807\uff0c\u9009\u62e9\u201c\u4f7f\u7528\u9884\u5b9a\u4e49\u6a21\u677f\u7684\u4ee3\u7406\u670d\u5668\u201d\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/4P1d6vXNfNezTMb_NumknH1BE25YGuBvCh93g2nbpXsEMPFUHrNO5_x2mQIpKkNJXokm0dr-aBBJ-5fL1_BZIXbKUhpTKk17bWNvzHDQNVfu5DanmG-Zgq53FIZ1tf-UkwUKVwTD\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u6b64\u65f6\u4f60\u5e94\u8be5\u53ef\u4ee5\u4f7f\u7528firefox\u6d4f\u89c8\u5668\u6d4f\u89c8\u56fd\u5916\u7f51\u7ad9\u4e86\u3002<\/p>\n\n\n\n<p><strong>2. Chrome\u6d4f\u89c8\u5668<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u5b89\u88c5SwitchySharp\u63d2\u4ef6<\/strong>\u3001<\/li><\/ul>\n\n\n\n<p>\u5728Chrome\u7684\u63d2\u4ef6\u5546\u5e97\u91cc\u641c\u7d22\u201dSwitchSharp\u201d\u5e76\u5b89\u88c5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/x8wYkxNU3HHJImaEnFrjV3yIM-JHSWiUQwE3_9D5mXSMvrqzgPy20Y4o5pIkRDnrBWbbi3zBolUIDJaZnBzs3plGnrV6LU5bJEByZdx6eqWnALblBapWIilQ3SXeaAw-S10SbyGA\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shadowsocks ubuntu and ch [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":672,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[],"class_list":["post-562","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-live"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=562"}],"version-history":[{"count":3,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":1923,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions\/1923"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/media\/672"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}