1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-28 18:25:23 +00:00

update config files

This commit is contained in:
Darien Raymond 2018-11-13 23:29:36 +01:00
parent a14fae4b35
commit 8c12fb6ff1
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 19 additions and 25 deletions

View File

@ -2,7 +2,7 @@
"log": { "log": {
"loglevel": "warning" "loglevel": "warning"
}, },
"inbound": { "inbounds": [{
"port": 1080, "port": 1080,
"listen": "127.0.0.1", "listen": "127.0.0.1",
"protocol": "socks", "protocol": "socks",
@ -11,12 +11,12 @@
"udp": false, "udp": false,
"ip": "127.0.0.1" "ip": "127.0.0.1"
} }
}, }],
"outbound": { "outbounds": [{
"protocol": "freedom", "protocol": "freedom",
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, }],
"policy": { "policy": {
"levels": { "levels": {
"0": {"uplinkOnly": 0} "0": {"uplinkOnly": 0}

View File

@ -1,5 +1,5 @@
{ {
"inbound": { "inbounds": [{
"port": 10086, "port": 10086,
"protocol": "vmess", "protocol": "vmess",
"settings": { "settings": {
@ -11,28 +11,22 @@
} }
] ]
} }
}, }],
"outbound": { "outbounds": [{
"protocol": "freedom", "protocol": "freedom",
"settings": {} "settings": {}
}, },{
"outboundDetour": [ "protocol": "blackhole",
{ "settings": {},
"protocol": "blackhole", "tag": "blocked"
"settings": {}, }],
"tag": "blocked"
}
],
"routing": { "routing": {
"strategy": "rules", "rules": [
"settings": { {
"rules": [ "type": "field",
{ "ip": ["geoip:private"],
"type": "field", "outboundTag": "blocked"
"ip": ["geoip:private"], }
"outboundTag": "blocked" ]
}
]
}
} }
} }