Created
February 11, 2025 00:16
-
-
Save AliSawari/c1f70309d89d1d4d0d46ca3f17d925b5 to your computer and use it in GitHub Desktop.
V2ray Config file sample (Client to Remote Server)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dns": { | |
"hosts": { | |
"domain:googleapis.cn": "googleapis.com" | |
}, | |
"servers": [ | |
"1.1.1.1" | |
] | |
}, | |
"inbounds": [ | |
{ | |
"listen": "0.0.0.0", | |
"port": 10800, | |
"protocol": "socks", | |
"settings": { | |
"auth": "noauth", | |
"udp": true, | |
"userLevel": 8 | |
}, | |
"sniffing": { | |
"destOverride": [ | |
"http", | |
"tls" | |
], | |
"enabled": true | |
}, | |
"tag": "socks" | |
}, | |
{ | |
"listen": "0.0.0.0", | |
"port": 10809, | |
"protocol": "http", | |
"settings": { | |
"userLevel": 8 | |
}, | |
"tag": "http" | |
} | |
], | |
"log": { | |
"loglevel": "warning" | |
}, | |
"outbounds": [ | |
{ | |
"mux": { | |
"concurrency": 8, | |
"enabled": false | |
}, | |
"protocol": "vless", | |
"settings": { | |
"vnext": [ | |
{ | |
"address": "1.1.1.1", | |
"port": 35094, | |
"users": [ | |
{ | |
"encryption": "none", | |
"flow": "", | |
"id": "9e2dbc01-6503-4fbe-a822-0283c63e7abc", | |
"level": 8, | |
"security": "auto" | |
} | |
] | |
} | |
] | |
}, | |
"streamSettings": { | |
"network": "tcp", | |
"security": "", | |
"tcpSettings": { | |
} | |
}, | |
"tag": "proxy" | |
}, | |
{ | |
"protocol": "freedom", | |
"settings": {}, | |
"tag": "direct" | |
}, | |
{ | |
"protocol": "blackhole", | |
"settings": { | |
"response": { | |
"type": "http" | |
} | |
}, | |
"tag": "block" | |
} | |
], | |
"routing": { | |
"domainStrategy": "IPIfNonMatch", | |
"rules": [ | |
{ | |
"ip": [ | |
"1.1.1.1" | |
], | |
"outboundTag": "proxy", | |
"port": "53", | |
"type": "field" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment