全球主机交流论坛
标题:
不懂就问序列!关于V2ray 中转V2ray 的问题
[打印本页]
作者:
acejava
时间:
2020-1-17 14:15
标题:
不懂就问序列!关于V2ray 中转V2ray 的问题
各位大佬们,现在的中转机跟落地机都安装好V2了,中转机需要怎么配置才能实现啊,看了白话教程(代理转发?还是国内中转?),复用上面的代码一直不成功。不知道怎么配置。能提供下例子吗?多谢。
作者:
wycrow
时间:
2020-1-17 14:20
不懂什么是中转什么是落地
思路就是用ws+tls过墙 国内随便了 socks5就行
作者:
PA-fan
时间:
2020-1-17 14:21
看原版文档,白话文这部分写得比较简略,
作者:
acejava
时间:
2020-1-17 14:21
我现在中转机这样配有错嘛。各位看看呢。
{
"log" : {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 10937,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "1dac6f6c-bd9c-41da-93c2-1de7f5de5b86",//中转机ID
"level": 1,
"alterId": 32
}
]
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxx.xxx.xxx.xxx",//落地机IP
"port": 10937,
"users": [
{"id": "ebfa47cc-781e-425b-8a49-de986c6cff25"}
]
}
]
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "block"
},
{
"protocol": "freedom",
"tag": "direct",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"strategy": "rules",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "block"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"geoip:cn"
]
"outboundTag": "direct"
}
]
}
}
作者:
suantong
时间:
2020-1-17 14:21
耐心电,很简单的。无非就是json结构了大了点。
v2ray应该把inbound,outbound,routing分成多个配置,现在一坨在哪儿,看着吓人
作者:
plyu007
时间:
2020-1-17 14:42
中转机直接转发就行了,简单
欢迎光临 全球主机交流论坛 (https://52.ht/)
Powered by Discuz! X3.4