Code Monkey home page Code Monkey logo

v2ray-websocket-tls-nginx-euserv's Introduction

v2ray-websocket-tls-nginx-EUServ

警告⚠:此技术仅限用于个人搭建游戏加速器使用!!!若用于其他违法目的,后果自负!!!

手动搭建v2ray服务器,并部署网页页面,支持cdn中转(本脚本用于支持EUServ低性能主机安装v2ray)

一句话执行(CentOS7):

echo 'nameserver 2001:67c:2b0::4' > /etc/resolv.conf && echo 'nameserver 2001:67c:2b0::6' >> /etc/resolv.conf && rm -f /etc/yum.repos.d/* && curl https://cdn.jsdelivr.net/gh/HXHGTS/GreatDNS/CentOS7-Base.repo > /etc/yum.repos.d/CentOS-Base.repo && yum clean all && yum makecache && curl https://cdn.jsdelivr.net/gh/HXHGTS/v2ray-websocket-tls-nginx-EUServ/v2ray.c > v2ray.c && wget http://vault.centos.org/5.7/os/x86_64/CentOS/kernel-headers-2.6.18-274.el5.x86_64.rpm && rpm -ivh kernel-headers-2.6.18-274.el5.x86_64.rpm && yum install gcc -y && gcc -o v2ray v2ray.c && chmod +x v2ray && ./v2ray

CDN套用方法请参看CDN套用方法

脚本生成的二维码可以用v2ray客户端扫描导入,VMESS链接可以直接导入v2ray客户端或在这里生成Clash链接以导入Clash

安装前准备:

1.一个域名,与服务器ip做好dns解析

2.该域名必须提前申请SSL证书用于加密(后续考虑加入自动申请证书),将证书(.cer/.crt/.pem)文件命名为1.pem,将私钥(.key/*.pem)文件命名为2.pem,放在/root目录下(SSL证书申请:腾讯云 阿里云 FreeSSL)

3.脚本执行需要root权限登录系统

4.请在服务器防火墙放行tcp80(http)tcp443(https)端口(没动过防火墙就不要再改)

C语言脚本下载

下载地址

v2ray-websocket-tls-nginx-euserv's People

Contributors

hxhgts avatar

Stargazers

 avatar

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.