All Projects → arkrz → v2sub

arkrz / v2sub

Licence: other
用于 linux 下订阅 v2ray 的小工具。

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to v2sub

Free-Node-Merge
合并网络上的免费节点 | Merge Free ss, ssr, v2ray nodes
Stars: ✭ 154 (+129.85%)
Mutual labels:  v2ray-subscriber

v2sub

Go 编写的用于 linux 下订阅并简单配置 v2ray 的命令行工具。

程序会创建 /etc/v2sub.json 文件用于存储订阅信息。

使用前需确保 v2ray.service 服务已注册且默认 v2ray 配置文件路径为 /etc/v2ray.json

Features

  • 内置配置文件和代理规则,默认监听 socks [1081] 和 http [1082]
  • icmp ping 测试节点延迟
  • 可更新代理规则 内置代理规则使用DNS分流+白名单
  • 支持 VMess / SS / Trojan 订阅与配置

v2sub

Usage

因 ping 与 服务重启 权限需要,以 root 权限运行:

sudo v2sub

快速切换节点:

sudo v2sub -q

允许监听外部连接:

sudo v2sub -wan

修改监听端口:

sudo v2sub -http 7890 -socks 7891

更多帮助:

v2sub -help

Note

trojan 功能通过 v2ray 转发实现,因此可以使用规则代理。使用前需确保 trojan.service 服务已注册且默认配置文件路径为 /etc/trojan.json

Warning

程序会覆盖 v2ray 配置文件。

This tool will truncate your v2ray config.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].