add sing-box server & client config for round2
This commit is contained in:
parent
70ebaa097f
commit
201b702ff7
4 changed files with 425 additions and 0 deletions
19
round2/cert.pem
Normal file
19
round2/cert.pem
Normal file
|
@ -0,0 +1,19 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC/jCCAeagAwIBAgIRAJgGP3d1CyIgIRLCbygCX9kwDQYJKoZIhvcNAQELBQAw
|
||||
FDESMBAGA1UEAxMJMTI3LjAuMC4xMB4XDTI0MTIxMzExMDczNloXDTI1MDExMzEy
|
||||
MDczNlowFDESMBAGA1UEAxMJMTI3LjAuMC4xMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEA2xk8FkkZERzHyMAycU0c/uh8IB8U8XLt77pLwUkBXm0X+Lyk
|
||||
HvNRsWbdZPRDUmGc5tfPBfKQADjHoIdQL8s7msPm3iDQqfoWpWGZtMrK58PlG/50
|
||||
B0NCinZ/DoVGuuDKygVFLeqnBSXYR8GiEohXU0lqQanyCbSS47a14boO2AIdhh5O
|
||||
kpJfzVbaAfwqFIQp28yd08FGUl1x7zJrYj05uIbEIU3fJtG0Kijrw/OZBrdAHooi
|
||||
J/8b+uvCshpL5cf8TxyhuA9dvqa7dr58RDeyQcBIIvlnpCd1zkX7SpBPLqCr3cHz
|
||||
wcbbuOhjf5PHnhpFnpV4ALphmAUB7mVhNEFnuQIDAQABo0swSTAOBgNVHQ8BAf8E
|
||||
BAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAUBgNVHREE
|
||||
DTALggkxMjcuMC4wLjEwDQYJKoZIhvcNAQELBQADggEBAHHA2Pl/hJr4jWD2dtNE
|
||||
ZKHJAiB6VfbK4ZKuqYX7D4b1Uuk9RDlq/T2knpziV9H8ALDfgmDcWKu6/Hdbrx1k
|
||||
RnRWX6Uy8XKnwIbI2OF1n+fGUO2/slgglaWqN7rqBPk+HbYcGGRIQlfqUV3m6X0E
|
||||
1b8K7A9n6n2bch8e2/1Y85gG4LjTLtSzRLbJn5TPORyPvNx3LNkJ/lJPh4P3Utl9
|
||||
+xGpm/ZO5tO+stXlNWKfhSXE2DD7AsdB4RpoCeAbTvBo9q2c92HzqYZmc96ADYpN
|
||||
WE9XLSBo0TqaUWYy9+sUjsR8XkeAUWe9T1bgh8P9CEqyMc5F+fd4SFsT4ABnjXAH
|
||||
Kxs=
|
||||
-----END CERTIFICATE-----
|
182
round2/config.json
Normal file
182
round2/config.json
Normal file
|
@ -0,0 +1,182 @@
|
|||
{
|
||||
"log": {
|
||||
"disabled": true
|
||||
},
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "https://1.1.1.1/dns-query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": {
|
||||
"final": "",
|
||||
"rules": [
|
||||
{
|
||||
"port": 53,
|
||||
"action": "hijack-dns"
|
||||
}
|
||||
]
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "socks",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2080
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"tag": "trojan-out",
|
||||
"type": "trojan",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2221,
|
||||
"password": "darkcat09",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "random"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "trojan-reality-out",
|
||||
"type": "trojan",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2232,
|
||||
"password": "darkcat09",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "random"
|
||||
},
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"public_key": "XGt8pP5AqEbiT-CViiwH-j0rirl8gPzzoA6ODE2ZIGc",
|
||||
"short_id": "abc0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "trojan-ws-out",
|
||||
"type": "trojan",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2233,
|
||||
"password": "darkcat09",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "random"
|
||||
},
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"public_key": "XGt8pP5AqEbiT-CViiwH-j0rirl8gPzzoA6ODE2ZIGc",
|
||||
"short_id": "abc0"
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"type": "ws",
|
||||
"path": "/",
|
||||
"early_data_header_name": "Sec-WebSocket-Protocol"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "vless-reality-out",
|
||||
"type": "vless",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2222,
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "random"
|
||||
},
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"public_key": "XGt8pP5AqEbiT-CViiwH-j0rirl8gPzzoA6ODE2ZIGc",
|
||||
"short_id": "abc0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "vless-ws-out",
|
||||
"type": "vless",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2223,
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "random"
|
||||
},
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"public_key": "XGt8pP5AqEbiT-CViiwH-j0rirl8gPzzoA6ODE2ZIGc",
|
||||
"short_id": "abc0"
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"type": "ws",
|
||||
"path": "/",
|
||||
"early_data_header_name": "Sec-WebSocket-Protocol"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "vless-quic-out",
|
||||
"type": "vless",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2224,
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem"
|
||||
},
|
||||
"transport": {
|
||||
"type": "quic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "hy2-out",
|
||||
"type": "hysteria2",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2225,
|
||||
"password": "darkcat09",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "hy2-obfs-out",
|
||||
"type": "hysteria2",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 2225,
|
||||
"password": "darkcat09",
|
||||
"obfs": {
|
||||
"type": "salamander",
|
||||
"password": "quic_obfs"
|
||||
},
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
28
round2/key.pem
Normal file
28
round2/key.pem
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDbGTwWSRkRHMfI
|
||||
wDJxTRz+6HwgHxTxcu3vukvBSQFebRf4vKQe81GxZt1k9ENSYZzm188F8pAAOMeg
|
||||
h1Avyzuaw+beINCp+halYZm0ysrnw+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4
|
||||
vmSX2qJyiQy5eHo1kuIEhj6S1osHo6Gudz91Xgkbq0rvPPQq0VUwF5/tH8RX0/cf
|
||||
ksgz97UDUN71gHLhlZWJenzv711xfNUcVJ6wdqELFspmIXWVO7C5ThHvWQKBgQCt
|
||||
BJyccvDOHKBAAf8AWbYA32gXscHiO4NCdPOHpx+XO4aOvlFnTXseofeFuI0x5OBL
|
||||
j/vyo1Q+XRWXizeTcHkn+Wh/nRp4112JHw4SUzQIE+TRSeqOkaprLSQNN3jsjdaH
|
||||
6hyqRUPTH8MjUIKIqGXv0ZDjSwbmcyN2PcWPpdWu0QKBgFD7qpigOIBbXT7sS6wU
|
||||
0JPxb7gtHEKZ54VzjL2+D2AbQs6jr5wdZb5prw/rAqJCcFV1n80VzzQUfVwVQTI0
|
||||
pUq+OYUUJd22WC+QqP1TbnQD0+rOaE/X2Zu4N8ZA1E9tNGcB0FQIu75q0CMTgho8
|
||||
g43JTrzQimqwdcBxaJrpXnd2
|
||||
-----END PRIVATE KEY-----
|
196
round2/server.json
Normal file
196
round2/server.json
Normal file
|
@ -0,0 +1,196 @@
|
|||
{
|
||||
"log": {
|
||||
"disabled": true
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "trojan",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2221,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"password": "darkcat09"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem",
|
||||
"key_path": "key.pem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "trojan",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2232,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"password": "darkcat09"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"handshake": {
|
||||
"server": "dc09.ru",
|
||||
"server_port": 443
|
||||
},
|
||||
"private_key": "8DtHYJNHFRBeSLi-3xmNy-gk2LFTRmUsmVeE3_mM0UY",
|
||||
"short_id": ["abc0"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "trojan",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2233,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"password": "darkcat09"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"handshake": {
|
||||
"server": "dc09.ru",
|
||||
"server_port": 443
|
||||
},
|
||||
"private_key": "8DtHYJNHFRBeSLi-3xmNy-gk2LFTRmUsmVeE3_mM0UY",
|
||||
"short_id": ["abc0"]
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"type": "ws",
|
||||
"path": "/",
|
||||
"early_data_header_name": "Sec-WebSocket-Protocol"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "vless",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2222,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"handshake": {
|
||||
"server": "dc09.ru",
|
||||
"server_port": 443
|
||||
},
|
||||
"private_key": "8DtHYJNHFRBeSLi-3xmNy-gk2LFTRmUsmVeE3_mM0UY",
|
||||
"short_id": ["abc0"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "vless",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2223,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "dc09.ru",
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"handshake": {
|
||||
"server": "dc09.ru",
|
||||
"server_port": 443
|
||||
},
|
||||
"private_key": "8DtHYJNHFRBeSLi-3xmNy-gk2LFTRmUsmVeE3_mM0UY",
|
||||
"short_id": ["abc0"]
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"type": "ws",
|
||||
"path": "/",
|
||||
"early_data_header_name": "Sec-WebSocket-Protocol"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "vless",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2224,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"uuid": "b058f1a6-bb82-40eb-90e9-053a17b2f870",
|
||||
"flow": "xtls-rprx-vision"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem",
|
||||
"key_path": "key.pem"
|
||||
},
|
||||
"transport": {
|
||||
"type": "quic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "hysteria2",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2225,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"password": "darkcat09"
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem",
|
||||
"key_path": "key.pem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "hysteria2",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2226,
|
||||
"users": [
|
||||
{
|
||||
"name": "bench",
|
||||
"password": "darkcat09"
|
||||
}
|
||||
],
|
||||
"obfs": {
|
||||
"type": "salamander",
|
||||
"password": "quic_obfs"
|
||||
},
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "127.0.0.1",
|
||||
"certificate_path": "cert.pem",
|
||||
"key_path": "key.pem"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue