shadowsocksrr
A fast tunnel proxy that helps you bypass firewalls.
- [akkariiin/master]
- [akkariiin/dev]
伺服器 / Server
Start BBR
Linux Kernel should be greater than 4.9
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
# Check it's working if it displays 'bbr'
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
安裝 / Install
Debian / Ubuntu:
apt-get install git python python3
git clone https://github.com/pw-chen/shadowsocksr.git
啟動 / Start
move to "~/shadowsocksr/shadowsocks", then run:
cd ~/shadowsocksr/shadowsocks
sudo python server.py -p 443 -k password -m aes-256-cfb -O auth_chain_d -o tls1.2_ticket_fastauth -d start
參數選項 (13種加密方式 9種協議(protocol)9種混淆(obfs) ):
-m | -O | -o |
---|---|---|
none | origin | plain |
aes-256-cfb | verify_deflate | http_simple |
aes-192-cfb | auth_sha1_v4 | http_simple_compatible |
aes-128-cfb | auth_sha1_v4_compatible | http_post |
aes-256-cfb8 | auth_aes128_md5 | http_post_compatible |
aes-192-cfb8 | auth_aes128_sha1 | tls1.2_ticket_auth |
aes-128-cfb8 | auth_chain_a | tls1.2_ticket_auth_compatible |
aes-256-ctr | auth_chain_b | tls1.2_ticket_fastauth |
aes-192-ctr | auth_chain_c | tls1.2_ticket_fastauth_compatible |
aes-128-ctr | auth_chain_d | |
chacha20-ietf | ||
chacha20 | ||
rc4-md5 | ||
rc4-md5-6 |
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 / 查看log文件 :
./tail.sh
客戶端 / Client (Broken)
License
Copyright 2015 clowwindy