Skip to content

leros1337/shadowsocks-compose

Repository files navigation

Shadowsocks Compose

Quick bootstrap guide using docker-compose. Root path returns echoip, SS_PATH gives you ss endpoint. Route: Your_Device_SS_Client -> Cloudflare CDN -> Nginx -> SS_Server -> Network
Thanks to vanyaindigo, ss-rust, echoip

  • Any PR welcome

Important info

I wont maintain this repository as v2ray plugin is not good as vless+x_reality protocol, so consider use this https://github.com/alireza0/x-ui, if you are boring to setup by yourself just buy chip subscription on https://xeovo.com

Requirements

  • Domain name (freenom or porkbun chip .top .xyz), dont forget about NameServers
  • VPS 512+mb RAM (arm not tested)
  • Google problems
  • Opened ports will be 80,443

Bootstrap

sudo -s
apt update
apt install -y docker docker.io docker-compose nano git curl
#Enable BBR
bash <(curl -sL https://gist.githubusercontent.com/duzun/1503ebefbb208b9072ef85b7190364a4/raw/724ed096db887ef7ba80d6685779c433f8f69313/arch_enable_bbr.sh)
git clone [email protected]:Relers/shadowsocks-compose.git
cd shadowsocks-compose

Next:
Go to screenshots directory, perform 1-4 steps, 5 Origin Certificate paste to mysite.cert, Private Key to mysite.key
Edit .env file

nano .env

PASSWORD=fuckrkn
DOMAIN=your_domain.tk
SS_PATH=/v2ray
SS_CIPHER=chacha20-ietf-poly1305
DNS=1.1.1.1

ctrl+x
Y

Start

# Start
docker-compose up -d
# Stop
docker-compose down
# Running containers
docker ps
# Logs
docker logs -f ss-v2ray

Android Client

  • Download from gplay shadowsocks and v2ray-plugin
  • Watch 6-8 screenshots, dont forget change path according to SS_PATH inside .env

About

ss-rust behind cloudflare via nginx+v2ray plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages