add additional v5 configs

This commit is contained in:
Shelikhoo
2024-09-15 12:57:32 +01:00
parent 3a005e484f
commit e670afb793
6 changed files with 266 additions and 9 deletions

View 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"
}
}
}
]
}

View 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"
}
]
}