Giter VIP home page Giter VIP logo

shadowsocks-compose's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.