Skip to content

OxJ4ck/v2ray-connection-limiter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V2ray Connection Limiter

simple script that checks the number of connections of accounts and ban those who have connected more than the allowed limit.

Installation:

  1. Install git, python and net-tools

    Determine on which Linux distribution your system is based on. Most Linux systems (including Ubuntu) are Debian-based.

    Debian-based linux systems

    Open a terminal window. Copy & paste the following command into the terminal window and hit Enter. You may be prompted to enter your password.

    sudo apt update
    sudo apt upgrade
    sudo apt install git
    sudo apt install python3
    sudo apt install python3-pip
    sudo apt install net-tools

    Red Hat-based linux systems

    Open a terminal. Copy & paste the following command into the terminal window and hit Enter. You may be prompted to enter your password.

    sudo yum upgrade
    sudo yum install git
    sudo yum install python3
    sudo yum install python3-pip
    sudo yum install net-tools
  2. Install Python libraries

    pip install -r requirements.txt
  3. Clone this repo

    git clone https://github.com/OxJ4ck/v2ray-connection-limiter.git
  4. Change current working directory

    cd v2ray-connection-limiter
  5. Edit config.py file and put your data

  6. Run the script

    run it on background with

    nohup python3 main.py &

    or run it normally with

    python3 main.py

License

MIT

Donate

Buy Me a Coffee

wallet (TRC20): TAYbxjZ2UPaxiFwYdYBo74mGXUTC7PbL1b

About

v2ray connection limiter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%