是否有可能增加根据ip类型的路由功能 #1126
NinjaUmbra
started this conversation in
Ideas
Replies: 1 comment
-
"routing": { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
提出此设想的背景: 服务端为纯ipv6或纯ipv4 通过warp he tunnel 等方式通过建立虚拟网卡获取服务端双栈连接能力.
Inbound中设置两个入站:
{
"tag":"IP6-out",
"protocol": "freedom",
"sendThrough": "[IPv6地址]",
"settings": {}
},
{
"tag":"IP4-out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
}
}
当前域名分流可以通过dns解析来判断ipv4 ipv6
但是当入站目标为纯ip类型的时候 如 telegram 这时候就会无法命中规则走默认outbound 这样会导致总有一个类型的ip地址无法连接,
当前的ip字段仅提供了按照国家分流的情况,是否以后有可能添加根据ip_version(根据maxmind数据库格式)来进行路由选择的可能
Beta Was this translation helpful? Give feedback.
All reactions