Skip to content

A bash script to help you manage your v2ray server

Notifications You must be signed in to change notification settings

aMir733/v2ray_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A bash script to help you manage your v2ray server.

What does it do?

  • Add, view, delete users to/from your config file
  • Assign number of devices a user can connect from
  • Tells you if a user exceeds the assigned number of devices (by checking the logs and IP addresses)
  • Supports load balanced servers

How do I use it?

Adding new users

root@server:~/v2ray_tools# ./v2ray_tools.sh add 1@user1 1@user2 4@user3
root@server:~/v2ray_tools# ./v2ray_tools.sh apply
root@server:~/v2ray_tools# ./v2ray_tools.sh restart

Invalidate a user's UUID (Delete user)

root@server:~/v2ray_tools# ./v2ray_tools.sh del 1@joe 4@jane
root@server:~/v2ray_tools# ./v2ray_tools.sh apply
root@server:~/v2ray_tools# ./v2ray_tools.sh restart

Get user's QR code and link

root@server:~/v2ray_tools# ./v2ray_tools.sh get 1@joe -i [ip address] -n [vpn name]

Check for number of devices used by users

root@server:~/v2ray_tools# ./v2ray_tools.sh check

Last words

last-words

About

A bash script to help you manage your v2ray server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages