Skip to content

mjever/v2rayMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

仅供测试使用

实际部署请为socket通讯中的安全性进行强化
效果可查看https://proxy.npist.com
有问题请联系npist35@gmail.com

客户端项目

https://github.com/Npist/v2rayMSC
请根据该项目说明配置./whmcs/clientapi.php中的RSA密钥字符串

更新日志

2018.10.3

修复服务端若干BUG

2018.9.22

添加ClientApi模块,为计划中的客户端提供接口
添加/更新开源协议(MIT)
whmcs modules自GPLv3开源项目修改而来并以WHMCS插件形式存在,故继续遵守GPLv3协议

2018.9.3

添加流量统计、最后在线时间
更新数据库结构
添加示例v2ray配置文件(配合流量统计用)

2018.8.21

优化socket传输中的数据量

2018.8.13

添加whmcs模块
修改自https://github.com/kesuki/whmcs-shadowsocks-plugin
安装请参考http://www.mak-blog.com/whmcs-shadowsocks-plugin.html

2018.8.1

初始版本

v2ray多用户后端安装说明

建议使用Python3.6运行
使用前请自行安装python的pymysql模块
节点服务器运行前请参考官方文档安装v2ray
安装命令行如下
bash <(curl -L -s https://install.direct/go.sh)

Server目录存放进数据库服务器

user.sql恢复进mysql或者mariadb
sqlconn.json为数据库连接文件 根据自己的mysql数据库配置
执行以下命令启动
nohup python3 -u v2rayMS_Server.py>> server.log 2>&1 &
后台运行前建议首先前台执行python3 v2rayMS_Server.py或查看server.log分析Log
建议使用screen命令 在session中运行python3 v2rayMS_Server.py

Client目录存放进节点服务器

vim打开文件v2rayMS_Client.py 修改服务端IP
执行以下命令启动
nohup python3 -u v2rayMS_Client.py>> server.log 2>&1 &
后台运行前建议首先前台执行python3 v2rayMS_Client.py或查看server.log分析Log
建议使用screen命令 在session中运行python3 v2rayMS_Client.py


SSH登录服务器使用nohup后台运行的话可能会出现broken pipe报错,原因应该是nohup会重定向stderr到stdout,ssh会话结束后会断开pipe

About

v2ray whmcs 多用户后端

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.2%
  • PHP 39.3%
  • JavaScript 7.1%
  • CSS 4.4%