Giter VIP home page Giter VIP logo

easy-v2ray's Introduction

Easy X-UI Script

Install and Config a V2Ray server with one script

Prerequisites

  • A Domain
  • A VPS with root access and Debian Based OS (Ubuntu, Debian, ...)
  • Docker

Usage

Set a A DNS Record to your VPS's IP

For example:

yourdomain.com >> 1.2.3.4 (Your VPS IP)

*If you using Cloudflare or ArvanCloud or similar services, MAKE SURE THE CLOUD FLAG IS DISABLED!

Run with Docker

Make sure you have installed docker, if not get it from (here)[https://docs.docker.com/get-docker/].

docker run \
    -e IP="1.1.1.1" `# Change this` \
    -e PASSWORD="password" `# Change this` \
    -e DOMAIN="domain.com" `# Change this` \
    -e REMARK="proxy_" `# Change this` \
    -e USER="root" \
    -e XPORT="54321" \
    -e XUSER="admin" \
    -e XPASSWORD="admin" \
    -e SSL_ENABLED="FALSE" \
    -e CERT_PATH="/root/cert.crt" \
    -e PRIVATE_PATH="/root/private.key" \
    ghcr.io/irhonin/easy-v2ray:latest

You now have VMess, VLess-TLS and Trojan configs!

Install a client and enjoy!


Run Manually on Ubuntu or Debian based OSs

Clone this repo

git clone https://github.com/iRhonin/easy-v2ray.git

Install sshpass

sudo apt install sshpass -y

Set variables

Copy .env.example to .env and set the variables.

cp .env.example .env
# Edit .env

Run Script

/bin/sh install.sh

easy-v2ray's People

Contributors

irhonin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.