V2Ray
约 2 分钟阅读
V2Ray/V2Fly
- v2fly/v2ray-coreGitHubv2fly/v2ray-corev2fly/v2ray-core · MIT, Golang · V2Ray 创始人 Victoria Raymond 失联后 fork 的项目 · v2ray/v2ray-core · MIT, Golang · v2rayA/v2rayA笔记:V2Ray
- MIT, Golang
- V2Ray 创始人 Victoria Raymond 失联后 fork 的项目
v2ray/v2ray-coreGitHubv2ray/v2ray-corev2fly/v2ray-core · MIT, Golang · V2Ray 创始人 Victoria Raymond 失联后 fork 的项目 · v2ray/v2ray-core · MIT, Golang · v2rayA/v2rayA笔记:V2Ray- MIT, Golang
- v2rayA/v2rayAGitHubv2rayA/v2rayAv2fly/v2ray-core · MIT, Golang · V2Ray 创始人 Victoria Raymond 失联后 fork 的项目 · v2ray/v2ray-core · MIT, Golang · v2rayA/v2rayA笔记:V2Ray
- web GUI
- XTLS/Xray-coreGitHubXTLS/Xray-coreXTLS/Xray-core · MPLv2, Go · VLESS, XTLS, REALITY, XUDP, PLUX · XTLS 修改了 Go 的 TLS - 别的工具不好集成 · XTLS 协议的原理是将代理过程中的两条 TLS 请求合并成一条 TLS,减少一次 TLS 加密过程来达到提升性能的目的笔记:xray
- 2dust/v2rayNGitHub2dust/v2rayN
- GPLv3, C#
- GUI client for Windows, support Xray core and v2fly
- 2dust/v2rayNGGitHub2dust/v2rayNG
- Android
- Qv2ray/Qv2rayGitHubQv2ray/Qv2ray
- GUI
- Linux / Windows / macOS
- tzmax/V2RayXSGitHubtzmax/V2RayXS
- ObjC, macOS
- mack-a/v2ray-agentGitHubmack-a/v2ray-agent
- 协议
- TLS -> VMess -> Trojan -> VLESS / XTLS
- Trojan - TLS+VMess
- TLS -> VMess -> Trojan -> VLESS / XTLS
- 参考
brew install v2ray
curl -LO https://github.com/v2fly/v2ray-core/releases/download/v5.10.1/v2ray-linux-64.zip
unzip v2ray-linux-64.zip
# https://github.com/v2fly/docker
# https://hub.docker.com/r/v2fly/v2fly-core
docker run --rm -it v2fly/v2fly-core
UUID=$(uuidgen)
cat << JSON > svr.json
{
"inbounds": [
{
"port": 10086,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "${UUID}"
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
JSON
cat << JSON > cli.json
{
"inbounds": [
{
"port": 1080,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "127.0.0.1",
"port": 10086,
"users": [
{
"id": "${UUID}"
}
]
}
]
}
},
{
"protocol": "freedom",
"tag": "direct"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
}
]
}
}
JSON
v2ray run -c svr.json # 服务端
v2ray run -c cli.json # 客户端
curl -x socks5h://127.0.0.1:1080 icanhazip.com # 测试- /etc/v2ray/config.json 配置文件
- /usr/bin/v2ray V2Ray 主程序
- /usr/bin/v2ctl V2Ray 辅助工具
- /usr/local/share/v2ray/geoip.dat IP 数据文件
- /usr/local/share/v2ray/geosite.dat 域名数据文件
{
"log": {},
"dns": {},
"router": {},
"inbounds": [],
"outbounds": [],
"services": {}
}- 代理协议
- socks - SOCKS5
- vmess
- 要求时间误差 < 90s
- uuid 认证
- vlite
- 只支持 UDP
- 针对 P2P 优化
- shadowsocks
- http
- trojan
vless- 用 trojan
- dokodemo
- blackhole
- block 效果
- dns
- 只处理 DNS
- loopback
- 重新路由出站
- 传输协议
- tcp
- ws
- kcp - mKCP
- UDP 模拟 TCP
- 牺牲带宽来降低延迟
- grpc
- quic
FAQ
History
- 2015-2019 原始项目 v2ray/v2ray-coreGitHubv2ray/v2ray-corev2fly/v2ray-core · MIT, Golang · V2Ray 创始人 Victoria Raymond 失联后 fork 的项目 · v2ray/v2ray-core · MIT, Golang · v2rayA/v2rayA笔记:V2Ray
- Project V
- 2019年11月,V2Ray 项目创始人 Victoria Raymond 失联
- V2Fly 基于原始项目 fork
- 2020年11月,XTLS 被 V2Ray社区从V2ray core移除,VLESS及XTLS的作者和支持者基于V2Ray另行组建了Project X 组织
关联信息
反向链接、本文链接的其他页面和外部资料。
反向链接
- Proxy Awesome笔记 · v2ray
Note · 建议基于 overlay 组件内部 proxy,更安全,更好跨网。 · 对外暴露甚至选择 · | protocol | transport | UDP | Note | · | socks4 | tcp | ❌ | · | socks5 | tcp | ✅ |
参考资料
GitHub11 条
- v2ray/v2ray-coregithub.com/v2ray/v2ray-core
- XTLS/Go#9github.com/XTLS/Go/issues/9
- 2dust/v2rayNgithub.com/2dust/v2rayN
- 2dust/v2rayNGgithub.com/2dust/v2rayNG
- mack-a/v2ray-agentgithub.com/mack-a/v2ray-agent
- Qv2ray/Qv2raygithub.com/Qv2ray/Qv2ray
- rprx/v2ray-vless/releases/tag/xtlsgithub.com/rprx/v2ray-vless/releases/tag/xtls
- tzmax/V2RayXSgithub.com/tzmax/V2RayXS
- v2fly/v2ray-coregithub.com/v2fly/v2ray-core
- v2rayA/v2rayAgithub.com/v2rayA/v2rayA
- XTLS/Xray-coregithub.com/XTLS/Xray-core
其他外链3 条
- www.chengxiaobai.com/essays/v2ray-trojan-xray.htmlwww.chengxiaobai.com/essays/v2ray-trojan-xray.html
- www.v2fly.orgwww.v2fly.org/
- www.v2ray.comwww.v2ray.com/