A fast tunnel proxy that helps you bypass firewalls.
Debian / Ubuntu:
apt-get install git
git clone https://github.com/shadowsocksr/shadowsocksr.git
CentOS:
yum install git
git clone https://github.com/shadowsocksr/shadowsocksr.git
Windows:
git clone https://github.com/shadowsocksr/shadowsocksr.git
If you clone it into "/shadowsocksr"/shadowsocksr", then run:
move to "
bash initcfg.sh
move to "~/shadowsocksr/shadowsocks", then run:
python server.py -p 443 -k password -m aes-128-cfb -O auth_aes128_md5 -o tls1.2_ticket_auth_compatible
Check all the options via -h.
You can also use a configuration file instead (recommend), move to "/shadowsocksr" and edit the file "user-config.json", then move to "/shadowsocksr/shadowsocks" again, just run:
python server.py
To run in the background:
./logrun.sh
To stop:
./stop.sh
To monitor the log:
./tail.sh
Use GUI clients on your local PC/phones. Check the README of your client for more information.
You can find all the documentation in the Wiki.
Copyright 2015 clowwindy
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Chinese:
- 进入刚才clone下来的文件夹, 有一个文件 user-config.json ,这个就是配置文件的模板,我们可以复制一份到/etc/shadowsocks.json,然后对这个文件进行配置
- 进入到shadowsocksr/shadowsocks/目录里面,执行:python local.py -c /etc/shadowsocks.json
- 出现下面的提示,说明运行成功 2017-10-17 12:30:49 INFO local.py:50 local start with protocol[auth_chain_a] password [Ck6295iFwq] method [none] obfs [tls1.2_ticket_auth] obfs_param [] 2017-10-17 12:30:49 INFO local.py:54 starting local at 127.0.0.1:1080 2017-10-17 12:30:49 INFO asyncdns.py:324 dns server: [('127.0.1.1', 53)] 2017-10-17 12:30:57 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0