107 lines
1.7 KiB
Markdown
107 lines
1.7 KiB
Markdown
|
|
```
|
|
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"ip": [
|
|
"geoip:cloudflare"
|
|
],
|
|
"outboundTag": "DIRECT",
|
|
"type": "field"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "VLESS_REALITY",
|
|
"listen": "0.0.0.0",
|
|
"port": 2083,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"show": false,
|
|
"dest": "www.apple.com:443",
|
|
"xver": 0,
|
|
"serverNames": [
|
|
"www.apple.com"
|
|
],
|
|
"privateKey": "sIiJLOrd5kisiC4Fx3OXBKqEinrtYa5vt4CalThTvkI",
|
|
"shortIds": [
|
|
"fb8382e98f461945",
|
|
"a1b2c3d4"
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "DIRECT"
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"tag": "BLOCK"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
|
|
```
|
|
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "BLOCK",
|
|
"type": "field"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "Shadowsocks TCP",
|
|
"listen": "0.0.0.0",
|
|
"port": 1080,
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"clients": [],
|
|
"network": "tcp,udp"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "DIRECT"
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"tag": "BLOCK"
|
|
}
|
|
]
|
|
}
|
|
``` |