Replies: 1 comment 5 replies
-
如果你不把主路由和fakeip网关的拓扑分开的话,那么就是传统的all in one方案了,跟openclash之类没啥区别。 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
感谢大佬提供了这么好的分流思路,目前没用paopao的方案,自己在esxi下用主路由op+clash vm/sb vm,实现了fakeip网关,体验非常棒。
但是目前的方案得用2个vm,能否在主路由op中跑mihomo core或者sb core,tun模式关闭auto-router,静态路由转发到fakeip到tun ip段呢?比如fakeip段为198.18.0.1/16,sing-box入站tun配置为
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"inet4_address": "172.18.0.1/30",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "system",
"sniff": true,
"sniff_override_destination": false
}
试了一下,sing-box跑在主路由op上,dns的入站是正常的,客户端也能正常的收到fakeip,但是添加静态路由转发fakeip段到tun ip 172.18.0.1,sing-box面板里面看不到入站的连接。
问题:这种思路是否是可行的?
Beta Was this translation helpful? Give feedback.
All reactions