Disable global split tunneling if a non-default route exists in the Wireguard configuration

This commit is contained in:
albexk 2023-12-12 22:48:18 +03:00
parent 195bdb947e
commit b0dcae3586
5 changed files with 31 additions and 20 deletions

View file

@ -87,7 +87,7 @@ open class OpenVpn : Protocol() {
addRoute(InetNetwork("0.0.0.0", 0))
addRoute(InetNetwork("::", 0))
}
configSplitTunnel(config)
configSplitTunneling(config)
}
scope.launch {