jrohy / multi-v2ray Goto Github PK
View Code? Open in Web Editor NEWv2ray/xray多用户管理部署程序
License: GNU General Public License v3.0
v2ray/xray多用户管理部署程序
License: GNU General Public License v3.0
Closed.
希望当选用ws时,添加随机生成path 以及 编辑path的功能。
谢谢。
大佬,修改MTProto和Shadowsocks 都会报错,小白一枚,谢谢指导
请输入要改传输方式的节点Group字母:c
当前组的传输方式为:kcp dtls
1.普通TCP
2.HTTP伪装
3.WebSocket流量
4.普通mKCP
5.mKCP + srtp
6.mKCP + utp
7.mKCP + wechat-video
8.mKCP + dtls
9.mKCP + wireguard
10.HTTP/2
11.Socks5
12.MTProto
13.Shadowsocks
12
传输模式修改成功!
欢迎使用 multi-v2ray 管理程序
1.服务管理 2.用户管理
3.更改配置 4.查看配置
5.其他功能 6.更新V2Ray
7.生成客户端配置文件
请输入数字选择功能(按回车键退出): 4
Traceback (most recent call last):
File "/usr/local/multi-v2ray/server_info.py", line 3, in
import read_json
File "/usr/local/multi-v2ray/read_json.py", line 165, in
read_sin_user(detour_list, multiUserConf, index_dict)
File "/usr/local/multi-v2ray/read_json.py", line 113, in read_sin_user
sinUserConf['tcpFastOpen']=conf_stream_tfo
UnboundLocalError: local variable 'conf_stream_tfo' referenced before assignment
您好,请问如何配置vmess协议?
TCP Fast Open请求脚本增加
小白们真不会希望大佬日后版本会有
希望脚本能添加限制流量
提几个建议 ,
希望脚本能自动更改系统的时间;
另外http/2不会弄啊,能不能加个wiki什么的。
谢谢作者。
最后提示python3: can't open file '/usr/local/multi-v2ray/server_info.py': [Errno 2] No such file or directory
[root@mail tools]# v2ray
欢迎使用 V2ray.fun 管理程序
1.服务管理 2.用户管理
3.更改配置 4.查看配置
5.其他设置 6.更新V2Ray
7.生成客户端配置文件
请输入数字选择功能(按回车键退出): 7
Traceback (most recent call last):
File "/usr/local/v2ray.fun/base_util/gen_client.py", line 5, in <module>
import read_json
ImportError: No module named 'read_json'
保存成功!(/root/config.json)
欢迎使用 V2ray.fun 管理程序
1.服务管理 2.用户管理
3.更改配置 4.查看配置
5.其他设置 6.更新V2Ray
7.生成客户端配置文件
请输入数字选择功能(按回车键退出):
作者,你这个脚本支持WebSocket + TLS,协议吗?
能不能对端口在线设备进行限制啊,v2链接好像被人分享出去了,有好多莫名其妙的ip链接
No package python34 available.
Error: Nothing to do
-bash: python3: command not found
-bash: pip3: command not found
Centos7系统,安装出现上面错误,自己手动安装了python34,在更改配置的时候还是出现了错误;
bash multi-v2ray.sh multi-v2ray.sh: line 7: syntax error near unexpected token
newline'
multi-v2ray.sh: line 7: <!DOCTYPE html>'
手动将config.json改为以下内容后,脚本报错
config.json
"streamSettings": { "network": "ws", "wsSettings": { "path": "/ray" } }
上述改动删除了默认的host部分,以对应ws+tls+nginx的传输方式(tls由nginx而非v2ray管理,客户端config.json中服务器名称填自己申请的域名,端口填443而非自定义的那个监听端口,并且开启tls,使用cloudflare cdn中转)
重启服务后,功能是没问题的,也实现了ws+tls+nginx的传输方式,就是每次运行v2ray管理脚本的时候按查看配置就会报错并且无法输出vmess链接:
Traceback (most recent call last):
File "/usr/local/multi-v2ray/server_info.py", line 3, in
import read_json
File "/usr/local/multi-v2ray/read_json.py", line 133, in
config = json.load(json_file)
File "/usr/lib/python3.4/json/init.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/init.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 359, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name enclosed in double quotes: line 72 column 1 (char 1255)
加多节点功能就齐活了
查看流量统计时,同一端口下第十个用户开始会报错,显示输入有误。
请输入所需要查看流量的组别(字母)或者序号(数字) 10
输入有误!
生成的配置文件中没有 outbound 。导致在 LEDE 上用不了。
主机商:hiformance
系统:CentOS Linux release 7.5.1804 (Core)
内存:512M
[root@~]# v2ray start
Redirecting to /bin/systemctl start v2ray.service
Failed to start v2ray.service: Unit not found.
v2ray启动成功!
[root@~]#
[root@~]# v2ray status
Redirecting to /bin/systemctl status v2ray.service
Unit v2ray.service could not be found.
[root@~]#
[root@~]# ps aux | grep v2ray
root 1500 0.0 0.4 112716 2224 pts/0 S+ 20:35 0:00 grep --color=auto v2ray
在hostdare的主机上是可以正常运行的,请作者帮看下这个问题,谢谢。
提示错误-bash: python3: command not found。
V2Ray v3.43 is installed.
-bash: python3: command not found
-bash: python3: command not found
-bash: python3: command not found
Redirecting to /bin/systemctl restart v2ray.service
multi-v2ray 安装成功!
V2ray配置信息:
-bash: python3: command not found
输入 v2ray 回车即可进行服务管理
然后按提示,输入 v2ray 回车,出现以下:
[root@host ~]# v2ray
欢迎使用 multi-v2ray 管理程序
1.服务管理 2.用户管理
3.更改配置 4.查看配置
5.其他功能 6.更新V2Ray
7.生成客户端配置文件
请输入数字选择功能(按回车键退出): 4
/usr/local/bin/v2ray: line 353: python3: command not found
欢迎使用 multi-v2ray 管理程序
1.服务管理 2.用户管理
3.更改配置 4.查看配置
5.其他功能 6.更新V2Ray
不过选哪个数字,都只是显示“欢迎使用 multi-v2ray 管理程序”
备注:VPS系统是Centos 7 x86_64,尝试安装别的一键脚本没问题。
谢谢楼主的贡献。
用 bash curl -sL https://git.io/fNgqx 時就出現:
/usr/bin/curl: /usr/bin/curl: cannot execute binary file
是不可以安裝在 hiveOS 嗎?
就算少一些功能能搭建上也是可以的
运行一段时间就翻不了,重启下v2ray服务就好了
socks 5 使用udp流量时爆内存
日志文件过载。
Ext|Tools|Control: failed to call service StatsService.GetStats > rpc error: code = Unknown desc = App|Stats|Command: user>>>邮箱>>>traffic>>>downlink not found.
脚本生成的链接,不能正常使用,具体如下:
配置为ws+tls
1,shadowrocket 2.1.10,pp助手上下载的,无法正常使用,导入链接后,没有ws协议,估计可能这个版本软件就不支持这种协议。
2,kitsunebi lite不能正常使用,链接识别以后,把伪装的域名填到路径的选项里面了,域名那一项空的。
3,app store下载的最新的shadowrocket 2.1.23可以正常用。
希望能够更新,使得kitsunebi lite能用,谢谢,请测试。
CentOS7下当重新连接服务器后无法使用 输入 v2ray + 回车 直接打开脚本。
如果能加上每个用户连接设备数量限制那就更好了,(手动滑稽),不管如何我会等到功能实现的那一刻。辛苦了٩(❛ัᴗ❛ั⁎)。
作者大大你好,我想问下流量统计中,为什么需要有效email才可以使用呀?
开启H2时,要求输入域名,使用的域名结尾为.co.uk,脚本只会提示域名无效,应该是判断出了问题,望作者检查一下,谢谢!
Traceback (most recent call last):
File "/usr/local/v2ray.fun/config_modify/stream.py", line 3, in
import read_json
ImportError: No module named 'read_json'
Traceback (most recent call last):
File "/usr/local/v2ray.fun/base_util/gen_client.py", line 53, in
client_config[u"outbound"][u"settings"][u"vnext"][0][u"users"][0][u"alterId"]=mul_user_conf[user_index]['aid']
KeyError: 'aid'
MTPROTO: PC端TG没问题, 手机端TG不行. 换成SOCKS5, PC和手机就都可以
希望这个加密方式功能加上去,和多账号使用。
每天北京时间早上3点自动升级重启v2ray核心,是指vps重启吗?
大佬,查看配置能够改成通过输入邮箱查询吗
在导出各个用户的配置文件时,发现只会导出第一个用户的配置文件。
应该是导出配置文件保存的时候没法覆盖重名文件。
rt,我前面已经自己装过了Python3.6,脚本又装上了3.4,然后流量统计等大部分功能都不能用了,只有手动卸掉Python3.4才能用
1.更改email
2.更改UUID
3.更改alterID
4.更改主端口
5.更改传输方式
6.更改TLS设置
7.更改广告拦截功能
8.更改动态端口
9.更改Shadowsocks加密方式
10.更改Shadowsocks密码
请输入数字选择功能: 4
Traceback (most recent call last):
File "/usr/local/multi-v2ray/config_modify/port.py", line 3, in
import read_json
ImportError: No module named 'read_json'
Traceback (most recent call last):
File "/usr/local/multi-v2ray/base_util/open_port.py", line 4, in
import read_json
ImportError: No module named 'read_json'
搬瓦工centOS 7, 安装完成出现不显示配置信息,出现-bash: python3: command not found
Traceback (most recent call last):
File "/usr/local/v2ray.fun/config_modify/stream.py", line 48, in
v2ray_util.choice_stream(new_stream_network, index_dict)
File "/usr/local/v2ray.fun/base_util/v2ray_util.py", line 23, in choice_stream
write_json.write_stream_network("mkcp","none", index_dict)
File "/usr/local/v2ray.fun/write_json.py", line 120, in write_stream_network
with open('json_template/kcp.json', 'r') as stream_file:
FileNotFoundError: [Errno 2] No such file or directory: 'json_template/kcp.json'
Redirecting to /bin/systemctl restart v2ray.service
尝试多次,443,非443,都无用,到底出了什么问题?
vultr 上新安装的 ubuntu 18.04
运行 v2ray 进行配置或者修改时,出错,提示ModuleNotFoundError: No module named 'read_json'
我是使用非root用户,通过 sudo
命令安装的。
运行 grep v2ray.fun ~/.bashrc
没有返回。
运行 echo "export PYTHONPATH=$PYTHONPATH:/usr/local/multi-v2ray" >> ~/.bashrc && source ~/.bashrc
之后, grep v2ray.fun ~/.bashrc
有返回,但依然遭遇 ModuleNotFoundError: No module named 'read_json'
Traceback (most recent call last): File "/usr/local/multi-v2ray/other_setting/stats_ctr.py", line 4, in <module> import write_json File "/usr/local/multi-v2ray/write_json.py", line 9, in <module> from base_util import tool_box File "/usr/local/multi-v2ray/base_util/tool_box.py", line 6, in <module> from OpenSSL import crypto ImportError: No module named 'OpenSSL'
使用你的脚本,很好用,但是我想每步自己设置,而不是你自动生成,可以吗?
大佬,如果要把所有用户和用户配置转移到另一个服务器里,如何操作呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.