mirror of
https://github.com/alantang1977/X.git
synced 2024-11-05 22:33:08 +02:00
Add files via upload
This commit is contained in:
parent
2e8572a8e8
commit
66e6297f87
2 changed files with 201 additions and 7 deletions
|
@ -46,7 +46,15 @@
|
|||
"pikpak_proxy_onlyapi":false,
|
||||
"pikpak_danmu":true,
|
||||
"wgcf_key":"",
|
||||
"wgcf_key2":"",
|
||||
"wgcf_ipport":"",
|
||||
"wgcf_xray_url":"./xray.gz",
|
||||
"wgcf_json_url":"./wgcf.json"
|
||||
"wgcf_json_url":"./wgcf.json",
|
||||
"wgcf_vless_id":"",
|
||||
"wgcf_vless_optname":"cdn-all.xn--b6gac.eu.org",
|
||||
"wgcf_vless_worker":"",
|
||||
"wgcf_vless_path":"/?ed=2048",
|
||||
"wgcf_vless_protocol":"vless",
|
||||
"wgcf_vless_network":"ws",
|
||||
"wgcf_vless_tls":false
|
||||
}
|
||||
|
|
198
lib/wgcf.json
198
lib/wgcf.json
|
@ -10,6 +10,14 @@
|
|||
{
|
||||
"address": "tcp://1.1.1.1",
|
||||
"concurrency": true
|
||||
},
|
||||
{
|
||||
"address": "https+local://223.5.5.5/dns-query",
|
||||
"concurrency": true,
|
||||
"domains": [
|
||||
"full:cdn-all.xn--b6gac.eu.org"
|
||||
],
|
||||
"skipFallback": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -35,10 +43,124 @@
|
|||
"network": "tcp"
|
||||
},
|
||||
"tag":"directwarp"
|
||||
},
|
||||
{
|
||||
"settings": {
|
||||
"secretKey": "KEY",
|
||||
"mtu": 1280,
|
||||
"peers": [
|
||||
{
|
||||
"publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
|
||||
"endpoint" : "engage.cloudflareclient.com:2408"
|
||||
}
|
||||
],
|
||||
"address": [
|
||||
"172.16.0.2/32",
|
||||
"2606:4700:110:893c:845c:536b:5565:8106/128"
|
||||
],
|
||||
"kernelMode": false
|
||||
},
|
||||
"protocol": "wireguard",
|
||||
"streamSettings": {
|
||||
"network": "tcp"
|
||||
},
|
||||
"tag":"warpoverwarp",
|
||||
"proxySettings": {
|
||||
"tag": "directwarp",
|
||||
"transportLayer": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "cdn-all.xn--b6gac.eu.org",
|
||||
"port": 443,
|
||||
"users": [
|
||||
{
|
||||
"id": "VLESSID",
|
||||
"encryption": "none",
|
||||
"level":0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "VLESSCFWORKERNAME",
|
||||
"allowInsecure": true
|
||||
},
|
||||
"wsSettings": {
|
||||
"headers": {
|
||||
"Host": "VLESSCFWORKERNAME"
|
||||
},
|
||||
"path": "/?ed=2048"
|
||||
}
|
||||
},
|
||||
"tag":"vlesscf"
|
||||
},
|
||||
{
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "cdn-all.xn--b6gac.eu.org",
|
||||
"port": 443,
|
||||
"users": [
|
||||
{
|
||||
"id": "VLESSID",
|
||||
"encryption": "none",
|
||||
"level":0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "VLESSCFWORKERNAME",
|
||||
"allowInsecure": true
|
||||
},
|
||||
"wsSettings": {
|
||||
"headers": {
|
||||
"Host": "VLESSCFWORKERNAME"
|
||||
},
|
||||
"path": "/?ed=2048"
|
||||
}
|
||||
},
|
||||
"tag":"vlesscfoverwarp",
|
||||
"proxySettings": {
|
||||
"tag": "directwarp",
|
||||
"transportLayer": true
|
||||
}
|
||||
}
|
||||
]
|
||||
,
|
||||
"inbounds":[
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 10070,
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"allowTransparent": true
|
||||
},
|
||||
"sniffing": {
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
],
|
||||
"enabled": true,
|
||||
"routeOnly": true
|
||||
},
|
||||
"tag": "http"
|
||||
},
|
||||
{
|
||||
"port": 10071,
|
||||
"protocol": "socks",
|
||||
|
@ -58,12 +180,13 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 10070,
|
||||
"protocol": "http",
|
||||
"port": 10072,
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"allowTransparent": true
|
||||
"udp": true,
|
||||
"auth": "noauth"
|
||||
},
|
||||
"tag":"socks5overvless",
|
||||
"sniffing": {
|
||||
"destOverride": [
|
||||
"http",
|
||||
|
@ -72,12 +195,47 @@
|
|||
],
|
||||
"enabled": true,
|
||||
"routeOnly": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"port": 10073,
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"auth": "noauth"
|
||||
},
|
||||
"tag": "http"
|
||||
"tag":"socks5overwarpoverwarp",
|
||||
"sniffing": {
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
],
|
||||
"enabled": true,
|
||||
"routeOnly": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"port": 10074,
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"auth": "noauth"
|
||||
},
|
||||
"tag":"socks5overvlessoverwarp",
|
||||
"sniffing": {
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
],
|
||||
"enabled": true,
|
||||
"routeOnly": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"domainStrategy": "AsIs",
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
|
@ -85,6 +243,34 @@
|
|||
"socks5"
|
||||
],
|
||||
"outboundTag": "directwarp"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"socks5overvless"
|
||||
],
|
||||
"outboundTag": "vlesscf"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"http"
|
||||
],
|
||||
"outboundTag": "vlesscf"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"socks5overwarpoverwarp"
|
||||
],
|
||||
"outboundTag": "warpoverwarp"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"socks5overvlessoverwarp"
|
||||
],
|
||||
"outboundTag": "vlesscfoverwarp"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue