-
-
Save Saya47/ff1036610cbdbfa237f6ac1f38b97a08 to your computer and use it in GitHub Desktop.
Revisions
-
usshen created this gist
May 25, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,140 @@ { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warn" }, "inbounds": [ { "port": 443, "tag": "itor", "protocol": "trojan", "settings": { "clients": [ { "password": "password" } ], "fallbacks": [ { "dest": 80 } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "certificates": [ { "certificateFile": "/path/to/fullchain.cer", "keyFile": "/path/to/inf.aboy.ga.key" } ], "alpn": [ "http/1.1" ] }, "tcpSettings": {}, "kcpSettings": {}, "wsSettings": {}, "httpSettings": {}, "quicSettings": {}, "grpcSettings": {} }, "domain": "example.com" }, { "port": port, "protocol": "vmess", "settings": { "clients": [ { "alterId": 0, "id": "id" } ] }, "streamSettings": { "network": "kcp", "security": "none", "tlsSettings": {}, "tcpSettings": {}, "httpSettings": {}, "kcpSettings": { "mtu": 1350, "tti": 50, "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "dtls" } }, "wsSettings": {}, "quicSettings": {} } } ], "outbounds": [ { "protocol": "freedom", "tag": "direct", "settings": {} }, { "protocol": "freedom", "tag": "direct6", "settings": {"domainStrategy": "UseIPv6"} }, { "protocol": "socks", "tag": "tor", "settings":{"servers":[{"address": "127.0.0.1","port": 9050 }]} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "rules": [ { "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "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" ], "outboundTag": "blocked" }, { "type": "field", "domain": [ "geosite:netflix", "geosite:google" ], "outboundTag": "direct6" }, { "type": "field", "outboundTag": "tor", "inboundTag": ["itor"] } ] } }