You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multi interface, the proxy use private ip like 10.1.1.1, I have an tun interface 10.1.1.0/24, the interface name is dynamic (macOS can not set tun name), when I use 10.1.1.1 for mihomo proxy upsteam, mihomo will use dialer.DefaultInterface, this is the default interface like en0, but this interface can not handle 10.1.1.1.
I hope maybe there is a preprocess for proxies, which use NetworkUpdateMonitor to choose the right interface-name. e.g.
# this is the work around for onetime config update.interface-name: &interface-name utun6.server: &server 10.1.1.1proxies:
- name: socksserver: *server# interface-name: *interface-nameinterface-name: autoport: 1080<<: *socks
when interface-name: auto, the preprocessor will replace the interface name which match server, e.g. utun6 in this case.