/v2ray-apache-ws

A Script for websockets configuration of v2ray and apache. Break the evil GFW

Primary LanguageShellGNU General Public License v3.0GPL-3.0

v2ray-apache-websockets

A Script for configuration of v2ray and apache on CentOS and Ubuntu. Break the evil GFW

This script is used on CentOS 7 and Ubuntu 18.04. Posted from 品葱, and you can find some more specific steps there.

Prerequirements

  1. Complete the bonding of your domain name and VPS IP address on CloudFlare
  2. Configure the SSL files (.pem and .key files) on your VPS

Run this script

Note: To run this script you must be the root user

git clone https://github.com/KonaisPC/v2ray-apache-ws.git

cd v2ray-apache-ws

bash v2ray-apache.sh

Things to do after the script

The script will automatically generate the corresponding client configure json file at ./client.json. You could copy this file's contents to your client's v2ray configure file and enjoy!