Disable global split tunneling if a non-default route exists in the Wireguard configuration
This commit is contained in:
parent
195bdb947e
commit
b0dcae3586
5 changed files with 31 additions and 20 deletions
|
|
@ -87,7 +87,7 @@ open class OpenVpn : Protocol() {
|
|||
addRoute(InetNetwork("0.0.0.0", 0))
|
||||
addRoute(InetNetwork("::", 0))
|
||||
}
|
||||
configSplitTunnel(config)
|
||||
configSplitTunneling(config)
|
||||
}
|
||||
|
||||
scope.launch {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue