我的server目前有5个IP,我也注册了5个域名,使用WS+TLS,V2RAY可启动,多域名也可以连接上去了,虽然是入口是不同IP,但是出口固定出来一个IP。可以做到同一入口IP和出口IP吗?例如:入口IP 1.1.1.1,出口是1.1.1.1,入口2.2.2.2,出口2.2.2.2。可以提供config.json的模板吗?谢谢
"inbounds": [
{
"tag": "in-01
"listen: "1.1.1.1",
...
},
{
"tag": "in-02
"listen: "2.2.2.2",
...
},
{
"tag": "in-03
"listen: "3.3.3.3",
...
},
...
],
"routing": [
"rules": [
{
"type": "field",
"inboundTag": "in-01",
"outboundTag": "out-01"
},
{
"type": "field",
"inboundTag": "in-02",
"outboundTag": "out-02"
},
{
"type": "field",
"inboundTag": "in-03",
"outboundTag": "out-03"
},
...
]
],
"outbounds": [
{
"tag": "out-01",
"sendThrough": "1.1.1.1",
...
},
{
"tag": "out-02",
"sendThrough": "2.2.2.2",
...
},
{
"tag": "out-03",
"sendThrough": "3.3.3.3",
...
},
...
]
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
Most helpful comment