Skip to content

Commit

Permalink
Update config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yeahwu authored Aug 24, 2020
1 parent 1acacc7 commit 8086820
Showing 1 changed file with 48 additions and 16 deletions.
64 changes: 48 additions & 16 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,57 @@
{
"inbounds":
[
"inbounds": [
{
"port": 8888,"listen":"0.0.0.0","protocol": "vmess",
"settings": {"clients": [{"id": "c95ef1d4-f3ac-4586-96e9-234a37dda068"}]},
"streamSettings": {"network": "ws"}
"port": 8888,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "c95ef1d4-f3ac-4586-96e9-234a37dda068"
}
]
},
"streamSettings": {
"network": "ws"
}
}
],

"outbounds":
[
{"protocol": "freedom","tag": "direct","settings": {}},
{"protocol": "socks","tag": "socksTor","settings": {"servers": [{"address": "127.0.0.1","port": 9050}]}}
"outbounds": [
{
"protocol": "freedom",
"tag": "direct",
"settings": {}
},
{
"protocol": "socks",
"tag": "sockstor",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 9050
}
]
}
}
],

"routing":
{
"rules":
[
{"type": "field","outboundTag": "socksTor","domain": ["regexp:\\.onion$"]},
{"type": "field","outboundTag": "blocked","domain": ["geosite:category-ads-all"]}
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "sockstor",
"domain": [
"regexp:\\.onion$"
]
},
{
"type": "field",
"outboundTag": "blocked",
"domain": [
"geosite:category-ads-all"
]
}
]
}
}
}

0 comments on commit 8086820

Please sign in to comment.