leaf
leaf copied to clipboard
auto-tun need an API to start and stop TUN mode
For two usage
- Not all use case need to enable TUN, sometimes only want to set system proxy
- On macOS, when the system wake from sleep, the tun device will lose, we need to config TUN again