I have been use vpnReachability check network switch, but this issue will occur occasionally, the VPN not connect. need close VPN and again start, it can work normally.
vpnReachability.startTracking { [weak self] status in
guard status != .notReachable else { return }
self?.vpnAdapter.reconnect(interval: 5)
}