VMess
VMess is a protocol for encrypted communications. It includes both inbound and outbound proxy.
- Name: vmess
- Type: Inbound / Outbound
Outbound Proxy Configuration
{
"vnext": [
{
"address": "127.0.0.1",
"port": 37192,
"users": [
{
"id": "27848739-7e62-4138-9fd3-098a63964b6b",
"alterId": 16,
"security": "auto",
"level": 0
}
]
}
]
}
Wo:
vnext: Ein Array, bei dem jeder Eintrag ein Remote-Server istAdresse: Serveradresse, möglicherweise IPv4, IPv6 oder Domänenname.port: Server-Portusers: Ein Array, bei dem jeder Eintrag ein VMess-Benutzer istid: Benutzer-ID in Form einer UUID.alterId: Anzahl der alternativen IDs. Die alternativen IDs werden deterministisch generiert. Standard auf 0. Maximal 65535. Recommend 16. Its value must be not larger than the one in corresponding Inbound.level: User level. See Policy for more detail.security: Encryption method. Options are:"aes-128-gcm": Recommended for PC."chacha20-poly1305": Recommended for mobile."auto": Default value. Useaes-128-gcmon AMD64, ARM64 and S390x, orchacha20-poly1305otherwise."none": Der Verkehr ist überhaupt nicht verschlüsselt.
Inbound Proxy Configuration
{
"clients": [
{
"id": "27848739-7e62-4138-9fd3-098a63964b6b",
"level": 0,
"alterId": 100,
"email": "love@v2ray.com"
}
],
"default": {
"level": 0,
"alterId": 32
},
"detour": {
"to": "tag_to_detour"
},
"disableInsecureEncryption": false
}
Wo:
clients: An array for valid user accounts. May be empty when used for dynamic port feature.detour: Option, um dem Kunden einen Umweg zu empfehlen.to: The tag of an inbound proxy. See Overview. If configured, VMess will suggest its client to use the detour for further connections.
default: Optional default client configuration. Usually used in detour proxy.level: Benutzerebene.alterId: Number of alternative IDs. Default value 64. Recommend 16.
disableInsecureEncryption: Forbids client for using insecure encryption methods. When set to true, connections will be terminated immediately if the following encryption is used. Default valuefalse.noneaes-128-cfb
Tips
- Verwenden Sie immer die Verschlüsselungsmethode
"auto", um sicher und kompatibel zu bleiben. - VMess depends on system time. Please ensure that your system time is in sync with UTC time. Timezone doesn't matter.
- Man kann den Dienst
ntpunter Linux installieren, um die Systemzeit automatisch anzupassen.
- Man kann den Dienst
- You may choose the value of
alterIdat your interest. For daily usage, a value less than100is usually enough.