You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray/config/client/http.json

166 lines
4.9 KiB

7 years ago
{
6 years ago
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "233blog.com",
"port": 2333,
"users": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
"alterId": 233,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "http",
"request": {
"version": "1.1",
"method": "GET",
"path": [
"/"
7 years ago
],
6 years ago
"headers": {
"Host": [
"www.cloudflare.com",
"www.amazon.com"
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"
],
"Accept": [
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
],
"Accept-language": [
"zh-CN,zh;q=0.8,en-US;q=0.6,en;q=0.4"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Cache-Control": [
"no-cache"
],
"Pragma": "no-cache"
}
7 years ago
}
}
}
6 years ago
},
"mux": {
"enabled": true
7 years ago
}
},
6 years ago
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
},
6 years ago
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
7 years ago
}
6 years ago
],
"inbounds": [
{
"port": "1099",
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"timeout": 0,
"followRedirect": true
}
},
{
"port": 2133,
"tag": "dns-in",
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1",
"port": 80,
"timeout": 0,
"network": "tcp,udp"
}
},
6 years ago
{
"port": 2333,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
6 years ago
}
},
7 years ago
{
"port": 6666,
"protocol": "http",
"settings": {
"auth": "noauth",
"udp": true
7 years ago
}
}
],
"dns": {
"servers": [
"1.1.1.1",
"1.0.0.1",
{
"address": "119.29.29.29",
"port": 53,
"domains": [
"geosite:cn"
]
},
7 years ago
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
6 years ago
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"inboundTag": [
"dns-in"
],
"outboundTag": "dns-out"
},
6 years ago
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
6 years ago
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
6 years ago
"outboundTag": "direct"
}
]
7 years ago
}
}