mirror of https://github.com/v2ray/v2ray-core
update config files
parent
a14fae4b35
commit
8c12fb6ff1
|
@ -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}
|
||||||
|
|
|
@ -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"
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue