diff --git a/pg/lib/XBPQ.jar b/pg/lib/XBPQ.jar index 206f3da..776ae73 100644 Binary files a/pg/lib/XBPQ.jar and b/pg/lib/XBPQ.jar differ diff --git a/pg/lib/tokentemplate.json b/pg/lib/tokentemplate.json index 20b45fa..d612c23 100644 --- a/pg/lib/tokentemplate.json +++ b/pg/lib/tokentemplate.json @@ -9,7 +9,7 @@ "oauth_refresh_url":"", "thread_limit":32, "is_vip":true, -"vip_thread_limit":32, +"vip_thread_limit":10, "vod_flags":"4kz|auto", "quark_thread_limit":32, "quark_is_vip":false, diff --git a/pg/lib/wgcf.json b/pg/lib/wgcf.json new file mode 100644 index 0000000..b862279 --- /dev/null +++ b/pg/lib/wgcf.json @@ -0,0 +1,288 @@ +{ + "log": { + "loglevel": "warn" + }, + "dns": { + "disableFallbackIfMatch": true, + "hosts": {}, + "queryStrategy": "UseIPv4", + "servers": [ + { + "address": "tcp://1.1.1.1", + "concurrency": true + }, + { + "address": "http+local://223.5.5.5/dns-query", + "concurrency": true, + "domains": [ + "full:cdn-all.xn--b6gac.eu.org" + ], + "skipFallback": true + } + ] + }, + "outbounds": [ + { + "settings": { + "secretKey": "KEY", + "mtu": 1400, + "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":"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 + } + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] + , + "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", + "settings": { + "udp": true, + "auth": "noauth" + }, + "tag":"socks5", + "sniffing": { + "destOverride": [ + "http", + "tls", + "quic" + ], + "enabled": true, + "routeOnly": true + } + }, + { + "port": 10072, + "protocol": "socks", + "settings": { + "udp": true, + "auth": "noauth" + }, + "tag":"socks5overvless", + "sniffing": { + "destOverride": [ + "http", + "tls", + "quic" + ], + "enabled": true, + "routeOnly": true + } + }, + { + "port": 10073, + "protocol": "socks", + "settings": { + "udp": true, + "auth": "noauth" + }, + "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", + "rules": [ + { + "type": "field", + "ip": [ + "127.0.0.1" + ], + "outboundTag": "direct" + }, + { + "type": "field", + "inboundTag": [ + "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" + } + ] + } +}