mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-09-19 05:34:34 +08:00
add configs
This commit is contained in:
58
v5/VMess-Hysteria2/vmess_hy2_client.json
Normal file
58
v5/VMess-Hysteria2/vmess_hy2_client.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"log": {
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
},
|
||||
"access": {
|
||||
"type": "None"
|
||||
}
|
||||
},
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"address": "",
|
||||
"port": 23454,
|
||||
"uuid": "934d4533-a99b-4d9e-981f-2d7b9497f088"
|
||||
},
|
||||
"streamSettings": {
|
||||
"transport": "hysteria2",
|
||||
"transportSettings": {
|
||||
"password": "52ox2wx75d7j8qk63e6qaayx9p2pllfv9asn",
|
||||
"congestion": {
|
||||
"type": "bbr"
|
||||
},
|
||||
"use_udp_extension": true
|
||||
},
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"server_name": "doubleclick.net",
|
||||
"allow_insecure_if_pinned_peer_certificate": true,
|
||||
"pinned_peer_certificate_chain_sha256": [
|
||||
"ZDc/ImNDWn5xyFxcKuorq/k44/V/4rww2NlUFOlQWmY="
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"inbounds": [
|
||||
{
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"udpEnabled": true,
|
||||
"address": "127.0.0.1",
|
||||
"packetEncoding": "Packet"
|
||||
},
|
||||
"port": 34479,
|
||||
"listen": "127.0.0.1"
|
||||
},
|
||||
{
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
},
|
||||
"port": 34480,
|
||||
"listen": "127.0.0.1"
|
||||
}
|
||||
]
|
||||
}
|
48
v5/VMess-Hysteria2/vmess_hy2_server.json
Normal file
48
v5/VMess-Hysteria2/vmess_hy2_server.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"log": {
|
||||
"access": {
|
||||
"type": "None"
|
||||
},
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
}
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 100000,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"users": [
|
||||
"0000000-0000000-0000000-0000000-0000000"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"certificate": [
|
||||
{
|
||||
"certificate_file": "000000000000000000000.pem",
|
||||
"key_file": "000000000000000000000.key",
|
||||
"usage": "ENCIPHERMENT"
|
||||
}
|
||||
]
|
||||
},
|
||||
"transport": "hysteria2",
|
||||
"transportSettings": {
|
||||
"congestion": {
|
||||
"type": "bbr"
|
||||
},
|
||||
"password": "000000000000000000000000000000000000000000",
|
||||
"use_udp_extension": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user