Shadowsocks-kcptun
An alpine-based docker image with shadowsocks + kcptun, brook trojan and shadowsocksr for crossing the GFW.
Step for usage
-
1、Prepare a cloud server with CentOS7 for building proxy services.(vultr, do or bwh...)
-
2、Install Docker
yum -y update
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install docker-ce
systemctl start docker
systemctl enable docker
-
3、Pull this image
docker pull zhoubowen123/shadowsocks-kcptun
-
4、Create a container
docker run --privileged --restart=always -tid -p 443:443/udp -p 443:443/tcp -p 4000:4000/udp -p 4000:4000/tcp zhoubowen123/shadowsocks-kcptun /sbin/init
docker run --privileged --restart=always -tid -p 10000:10000 -p 10001:10001 -p 10002:10002/tcp -p 10002:10002/udp -p 4000:4000/udp -p 4000:4000/tcp -p 443:443/udp -p 443:443/tcp zhoubowen123/shadowsocks-kcptun /sbin/init
-
5、Emmmmm...
Now the server is finished. You can access Google through ss, ssr or brook clients, here are parameters for these clients.
Default parameters for client
Trojan
TROJAN参数名 | 参数取值 |
---|---|
服务器地址(ip) | 代理服务器IP |
端口(port) | 443 |
密码(passwd) | qazwsxedc |
Kcptun (just for ss port 10000)
KCPTUN参数名 | 参数取值 |
---|---|
服务器地址(ip) | 代理服务器IP |
端口(port) | 4000 |
密码(passwd) | qazwsxedc |
加密方式(encrypt) | aes-192 |
模式(mode) | fast3 |
过期时间(autoexpire) | 60 |
Shadowsocks parameter
SHADOWSOCKS参数名 | 参数取值 |
---|---|
服务器地址(ip) | 代理服务器IP |
端口(port) | 10000 |
密码(passwd) | qazwsxedc |
加密方式(encrypt) | aes-256-gcm |
ShadowsocksR parameter
SHADOWSOCKSR参数名 | 参数取值 |
---|---|
服务器地址(ip) | 代理服务器IP |
端口(port) | 10001 |
密码(passwd) | qazwsxedc |
加密方式(encrypt) | aes-256-cfb |
加密协议(protocol) | auth_aes128_md5 |
混淆方式(obfs) | tls1.2_ticket_auth |
Brook parameter
BROOK参数名 | 参数取值 |
---|---|
服务器地址(ip) | 代理服务器IP |
端口(port) | 10002 |
密码(passwd) | qazwsxedc |
Open bbr
To be continued ...
For CentOS7 ...
Examples
Brook
Ss with kcptun
kcptun plugin option (for mac):
key=qazwsxedc;crypt=aes-192;mode=fast3;autoexpire=60
kcptun plugin option (for windows):
-l %SS_LOCAL_HOST%:%SS_LOCAL_PORT% -r %SS_REMOTE_HOST%:%SS_REMOTE_PORT% --key qazwsxedc --crypt aes-192 --mode fast3 --autoexpire 60
Ss without kcptun
Ssr for ios
Server configuration information
相关端口使用情况
应用名称 | 所用端口 |
---|---|
trojan | 443 |
kcptun | 4000 |