[Feature] support auto interface-name detection for proxies when dialing over vpn #1881
Closed
2 of 3 tasks
Labels
enhancement
New feature or request
验证步骤
描述
I have multi interface, the proxy use private ip like
10.1.1.1
, I have an tun interface10.1.1.0/24
, the interface name is dynamic (macOS can not set tun name), when I use10.1.1.1
for mihomo proxy upsteam, mihomo will usedialer.DefaultInterface
, this is the default interface likeen0
, but this interface can not handle10.1.1.1
.I hope maybe there is a preprocess for proxies, which use
NetworkUpdateMonitor
to choose the right interface-name. e.g.when
interface-name: auto
, the preprocessor will replace the interface name which matchserver
, e.g.utun6
in this case.The text was updated successfully, but these errors were encountered: