一个管理v2ray配置json的工具
v2ray-util的Python项目详细描述
多V2路
一个管理v2ray config json的工具,支持多用户和组管理
功能
- v2ray&;iptables流量统计
- 要管理的命令行
- 多用户端口管理
- 动态端口
- 禁止BitTorrent
- 范围端口
- tcpfastopen
- vmess/socks5/mtproto共享链接
- 支持协议修改:
- TCP
- 假http
- WebSocket
- mkcp
- mkcp+srtp
- mkcp+utp
- mkcp+微信视频
- mkcp+dtls
- MKCP+有线保护
- http/2
- 袜子5
- mtproto
- 暗影袜
- 魁克
如何使用
新安装
source <(curl -sL https://git.io/fNgqx)
中石化
source <(curl -sL https://git.io/fNgqx) --zh
保持个人资料更新
source <(curl -sL https://git.io/fNgqx) -k
卸载
source <(curl -sL https://git.io/fNgqx) --remove
命令行
v2ray [-h|--help][options] -h, --help get help -v, --version get version start start V2Ray stop stop V2Ray restart restart V2Ray status check V2Ray status new create new json profile update update v2ray to latest add random create mkcp + (srtp | wechat-video | utp | dtls) fake header group add [wechat|utp|srtp|dtls|wireguard|socks|mtproto|ss] create special protocol, random new port del delete port group info check v2ray profile port modify port tls modify tls tfo modify tcpFastOpen stream modify protocol stats iptables traffic statistics clean clean v2ray log log check v2ray log
Docker运行
docker run -d --name v2ray --restart always --network host jrohy/v2ray
它将创建随机端口+随机头(srtp微信视频utp dtls)kcp配置文件
检查v2ray配置文件:
docker exec v2ray bash -c "v2ray info"
只有在更改v2ray config.json:
docker restart v2ray
警告:如果使用centos运行,应先关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
更改日志
依赖
码头工人:https://hub.docker.com/r/jrohy/v2ray
管道:https://pypi.org/project/v2ray-util/
Python3:https://github.com/Jrohy/python3-install