Top Related Projects
A platform for building proxies to bypass network restrictions.
A GUI client for Windows, support Xray core and v2fly core and others
A V2Ray client for Android, support Xray core and v2fly core
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Quick Overview
Jrohy/multi-v2ray is a V2Ray management tool designed for easy installation and configuration of V2Ray, a platform for building proxies to bypass network restrictions. It provides a user-friendly interface for managing V2Ray instances, including features like multi-user support, traffic statistics, and automatic updates.
Pros
- Easy installation and configuration process
- Supports multiple users and protocols
- Provides a web-based management interface
- Automatic updates for V2Ray core and geo files
Cons
- Limited to V2Ray protocol, not supporting other proxy types
- May require some technical knowledge to fully utilize all features
- Documentation is primarily in Chinese, which may be a barrier for non-Chinese speakers
- Potential security risks if not properly configured
Getting Started
To install multi-v2ray, run the following command:
source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh
After installation, you can access the management interface by running:
v2ray
To start the web panel, use:
v2ray --user
Then access the web panel at http://your_server_ip:65432
with the username and password provided during installation.
Competitor Comparisons
A platform for building proxies to bypass network restrictions.
Pros of v2ray-core
- Core functionality and protocol implementation
- Highly customizable and extensible
- Better performance and resource efficiency
Cons of v2ray-core
- Steeper learning curve for configuration
- Lacks user-friendly management interface
- Requires manual setup and maintenance
Code Comparison
v2ray-core (Go):
type User struct {
Level uint32
Email string
}
type Account struct {
Id string
AlterId uint32
}
multi-v2ray (Python):
class User:
def __init__(self, email, uuid, alter_id=0, level=0):
self.email = email
self.uuid = uuid
self.alter_id = alter_id
self.level = level
v2ray-core is the official core implementation of the V2Ray protocol, offering robust functionality and performance. It's highly customizable but requires more technical expertise to set up and manage.
multi-v2ray is a user-friendly management tool built on top of v2ray-core, providing an easier interface for configuration and user management. It simplifies the setup process but may not offer the same level of customization as the core project.
v2ray-core is written in Go, focusing on performance and efficiency, while multi-v2ray is written in Python, prioritizing ease of use and management features. The code comparison shows the different approaches to user and account management in both projects.
A GUI client for Windows, support Xray core and v2fly core and others
Pros of v2rayN
- User-friendly GUI for Windows users
- Supports multiple protocols and configurations
- Regular updates and active community support
Cons of v2rayN
- Limited to Windows platform
- May have a steeper learning curve for beginners
Code Comparison
multi-v2ray (Python):
def gen_client_json(self, port, aid=0):
client_config = {
"id": self.password,
"alterId": aid,
"email": self.email
}
return client_config
v2rayN (C#):
public static int GenerateRandomNumber()
{
return new Random().Next(10000, 60000);
}
The code snippets show different approaches:
- multi-v2ray focuses on generating client configurations
- v2rayN includes utility functions like random number generation
Both projects serve different purposes:
- multi-v2ray is a server-side management tool
- v2rayN is a client-side application for Windows users
While multi-v2ray offers more flexibility for server setup and management, v2rayN provides a user-friendly interface for connecting to V2Ray servers on Windows. The choice between them depends on whether you need server management capabilities or a client application for everyday use.
A V2Ray client for Android, support Xray core and v2fly core
Pros of v2rayNG
- User-friendly Android app with a graphical interface
- Supports multiple protocols and configurations
- Regular updates and active community support
Cons of v2rayNG
- Limited to Android platform
- May have higher resource usage compared to command-line tools
Code Comparison
multi-v2ray (Python):
def gen_client():
client_config = {
"v": "2",
"ps": "",
"add": "",
"port": "",
"id": "",
"aid": "",
"net": "",
"type": "",
"host": "",
"path": "",
"tls": ""
}
# ... (code to populate client_config)
return base64.b64encode(json.dumps(client_config).encode()).decode()
v2rayNG (Kotlin):
fun getConfigString(): String {
val config = JSONObject().apply {
put("v", "2")
put("ps", remarks)
put("add", address)
put("port", port)
put("id", id)
// ... (additional fields)
}
return Base64.encodeToString(config.toString().toByteArray(), Base64.NO_WRAP)
}
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Pros of Xray-core
- More advanced protocol support, including VLESS and XTLS
- Better performance and lower latency due to optimized core
- Active development with frequent updates and improvements
Cons of Xray-core
- Steeper learning curve for configuration and setup
- Less user-friendly interface compared to multi-v2ray
- May require more manual configuration for advanced features
Code Comparison
multi-v2ray:
class V2ray:
def __init__(self):
self.config = Config()
self.service = Service()
def restart(self):
self.service.restart()
Xray-core:
type Instance struct {
access sync.Mutex
features []Feature
featureResolutions []resolution
running bool
}
func New(config *Config) (*Instance, error) {
// Implementation details
}
The code snippets show that multi-v2ray is written in Python and focuses on a higher-level management interface, while Xray-core is implemented in Go and provides a lower-level, more performant core functionality.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
multi-v2ray
V2ray/Xrayå¤ç¨æ·ç®¡çèæ¬ï¼å导å¼ç®¡ç[æ°å¢|å é¤|ä¿®æ¹]ä¼ è¾åè®®
ä¸æ English
ç¹è²
- æ¯æXray管ç, v2rayåxrayç¸äºç¬ç«, ä¸åå½ä»¤(v2ray/xray)è¿å ¥ä¸åçcore管ç
- è°ç¨v2rayå®æ¹apiè¿è¡æµéç»è®¡
- å¤ç¨æ·, å¤ç«¯å£ç®¡ç, æ··åä¼ è¾å议管çä¸åæ¯æ¢¦
- é¦æ¬¡å®è£
æ¶äº§çéæºç«¯å£ï¼é»è®¤é
ç½®mkcp + éæºä¸ç§ (srtp | wechat-video | utp | dtls | wireguard) header伪è£
;
 å®è£ å®ææ¾ç¤ºé 置信æ¯; - æ¥çé 置信æ¯æ¾ç¤ºvmess/vlesså符串(v2rayNçå享é¾æ¥æ ¼å¼)
- çæTelegramçsocks5/MTProtoå享é¾æ¥, æ¯æsocks5 + tlsç»å
- æ¯æhttp/2, éæºçæä¼ªè£ h2 path
- å¼å¯å ³étcpFastOpen
- ç´æ¥å¼å¯CDN
- å¼å¯å ³éå¨æ端å£
- å®æ¶æ´æ°v2ray(éæå¨å¼å¯)
- æ¯ææ°çv2rayé ç½®æä»¶æ ¼å¼(v4.1+)
- æ¯æèå´ç«¯å£ä¿®æ¹
- æ¯æç¨åºå**å½ä»¤è¡åæ°**管çæ§å¶
- æ¯ædockeré¨ç½²
- æ¯æVLESSåTrojan以åXTLS(v4.31.0+)
- æ¯æ纯ipv6 vps
- ç¦æ¢BT
åè½
- ä¸é® å¯å¨ / åæ¢ / éå¯ V2ray æå¡ç«¯
- æµéç»è®¡(v2ray && iptables)
- å½ä»¤è¡æ¨¡å¼ç®¡çv2ray
- æ¯æå¤ç¨æ·ï¼ å¤ç«¯å£ç®¡ç
- å¼å¯å ³éå¨æ端å£
- bittorrentçç¦æ¢ä¸æ¾è¡
- å端å£, èå´ç«¯å£çä¿®æ¹
- ç´æ¥èµ°Cloudcflare cdn
- å¼å¯å ³étcpFastOpen
- å¿«éæ¥çæå¡å¨è¿æ¥ä¿¡æ¯, 常è§é 置修æ¹
- èªç±æ´æ¹**ä¼ è¾é
ç½®**ï¼
- 常è§TCP
- HTTP头é¨ä¼ªè£
- WebSocketæµé
- 常è§mKCPæµé
- mKCP ä¼ªè£ FaceTimeéè¯æµé(srtp)
- mKCP ä¼ªè£ BTä¸è½½æµé(utp)
- mKCP ä¼ªè£ å¾®ä¿¡è§é¢éè¯æµé(wechat-video)
- mKCP ä¼ªè£ DTLS 1.2æµé(dtls)
- mKCP ä¼ªè£ WireGuardæµé(wireguard)
- HTTP/2çtlsæµé(h2)(éå¤åå)
- Socks5
- MTProto
- Shadowsocks
- Quic
- VLESS_TCP
- VLESS_TLS
- VLESS_WS
- VLESS_REALITY
- Trojan
å®è£ å½ä»¤
source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh
å级å½ä»¤(ä¿çé ç½®æ件æ´æ°)
source <(curl -sL https://multi.netlify.app/v2ray.sh) -k
å¸è½½å½ä»¤
source <(curl -sL https://multi.netlify.app/v2ray.sh) --remove
å½ä»¤è¡åæ°
v2ray/xray [-h|help] [options]
-h, help æ¥ç帮å©
-v, version æ¥ççæ¬å·
start å¯å¨ V2Ray
stop åæ¢ V2Ray
restart éå¯ V2Ray
status æ¥ç V2Ray è¿è¡ç¶æ
new é建æ°çv2ray jsoné
ç½®æ件
update æ´æ° V2Ray å°ææ°Releaseçæ¬
update [version] æ´æ° V2Ray å°æå®çæ¬
update.sh æ´æ° multi-v2ray å°ææ°çæ¬
add æ°å¢ç«¯å£ç»
add [protocol] æ°å¢ä¸ç§åè®®çç», 端å£éæº, å¦ v2ray add utp 为æ°å¢utpåè®®
del å é¤ç«¯å£ç»
info æ¥çé
ç½®
port ä¿®æ¹ç«¯å£
tls ä¿®æ¹tls
tfo ä¿®æ¹tcpFastOpen
stream ä¿®æ¹ä¼ è¾åè®®
cdn èµ°cdn
stats v2rayæµéç»è®¡
iptables iptablesæµéç»è®¡
clean æ¸
çæ¥å¿
log æ¥çæ¥å¿
rm å¸è½½core
Dockerè¿è¡
é»è®¤å建mkcp + éæºä¸ç§ä¼ªè£ 头é ç½®æ件(å¦æ使ç¨xrayåæ¢æéåjrohy/xray)ï¼
docker run -d --name v2ray --privileged --restart always --network host jrohy/v2ray
èªå®ä¹v2rayé ç½®æ件:
docker run -d --name v2ray --privileged -v /path/config.json:/etc/v2ray/config.json --restart always --network host jrohy/v2ray
æ¥çv2rayé ç½®:
docker exec v2ray bash -c "v2ray info"
warning: å¦æç¨centosï¼éè¦å å ³éé²ç«å¢
systemctl stop firewalld.service
systemctl disable firewalld.service
建议
å®è£
å®v2rayå强ç建议å¼å¯BBRçå é: one_click_script
使ç¨TrojanåVLESSå议建议èªè¡å®è£
个nginx, è½è®©v2ray顺å©Fallbackå°é»è®¤ç80端å£
ä¾èµ
v2ray docker: https://hub.docker.com/r/jrohy/v2ray
xray docker: https://hub.docker.com/r/jrohy/xray
pip: https://pypi.org/project/v2ray-util/
python3: https://github.com/Jrohy/python3-install
acme: https://github.com/acmesh-official/acme.sh
Top Related Projects
A platform for building proxies to bypass network restrictions.
A GUI client for Windows, support Xray core and v2fly core and others
A V2Ray client for Android, support Xray core and v2fly core
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot