Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 745 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 745 Bytes

Containerized V2Ray over TLS + WebSocket

Prerequisite

You must have the following components installed:

  • Docker
  • docker-compose
  • uuidgen
  • cfssl

Usage

  1. Setup

Generate client UUID and keep a note:

uuidgen

Generate Certificates and keys:

pushd ./ssl
cfssl genkey -initca csr.json | cfssljson -bare ca
cfssl genkey csr.json | cfssljson -bare
cfssl sign -ca=ca.pem -ca-key=ca-key.pem cert.csr | cfssljson -bare
popd
  1. Start server
# edit config/server/config.json for your user UUID
docker-compose up -d server nginx
  1. Start client
# edit config/server/config.json for your server address and user UUID
docker-compose up -d client