simple script that checks the number of connections of accounts and ban those who have connected more than the allowed limit.
-
Install git, python and net-tools
Determine on which Linux distribution your system is based on. Most Linux systems (including Ubuntu) are Debian-based.
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
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
-
Install Python libraries
pip install -r requirements.txt
-
Clone this repo
git clone https://github.com/OxJ4ck/v2ray-connection-limiter.git
-
Change current working directory
cd v2ray-connection-limiter
-
Edit config.py file and put your data
-
Run the script
run it on background with
nohup python3 main.py &
or run it normally with
python3 main.py
Buy Me a Coffee
wallet (TRC20): TAYbxjZ2UPaxiFwYdYBo74mGXUTC7PbL1b