Skip to content

shokakucarrier/v2ray-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published