We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2Ray 5.16.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.22.2 windows/amd64)
我现在有两个4G网卡,插在服务器上,服务器IP地址 192.168.1.34,两块4G网卡的内网IP是 192.168.0.100 192.168.5.100 我现在想再192.168.1.34上配置代理服务器,开两个端口1080,1081 我本机电脑192.168.1.84可以通过1080,固定走4G网卡的192.168.0.100 出局 我本机电脑192.168.1.84可以通过1081,固定走4G网卡的192.168.5.100 出局 我要求固定线路,但是目前测试下来无法固定线路,1080和1081都是走的一个4G网卡出局的,我的配置文件如下,是否有解决方案
服务端配置:
// 在这里附上服务器端配置文件
{ "log": { "loglevel": "debug", "access": "access.log", "error": "error.log" }, "inbounds": [ { "port": 1080, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "ip": "0.0.0.0" }, "tag": "socks1080" }, { "port": 1081, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "ip": "0.0.0.0" }, "tag": "socks1081" } ], "outbounds": [ { "protocol": "freedom", "settings": { "virtual_interface": "Remote NDIS based Internet Sharing Device" // 替换为您的虚拟网卡名称 }, "tag": "out1" }, { "protocol": "freedom", "settings": { "interface": "Remote NDIS based Internet Sharing Device #6" // 替换为您的第二个 4G 网卡名称 }, "tag": "out2" } ], "routing": { "rules": [ { "type": "field", "inboundTag": ["socks1080"], "outboundTag": "out1" }, { "type": "field", "inboundTag": ["socks1081"], "outboundTag": "out2" } ] }, "dns": { "servers": [ "8.8.8.8", "8.8.4.4", "114.114.114.114", "1.1.1.1" ] } }
客户端配置:
// 在这里附上客户端配置
服务器端错误日志:
// 在这里附上服务器端日志
客户端错误日志:
// 在这里附上客户端日志
--test
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你正在使用哪个版本的 V2Ray?
V2Ray 5.16.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.22.2 windows/amd64)
你的使用场景是什么?
我现在有两个4G网卡,插在服务器上,服务器IP地址 192.168.1.34,两块4G网卡的内网IP是 192.168.0.100 192.168.5.100
我现在想再192.168.1.34上配置代理服务器,开两个端口1080,1081
我本机电脑192.168.1.84可以通过1080,固定走4G网卡的192.168.0.100 出局
我本机电脑192.168.1.84可以通过1081,固定走4G网卡的192.168.5.100 出局
我要求固定线路,但是目前测试下来无法固定线路,1080和1081都是走的一个4G网卡出局的,我的配置文件如下,是否有解决方案
你看到的异常现象是什么?
你期待看到的正常表现是怎样的?
请附上你的配置
服务端配置:
// 在这里附上服务器端配置文件
{
"log": {
"loglevel": "debug",
"access": "access.log",
"error": "error.log"
},
"inbounds": [
{
"port": 1080,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "0.0.0.0"
},
"tag": "socks1080"
},
{
"port": 1081,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "0.0.0.0"
},
"tag": "socks1081"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"virtual_interface": "Remote NDIS based Internet Sharing Device" // 替换为您的虚拟网卡名称
},
"tag": "out1"
},
{
"protocol": "freedom",
"settings": {
"interface": "Remote NDIS based Internet Sharing Device #6" // 替换为您的第二个 4G 网卡名称
},
"tag": "out2"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": ["socks1080"],
"outboundTag": "out1"
},
{
"type": "field",
"inboundTag": ["socks1081"],
"outboundTag": "out2"
}
]
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"114.114.114.114",
"1.1.1.1"
]
}
}
客户端配置:
// 在这里附上客户端配置
请附上出错时软件输出的错误日志
服务器端错误日志:
// 在这里附上服务器端日志
客户端错误日志:
// 在这里附上客户端日志
请附上访问日志
// 在这里附上服务器端日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上
--test
命令的输出如果 V2Ray 服务运行异常,请附上 journal 日志
The text was updated successfully, but these errors were encountered: