-
-
Save rjszz/13f4160ba67f3dba9429497e6ccd0f9c to your computer and use it in GitHub Desktop.
Revisions
-
tanpengsccd revised this gist
Sep 23, 2019 . 1 changed file with 4 additions and 4 deletions.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 @@ -5,8 +5,8 @@ "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbound": { //理论最安全的方式 ws,有条件加上TLS "port": 20080, //开启的端口,建议实用caddy加上TLS加密 "protocol": "vmess", "listen": null, "settings": { @@ -51,7 +51,7 @@ "network": "tcp" //默认tcp时,可直接省略streamSettings } }, {//SS是最通用的方式,但非常容易被检测被墙,下下策 "port": 34000, "protocol": "shadowsocks", // 此段为支持SS协议部分,V2ray不支持SSR "settings": { @@ -60,7 +60,7 @@ "udp": true //是否支持UDP中转,游戏大多数需要,如SSTAP 加速游戏需要此项, } }, {//游戏用,将tcp包转为udp发送,部分服务商对udp限制非常严格,可能反而不如一般tcp,mKCP不一定所有客户端都支持 "port": 34006, //记得打开设置防火墙和安全组规则(如ECS需要设置) "protocol": "vmess", //vmess 协议 "settings": { -
tanpengsccd revised this gist
Mar 5, 2019 . 1 changed file with 0 additions and 3 deletions.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 @@ -25,9 +25,6 @@ "network": "ws", //websocket 长连接 "kcpSettings": null, "wsSettings": { "connectionReuse": true, "path": "/home" }, -
tanpengsccd revised this gist
Mar 5, 2019 . 1 changed file with 16 additions and 15 deletions.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 @@ -1,11 +1,12 @@ { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbound": { //理论最安全的方式 "port": 80, "protocol": "vmess", "listen": null, "settings": { @@ -28,24 +29,15 @@ "host": "bwg.h6.work" }, "connectionReuse": true, "path": "/home" }, "tcpSettings": null, "tlsSettings": {}, "security": "" } }, "inboundDetour": [ {//最轻负载方式,推荐移动设备 "port": 34001, "protocol": "vmess", //vmess 协议 "settings": { @@ -62,7 +54,16 @@ "network": "tcp" //默认tcp时,可直接省略streamSettings } }, {//最通用的方式,容易被检测,下下策 "port": 34000, "protocol": "shadowsocks", // 此段为支持SS协议部分,V2ray不支持SSR "settings": { "method": "aes-256-cfb", "password": "Tanpeng123", "udp": true //是否支持UDP中转,游戏大多数需要,如SSTAP 加速游戏需要此项, } }, {//游戏用,mKCP不一定所有客户端都支持 "port": 34006, //记得打开设置防火墙和安全组规则(如ECS需要设置) "protocol": "vmess", //vmess 协议 "settings": { @@ -123,4 +124,4 @@ ] } } } -
tanpengsccd revised this gist
Dec 7, 2018 . 1 changed file with 116 additions and 83 deletions.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 @@ -1,93 +1,126 @@ { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbound": { "port": 34002, "protocol": "vmess", "listen": null, "settings": { "ip": null, "udp": true, "clients": [ { "alterId": 100, "security": "auto", "id": "cf390ac1-595a-4f4b-b56d-6f048f01444c" } ], "auth": null }, "streamSettings": { "network": "ws", //websocket 长连接 "kcpSettings": null, "wsSettings": { "headers": { "host": "bwg.h6.work" }, "connectionReuse": true, "path": "" }, "tcpSettings": null, "tlsSettings": {}, "security": "" } }, "inboundDetour": [ { "port": 34000, "protocol": "shadowsocks", // 此段为支持SS协议部分,V2ray不支持SSR "settings": { "method": "aes-256-cfb", "password": "Tanpeng123", "udp": true //是否支持UDP中转,游戏大多数需要,如SSTAP 加速游戏需要此项, } }, { "port": 34001, "protocol": "vmess", //vmess 协议 "settings": { "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21374", "level": 0, "security": "auto", //自动选择(运行框架为 AMD64、ARM64 或 s390x 时为aes-128-gcm加密方式,其他情况则为 Chacha20-Poly1305 加密方式) "alterId": 64 } ] }, "streamSettings": { "network": "tcp" //默认tcp时,可直接省略streamSettings } }, { "port": 34006, //记得打开设置防火墙和安全组规则(如ECS需要设置) "protocol": "vmess", //vmess 协议 "settings": { "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21373", "level": 0, "security": "auto", //自动选择(运行框架为 AMD64、ARM64 或 s390x 时为aes-128-gcm加密方式,其他情况则为 Chacha20-Poly1305 加密方式) "alterId": 64 } ] }, "streamSettings": { "network": "kcp" //kcp 可以加速,实际是UDP 协议 } } ], "outbound": { "protocol": "freedom", "settings": {} }, "outboundDetour": [ { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "strategy": "rules", "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" ], "outboundTag": "blocked" } ] } } } -
tanpengsccd revised this gist
Nov 16, 2018 . 1 changed file with 2 additions and 2 deletions.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 @@ -12,7 +12,7 @@ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21373", "level": 0, "security": "auto", //自动选择(运行框架为 AMD64、ARM64 或 s390x 时为aes-128-gcm加密方式,其他情况则为 Chacha20-Poly1305 加密方式) "alterId": 64 } ] @@ -38,7 +38,7 @@ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21374", "level": 0, "security": "auto", //自动选择(运行框架为 AMD64、ARM64 或 s390x 时为aes-128-gcm加密方式,其他情况则为 Chacha20-Poly1305 加密方式) "alterId": 64 } ] -
tanpengsccd revised this gist
Nov 16, 2018 . 1 changed file with 6 additions and 4 deletions.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 @@ -11,7 +11,8 @@ "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21373", "level": 0, "security": "auto", "alterId": 64 } ] @@ -22,9 +23,9 @@ }, "inboundDetour": [{ "port": 34000, "protocol": "shadowsocks", // 此段为支持SS协议部分,V2ray不支持SSR "settings": { "method": "aes-256-cfb", "password": "Tanpeng123", "udp": true //是否支持UDP中转,游戏大多数需要,如SSTAP 加速游戏需要此项, } @@ -36,7 +37,8 @@ "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21374", "level": 0, "security": "auto", "alterId": 64 } ] -
tanpengsccd renamed this gist
May 9, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
tanpengsccd created this gist
Jan 25, 2018 .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,91 @@ { "log" : { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbound": { "port": 34006, //记得打开设置防火墙和安全组规则(如ECS需要设置) "protocol": "vmess", //vmess 协议 "settings": { "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21373", "level": 1, "alterId": 64 } ] }, "streamSettings":{ "network":"kcp" //kcp 可以加速,实际是UDP 协议 } }, "inboundDetour": [{ "port": 34000, "protocol": "shadowsocks", // 此段为支持SS协议部分 "settings": { "method": "aes-256-cfb", // 加密协议支持aes-256-cfb, aes-128-cfb(默认可省略), chacha20 (V2Ray 1.9+), chacha20-ietf (V2Ray 1.9+) "password": "Tanpeng123", "udp": true //是否支持UDP中转,游戏大多数需要,如SSTAP 加速游戏需要此项, } }, { "port": 34001, "protocol": "vmess", //vmess 协议 "settings": { "clients": [ { "id": "7fab440d-f1e9-419e-b7cb-ba6ba9a21374", "level": 1, "alterId": 64 } ] }, "streamSettings":{ "network":"tcp" //默认tcp时,可直接省略streamSettings } }], "outbound": { "protocol": "freedom", "settings": {} }, "outboundDetour": [ { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "strategy": "rules", "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" ], "outboundTag": "blocked" } ] } } }