Created
November 17, 2016 08:52
-
-
Save Ehekatl/1e01736746717f76eef5f78a9c3a6360 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log": { | |
"access": "/var/log/v2ray/access.log", | |
"error": "/var/log/v2ray/error.log", | |
"loglevel": "warning" | |
}, | |
"inbound": { | |
"port": 1080, | |
"protocol": "http", | |
"settings": { | |
"timeout": 300 | |
} | |
}, | |
"inboundDetour": [{ | |
"port": 1081, | |
"protocol": "socks", | |
"settings": { | |
"auth": "noauth", | |
"udp": false | |
} | |
}], | |
"outbound": { | |
"protocol": "vmess", | |
"settings": { | |
"vnext": [{ | |
"address": "", | |
"port": 443, | |
"users": [{ | |
"id": "", | |
"alterId": 20 | |
}] | |
}] | |
} | |
}, | |
"outboundDetour": [{ | |
"protocol": "freedom", | |
"settings": { | |
"domainStrategy": "UseIP" | |
}, | |
"tag": "direct" | |
}], | |
"routing": { | |
"strategy": "rules", | |
"domainStrategy": "IPIfNonMatch", | |
"settings": { | |
"rules": [{ | |
"type": "field", | |
"ip": [ | |
"0.0.0.0/8", | |
"10.0.0.0/8", | |
"100.64.0.0/10", | |
"127.0.0.0/8", | |
"169.254.0.0/16", | |
"172.16.0.0/12", | |
"192.0.0.0/24", | |
"192.0.2.0/24", | |
"192.168.0.0/16", | |
"198.18.0.0/15", | |
"198.51.100.0/24", | |
"203.0.113.0/24", | |
"::1/128", | |
"fc00::/7", | |
"fe80::/10" | |
] | |
}, { | |
"type": "chinaip", | |
"outboundTag": "direct" | |
}, { | |
"type": "chinasites", | |
"outboundTag": "direct" | |
}] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment