1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 01:15:38 +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": {
"loglevel": "warning"
},
"inbound": {
"inbounds": [{
"port": 1080,
"listen": "127.0.0.1",
"protocol": "socks",
@ -11,12 +11,12 @@
"udp": false,
"ip": "127.0.0.1"
}
},
"outbound": {
}],
"outbounds": [{
"protocol": "freedom",
"settings": {},
"tag": "direct"
},
}],
"policy": {
"levels": {
"0": {"uplinkOnly": 0}

View File

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