parent
18148145ca
commit
90a1e2be7c
@ -0,0 +1,19 @@ |
|||||||
|
-----BEGIN CERTIFICATE----- |
||||||
|
MIIDFzCCAf+gAwIBAgIQVeM+8iZUKrI+M9rkL41DjjANBgkqhkiG9w0BAQsFADAf |
||||||
|
MQswCQYDVQQKEwJBSTEQMA4GA1UEAxMHMjMzQmxvZzAgFw0xODA1MDExMDIwMjFa |
||||||
|
GA8yMjg0MDcwNzE2MjAyMVowHzELMAkGA1UEChMCQUkxEDAOBgNVBAMTBzIzM0Js |
||||||
|
b2cwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDn4tPOuedCbB6kerwg |
||||||
|
5PSU9tdmGvQc2jVh9xXDfBjSknKkjZoylJ1+IFLRhxl3RtYBgN1xFLhVVOnqpprA |
||||||
|
KqTbDomsk59+iktmNzZW2b5HuIi3onZ9jxtcwos+rvILrJPgcjX/4qCki/4QWekR |
||||||
|
aY6LOSuRGqEbIq9Yqqd4/PzLWh1q2pgv2qwwKZlkQTnTj8xs1rlEE7wd/2ibmaHR |
||||||
|
FgcvRw04TEFUbRRevC7gcyesB8dpfZX1c2OUKtUHp0z0CHF2Tby5g52FAti4YJag |
||||||
|
HSQmOssCz8JLOhZ9fVp2cuwrDZc2sOn/Jl22ZJHHwNU142HkcuBTye/aAnl0SM3f |
||||||
|
/vGTAgMBAAGjTTBLMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcD |
||||||
|
ATAMBgNVHRMBAf8EAjAAMBYGA1UdEQQPMA2CCzIzM2Jsb2cuY29tMA0GCSqGSIb3 |
||||||
|
DQEBCwUAA4IBAQCmyLW3R2Je30zEbMObtjF2oNNj7ELH+bLgRXUIlCzjMcYB9m7d |
||||||
|
K+2ntfK5iA6tNV2Q4timcSxls15wxPd59oI76ShXA/jSV08fRaq7drDQsOy/jGyn |
||||||
|
pU1PiQKEDj7dJOLgPWlNZM3cAkretn+owWtY2JIjrVrU8OA9anGes3nT2egrXmHR |
||||||
|
B+6YPvl+WtPkFIpf+dBJxtIvvJEg0of6HDQvsQfXDIgCQzUHcRt0jtRejK1WzSLf |
||||||
|
CVjs6H4GFRCr74dC3ovGyQqOznOK0m3QRYUNonQG9s1EAMJ2XBflq5/tqbx9Ef/o |
||||||
|
CwOT+fjKVhMnbvMN4yCkJeJyDIPdWvHOdawk |
||||||
|
-----END CERTIFICATE----- |
@ -0,0 +1,27 @@ |
|||||||
|
-----BEGIN RSA PRIVATE KEY----- |
||||||
|
MIIEowIBAAKCAQEA5+LTzrnnQmwepHq8IOT0lPbXZhr0HNo1YfcVw3wY0pJypI2a |
||||||
|
MpSdfiBS0YcZd0bWAYDdcRS4VVTp6qaawCqk2w6JrJOffopLZjc2Vtm+R7iIt6J2 |
||||||
|
fY8bXMKLPq7yC6yT4HI1/+KgpIv+EFnpEWmOizkrkRqhGyKvWKqnePz8y1odatqY |
||||||
|
L9qsMCmZZEE504/MbNa5RBO8Hf9om5mh0RYHL0cNOExBVG0UXrwu4HMnrAfHaX2V |
||||||
|
9XNjlCrVB6dM9Ahxdk28uYOdhQLYuGCWoB0kJjrLAs/CSzoWfX1adnLsKw2XNrDp |
||||||
|
/yZdtmSRx8DVNeNh5HLgU8nv2gJ5dEjN3/7xkwIDAQABAoIBAEqvb/DBR47JLAVl |
||||||
|
0nn1xCDGcBHe1IkGbvMilcvkiEoqCOqfAO8RlrgsyP/bN4SHOB471xa4ybYSJ1UA |
||||||
|
XA9QrNAxGn6O/WvQNwCw/7txXivTb5VVqjw+f12c+yQxTJwd9XLw1huYbo0Q2b+C |
||||||
|
deK50MNeon2VyhXnUfqI3G/Ha9RCkP1kLXUJY5cU/BCHtY/tBxcgxeAqHp39h92Z |
||||||
|
6yqJcZ7zcu+UUrQPbn3Oo8+rohKLz1crIfe3EEH72OO9LkaAA8nXeA06bKqaoZjP |
||||||
|
o+KF6Mb7E67JBlalpadWIYUEj7lGmUU22kP57T6YNF/2E1PyPNHCyO5PoUzGgTFV |
||||||
|
G+cCCuECgYEA7RHo8cdsZZdIPYc1sBu9qfhxNezdElzT4qfjJ1sibD7rtO6ZVS/9 |
||||||
|
eqRj8H0KSQzERQ9G8OuiBvcmzjo2VNiSCT/9wRIH7TrvAxcnCFdOI5k+W5XAYxoz |
||||||
|
BoxdfB3KziTLlcOSLFU8ID5BjbkwBiIbZ+RZ4MhPGOHcQokvspWiUiUCgYEA+mbz |
||||||
|
KvpF5+Uu8Mc3nEEUXa+6l3ZC85bRH0MCS0CtdFF3N3Tuteaa8IzTiumy4OAy8Y4j |
||||||
|
57VYX0TRosZhwqaFFB4dHnpJvxK7u8eI3Xqb7VQ6c0jQDK0GhmWz0i4WCZQUeFsa |
||||||
|
3b6goclgo5y5z31G08XKYB6o4foLK1NrnHpEu1cCgYB7h1qPKW/VG9gbn2mdQ0c3 |
||||||
|
2un6xFqJZ+9MaljVuAoex0aAt9cT6Xa2QhSFSlJisBFRPt2jSdTatkv1J6YJ3fNy |
||||||
|
eHKb+O5CcfP680R2dy+TIxW4GTbvLMarwdYwh0GW2ttuRULUcPFsh6QW2gkpGPqY |
||||||
|
zwb6NsXoXEAuN1ewQYIcNQKBgQCrtpmeqU3y/lk4SIU8I+zhajac0z6KaKwzsfIK |
||||||
|
xOmt0IfegdOI7gDmYMxYgHZoe5azy3OX2+YkPr87zqsPnr231AbH9bhIzYHr/aM/ |
||||||
|
rmrrT01d7VqutqC43Vl5Ep2OJ/v5pRBBbA4fpEcfK8TIIvLFGufzDlNl0+CA743m |
||||||
|
GnqztQKBgGxqQTInnvP8AHF7eu5L7gMs3gSrZbaSB4e6Hb9qaMdru9sOiHTmtKFc |
||||||
|
P5z1pGgKWAN7VYF2ZLzJ+NYxJn63R9mkH0PuPzh8j+0Wdkpe2msVCIuZ/wm3Iv7f |
||||||
|
VkFaQ64OitX/HpifTmh+dUaOWJ7GjW1PyDWjdPxViPdB+DQcDXFV |
||||||
|
-----END RSA PRIVATE KEY----- |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,78 @@ |
|||||||
|
{ |
||||||
|
"log": { |
||||||
|
"access": "/var/log/v2ray/access.log", |
||||||
|
"error": "/var/log/v2ray/error.log", |
||||||
|
"loglevel": "warning" |
||||||
|
}, |
||||||
|
"inbound": { |
||||||
|
"port": 2333, |
||||||
|
"protocol": "vmess", |
||||||
|
"settings": { |
||||||
|
"udp": true, |
||||||
|
"clients": [ |
||||||
|
{ |
||||||
|
"id": "23332333-2333-2333-2333-233boy233boy", |
||||||
|
"level": 1, |
||||||
|
"alterId": 233 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"streamSettings": { |
||||||
|
"network": "h2", |
||||||
|
"httpSettings": { |
||||||
|
"host": [ |
||||||
|
"233blog.com" |
||||||
|
], |
||||||
|
"path": "/233blog" |
||||||
|
}, |
||||||
|
"security": "tls", |
||||||
|
"tlsSettings": { |
||||||
|
"certificates": [ |
||||||
|
{ |
||||||
|
"certificateFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.cer", |
||||||
|
"keyFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.key" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"outbound": { |
||||||
|
"protocol": "freedom", |
||||||
|
"settings": {} |
||||||
|
}, |
||||||
|
"outboundDetour": [ |
||||||
|
{ |
||||||
|
"protocol": "blackhole", |
||||||
|
"settings": {}, |
||||||
|
"tag": "blocked" |
||||||
|
} |
||||||
|
], |
||||||
|
"routing": { |
||||||
|
"strategy": "rules", |
||||||
|
"settings": { |
||||||
|
"rules": [ |
||||||
|
{ |
||||||
|
"type": "field", |
||||||
|
"ip": [ |
||||||
|
"0.0.0.0/8", |
||||||
|
"10.0.0.0/8", |
||||||
|
"100.64.0.0/10", |
||||||
|
"127.0.0.0/8", |
||||||
|
"169.254.0.0/16", |
||||||
|
"172.16.0.0/12", |
||||||
|
"192.0.0.0/24", |
||||||
|
"192.0.2.0/24", |
||||||
|
"192.168.0.0/16", |
||||||
|
"198.18.0.0/15", |
||||||
|
"198.51.100.0/24", |
||||||
|
"203.0.113.0/24", |
||||||
|
"::1/128", |
||||||
|
"fc00::/7", |
||||||
|
"fe80::/10" |
||||||
|
], |
||||||
|
"outboundTag": "blocked" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,91 @@ |
|||||||
|
{ |
||||||
|
"log": { |
||||||
|
"access": "/var/log/v2ray/access.log", |
||||||
|
"error": "/var/log/v2ray/error.log", |
||||||
|
"loglevel": "warning" |
||||||
|
}, |
||||||
|
"inbound": { |
||||||
|
"port": 2333, |
||||||
|
"protocol": "vmess", |
||||||
|
"settings": { |
||||||
|
"udp": true, |
||||||
|
"clients": [ |
||||||
|
{ |
||||||
|
"id": "23332333-2333-2333-2333-233boy233boy", |
||||||
|
"level": 1, |
||||||
|
"alterId": 233 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"streamSettings": { |
||||||
|
"network": "h2", |
||||||
|
"httpSettings": { |
||||||
|
"host": [ |
||||||
|
"233blog.com" |
||||||
|
], |
||||||
|
"path": "/233blog" |
||||||
|
}, |
||||||
|
"security": "tls", |
||||||
|
"tlsSettings": { |
||||||
|
"certificates": [ |
||||||
|
{ |
||||||
|
"certificateFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.cer", |
||||||
|
"keyFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.key" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"outbound": { |
||||||
|
"protocol": "freedom", |
||||||
|
"settings": {} |
||||||
|
}, |
||||||
|
"inboundDetour": [ |
||||||
|
{ |
||||||
|
"protocol": "shadowsocks", |
||||||
|
"port": 6666, |
||||||
|
"settings": { |
||||||
|
"method": "chacha20-ietf", |
||||||
|
"password": "233blog.com", |
||||||
|
"udp": true, |
||||||
|
"level": 1, |
||||||
|
"ota": false |
||||||
|
} |
||||||
|
} |
||||||
|
], |
||||||
|
"outboundDetour": [ |
||||||
|
{ |
||||||
|
"protocol": "blackhole", |
||||||
|
"settings": {}, |
||||||
|
"tag": "blocked" |
||||||
|
} |
||||||
|
], |
||||||
|
"routing": { |
||||||
|
"strategy": "rules", |
||||||
|
"settings": { |
||||||
|
"rules": [ |
||||||
|
{ |
||||||
|
"type": "field", |
||||||
|
"ip": [ |
||||||
|
"0.0.0.0/8", |
||||||
|
"10.0.0.0/8", |
||||||
|
"100.64.0.0/10", |
||||||
|
"127.0.0.0/8", |
||||||
|
"169.254.0.0/16", |
||||||
|
"172.16.0.0/12", |
||||||
|
"192.0.0.0/24", |
||||||
|
"192.0.2.0/24", |
||||||
|
"192.168.0.0/16", |
||||||
|
"198.18.0.0/15", |
||||||
|
"198.51.100.0/24", |
||||||
|
"203.0.113.0/24", |
||||||
|
"::1/128", |
||||||
|
"fc00::/7", |
||||||
|
"fe80::/10" |
||||||
|
], |
||||||
|
"outboundTag": "blocked" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,67 @@ |
|||||||
|
#!/bin/bash |
||||||
|
cat >$backup <<-EOF |
||||||
|
# ----------------------------------- |
||||||
|
# 警告...请不要修改或删除这个文件...谢谢 |
||||||
|
# 警告...请不要修改或删除这个文件...谢谢 |
||||||
|
# 警告...请不要修改或删除这个文件...谢谢 |
||||||
|
# ----------------------------------- |
||||||
|
|
||||||
|
# ---- 再次提醒 ---- |
||||||
|
# 大胸弟...如果你看到了这个...记得不要修改或更改这个文件 |
||||||
|
|
||||||
|
# ---- 说明 ---- |
||||||
|
# 嗯……这个文件呢,是用来备份一些设置的 |
||||||
|
# 我懒...不想用 JQ 去解析 JSON.... |
||||||
|
# 那就把 V2Ray 配置文件的一些重要参数提取出来 |
||||||
|
# 然后..在修改 V2Ray 配置的时候再重写一下就 OK 啦... |
||||||
|
# 嗯…笨笨的方法 |
||||||
|
|
||||||
|
# ---- V2Ray 传输协议 ----- |
||||||
|
v2ray_transport=$v2ray_transport |
||||||
|
|
||||||
|
#---- V2Ray 端口 ----- |
||||||
|
v2ray_port=$v2ray_port |
||||||
|
|
||||||
|
#---- UUID ----- |
||||||
|
v2ray_id=$v2ray_id |
||||||
|
|
||||||
|
#---- alterId ----- |
||||||
|
alterId=$alterId |
||||||
|
|
||||||
|
#---- V2Ray 动态端口开始 ----- |
||||||
|
v2ray_dynamicPort_start=$v2ray_dynamicPort_start |
||||||
|
|
||||||
|
#---- V2Ray 动态端口结束 ----- |
||||||
|
v2ray_dynamicPort_end=$v2ray_dynamicPort_end |
||||||
|
|
||||||
|
#---- 域名 ----- |
||||||
|
domain=$domain |
||||||
|
|
||||||
|
#---- caddy ----- |
||||||
|
caddy_status=$caddy_status |
||||||
|
|
||||||
|
#---- Shadowsocks ----- |
||||||
|
shadowsocks_status=$shadowsocks_status |
||||||
|
|
||||||
|
#---- Shadowsocks 端口 ----- |
||||||
|
ssport=$ssport |
||||||
|
|
||||||
|
#---- Shadowsocks 密码 ----- |
||||||
|
sspass=$sspass |
||||||
|
|
||||||
|
#---- Shadowsocks 加密协议 ----- |
||||||
|
ssciphers=$ssciphers |
||||||
|
|
||||||
|
#---- 屏蔽广告 ----- |
||||||
|
blocked_ad_status=$blocked_ad_status |
||||||
|
|
||||||
|
#---- 网站伪装 ----- |
||||||
|
path_status=$ws_path_status |
||||||
|
|
||||||
|
#---- 伪装的路径 ----- |
||||||
|
path=$ws_path |
||||||
|
|
||||||
|
#---- 伪装的网址 ----- |
||||||
|
proxy_site=$proxy_site |
||||||
|
EOF |
||||||
|
. $backup |
Loading…
Reference in new issue