-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
232 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
// | ||
// 效果相当于使用内网设备做正向代理,参考 https://toutyrater.github.io/app/reverse2.html | ||
// 这个文件用于内网设备 | ||
// | ||
"log": {}, | ||
"dns": {}, | ||
"stats": {}, | ||
"inbounds": [], | ||
"outbounds": [ | ||
{ | ||
"tag": "out", | ||
"protocol": "freedom", | ||
"settings": {} | ||
}, | ||
{ | ||
"protocol": "vmess", | ||
"settings": { | ||
"vnext": [ | ||
{ | ||
"address": "veekxt.com", | ||
"port": 3456, | ||
"users": [ | ||
{ | ||
"id": "27848739-7e62-4138-9fd3-098a63964b6b", | ||
"alterId": 32 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"tag": "interconn" | ||
} | ||
], | ||
"routing": { | ||
"domainStrategy": "AsIs", | ||
"rules": [ | ||
{ | ||
"type": "field", | ||
"inboundTag": [ | ||
"bridge" | ||
], | ||
"domain": [ | ||
"full:veekxt.com" | ||
], | ||
"outboundTag": "interconn" | ||
}, | ||
{ | ||
"type": "field", | ||
"inboundTag": [ | ||
"bridge" | ||
], | ||
"outboundTag": "out" | ||
} | ||
] | ||
}, | ||
"policy": {}, | ||
"reverse": { | ||
"bridges": [ | ||
{ | ||
"tag": "bridge", | ||
"domain": "veekxt.com" | ||
} | ||
] | ||
}, | ||
"transport": {} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
// | ||
// 效果相当于使用内网设备做正向代理,参考 https://toutyrater.github.io/app/reverse2.html | ||
// 这个文件用于公网设备 | ||
// | ||
"log": { | ||
"access": "/var/log/v2ray/access.log", | ||
"error": "/var/log/v2ray/error.log", | ||
"loglevel": "warning" | ||
}, | ||
"dns": {}, | ||
"stats": {}, | ||
"inbounds": [ | ||
{ | ||
"tag": "external", | ||
"port": 44222, | ||
"protocol": "vmess", | ||
"settings": { | ||
"clients": [ | ||
{ | ||
"id": "a26efdb8-ef34-4278-a4e6-2af32cc010aa", | ||
"alterId": 32 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"port": 3456, | ||
"tag": "interconn", | ||
"protocol": "vmess", | ||
"settings": { | ||
"clients": [ | ||
{ | ||
"id": "27848739-7e62-4138-9fd3-098a63964b6b", | ||
"alterId": 32 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"outbounds": [ | ||
{ | ||
"tag": "direct", | ||
"protocol": "freedom", | ||
"settings": {} | ||
}, | ||
{ | ||
"tag": "blocked", | ||
"protocol": "blackhole", | ||
"settings": {} | ||
} | ||
], | ||
"routing": { | ||
"domainStrategy": "AsIs", | ||
"rules": [ | ||
{ | ||
"type": "field", | ||
"inboundTag": [ | ||
"external" | ||
], | ||
"outboundTag": "portal" | ||
}, | ||
{ | ||
"type": "field", | ||
"inboundTag": [ | ||
"interconn" | ||
], | ||
"domain": [ | ||
"full:veekxt.com" | ||
], | ||
"outboundTag": "portal" | ||
} | ||
] | ||
}, | ||
"policy": {}, | ||
"reverse": { | ||
"portals": [ | ||
{ | ||
"tag": "portal", | ||
"domain": "veekxt.com" | ||
} | ||
] | ||
}, | ||
"transport": {} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
// | ||
// 效果相当于使用内网设备做正向代理,参考 https://toutyrater.github.io/app/reverse2.html | ||
// 这个文件用于真正的客户端,和普通vmess客户端配置无异 | ||
// | ||
"log":{}, | ||
"dns":{}, | ||
"stats":{}, | ||
"inbounds":[ | ||
{ | ||
"port":"1080", | ||
"protocol":"socks", | ||
"settings":{ | ||
"auth":"noauth", | ||
"udp":true | ||
}, | ||
"tag":"in-0" | ||
}, | ||
{ | ||
"port":"1081", | ||
"protocol":"http", | ||
"settings":{}, | ||
"tag":"in-1" | ||
} | ||
], | ||
"outbounds":[ | ||
{ | ||
"protocol":"vmess", | ||
"settings":{ | ||
"vnext":[ | ||
{ | ||
"address":"veekxt.com", | ||
"port":44222, | ||
"users":[ | ||
{ | ||
"id":"a26efdb8-ef34-4278-a4e6-2af32cc010aa", | ||
"alterId":32 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"tag":"out-0", | ||
"streamSettings":{ | ||
"network":"tcp", | ||
"security":"none", | ||
"tcpSettings":{} | ||
} | ||
}, | ||
{ | ||
"tag":"direct", | ||
"protocol":"freedom", | ||
"settings":{} | ||
}, | ||
{ | ||
"tag":"blocked", | ||
"protocol":"blackhole", | ||
"settings":{} | ||
} | ||
], | ||
"routing":{ | ||
"domainStrategy":"IPOnDemand", | ||
"rules":[ | ||
{ | ||
"type":"field", | ||
"ip":[ | ||
"geoip:private" | ||
], | ||
"outboundTag":"direct" | ||
} | ||
] | ||
}, | ||
"policy":{}, | ||
"reverse":{}, | ||
"transport":{} | ||
} |