Skip to content

Instantly share code, notes, and snippets.

@lowercase78
Last active January 16, 2024 02:56
Show Gist options
  • Save lowercase78/f5b4ec369443b3f8d648b7d6656d88c4 to your computer and use it in GitHub Desktop.
Save lowercase78/f5b4ec369443b3f8d648b7d6656d88c4 to your computer and use it in GitHub Desktop.
🌈 Kian (WS CDN Vless Fragment) Config 4 V2rayNG
{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
},
"servers": [
"tcp://8.8.8.8",
{
"address": "localhost",
"domains": [
"geosite:category-ir"
],
"expectIPs": [
"geoip:ir"
],
"port": 53
}
]
},
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"userLevel": 8
},
"sniffing": {
"destOverride": [
"http",
"tls"
],
"enabled": true
},
"tag": "socks"
},
{
"port": 10809,
"protocol": "http",
"settings": {
"userLevel": 8
},
"tag": "http"
},
{
"listen": "127.0.0.1",
"port": 10853,
"protocol": "dokodemo-door",
"settings": {
"address": "1.1.1.1",
"network": "tcp,udp",
"port": 53
},
"tag": "dns-in"
}
],
"log": {
"loglevel": "warning"
},
"outbounds": [
{
"mux": {
"concurrency": -1,
"enabled": false,
"xudpConcurrency": 8,
"xudpProxyUDP443": ""
},
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "1000site.ir",
"port": 443,
"users": [
{
"encryption": "none",
"flow": "",
"id": "3636369d-93c6-4f6f-a9a7-f15d6e3aff5e",
"level": 8,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"sockopt": {
"dialerProxy": "fragment-out"
},
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"alpn": [
"h2",
"http/1.1"
],
"fingerprint": "chrome",
"publicKey": "",
"serverName": "edge.kian.cloudns.biz",
"shortId": "",
"show": false,
"spiderX": ""
},
"wsSettings": {
"headers": {
"Host": "edge.kian.cloudns.biz"
},
"path": "/?ed=2048"
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
},
{
"protocol": "freedom",
"settings": {
"domainStrategy": "AsIs",
"fragment": {
"packets": "tlshello",
"length": "100-200",
"interval": "10-20"
}
},
"tag": "fragment-out"
},
{
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
},
"tag": "block"
},
{
"protocol": "dns",
"tag": "dns-out"
}
],
"policy": {
"levels": {
"8": {
"connIdle": 300,
"downlinkOnly": 1,
"handshake": 4,
"uplinkOnly": 1
}
},
"system": {
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"inboundTag": [
"dns-in"
],
"outboundTag": "dns-out",
"type": "field"
},
{
"domain": [
"geosite:category-ir"
],
"outboundTag": "direct",
"type": "field"
},
{
"ip": [
"geoip:ir"
],
"outboundTag": "direct",
"type": "field"
},
{
"ip": [
"10.10.34.34",
"10.10.34.35",
"10.10.34.36"
],
"outboundTag": "block",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "direct",
"type": "field"
}
]
},
"stats": {}
}
@mobagheri
Copy link

سلام وقت بخیر. برای مخابرات به نظرتون چه ویرایشی باید داخل این کانکشن بشه تا جواب بده. ممنون

@lowercase78
Copy link
Author

lowercase78 commented Jan 6, 2024

سلام وقتتون بخیر
مقادیر فرگمنت باید تغییر کنه، البته همین کانفیگ بدون فرگمنت روی مخابرات کار می‌کرد.
"fragment": { "packets": "tlshello", "length": "100-200", "interval": "10-20" }
اعداد دقیق رو بلد نیستم، خودم از پروژه مهسا استفاده می‌کنم

@lowercase78
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment