code-r5 / v2ray-apache-ws

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

Home Page:https://pincong.rocks/article/1898

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Disclaimer bugs

Due to some unpredicted problem, there has been a problem configuring the script on Ubuntu server. Only tested on Centos/Fedora

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!

About

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

https://pincong.rocks/article/1898

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%