mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-10-14 09:45:37 +08:00
add additional v5 configs
This commit is contained in:
50
v5/Trojan-TLS/trojan-tls_client.json
Normal file
50
v5/Trojan-TLS/trojan-tls_client.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"log": {
|
||||
"access": {
|
||||
"type": "None"
|
||||
},
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
}
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"port": 7830,
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"address": "127.0.0.1",
|
||||
"packetEncoding": "Packet",
|
||||
"udpEnabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"port": 7831,
|
||||
"protocol": "http",
|
||||
"settings": {}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"tag": "proxy",
|
||||
"protocol": "trojan",
|
||||
"settings": {
|
||||
"address": "0.0.0.0",
|
||||
"password": "0000000-0000000-0000000-0000000-0000000",
|
||||
"port": 100000
|
||||
},
|
||||
"streamSettings": {
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"allow_insecure_if_pinned_peer_certificate": true,
|
||||
"pinned_peer_certificate_chain_sha256": [
|
||||
"000000000000000000000"
|
||||
],
|
||||
"server_name": "000000000000000000000.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
42
v5/Trojan-TLS/trojan-tls_server.json
Normal file
42
v5/Trojan-TLS/trojan-tls_server.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"log": {
|
||||
"access": {
|
||||
"type": "None"
|
||||
},
|
||||
"error": {
|
||||
"level": "Debug",
|
||||
"type": "Console"
|
||||
}
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 100000,
|
||||
"protocol": "trojan",
|
||||
"settings": {
|
||||
"users": [
|
||||
"0000000-0000000-0000000-0000000-0000000"
|
||||
],
|
||||
"packetEncoding": "None"
|
||||
},
|
||||
"streamSettings": {
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"certificate": [
|
||||
{
|
||||
"certificate_file": "000000000000000000000.pem",
|
||||
"key_file": "000000000000000000000.key",
|
||||
"usage": "ENCIPHERMENT"
|
||||
}
|
||||
],
|
||||
"serverName": "000000000000000000000.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user