mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-09-18 05:04:33 +08:00
add configs
This commit is contained in:
61
v5/Hysteria2-Hysteria2/hy2_hy2_client.json
Normal file
61
v5/Hysteria2-Hysteria2/hy2_hy2_client.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"log": {
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
},
|
||||
"access": {
|
||||
"type": "None"
|
||||
}
|
||||
},
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "hysteria2",
|
||||
"settings": {
|
||||
"server": [
|
||||
{
|
||||
"address": "",
|
||||
"port": 23443
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
44
v5/Hysteria2-Hysteria2/hy2_hy2_server.json
Normal file
44
v5/Hysteria2-Hysteria2/hy2_hy2_server.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"log": {
|
||||
"access": {
|
||||
"type": "None"
|
||||
},
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
}
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 100000,
|
||||
"protocol": "hysteria2",
|
||||
"settings": {},
|
||||
"streamSettings": {
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"certificate": [
|
||||
{
|
||||
"certificate_file": "0000000.pem",
|
||||
"key_file": "0000000.key",
|
||||
"usage": "ENCIPHERMENT"
|
||||
}
|
||||
]
|
||||
},
|
||||
"transport": "hysteria2",
|
||||
"transportSettings": {
|
||||
"congestion": {
|
||||
"type": "bbr"
|
||||
},
|
||||
"password": "000000000000000000000",
|
||||
"use_udp_extension": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user