Disable split tunnel for MacOS IPSec
This commit is contained in:
parent
8c94f70edf
commit
898f497f8e
1 changed files with 0 additions and 6 deletions
|
|
@ -371,12 +371,6 @@ void Ikev2Protocol::handleNotificationImpl(int status)
|
||||||
IpcClient::Interface()->enableKillSwitch(m_config, 0);
|
IpcClient::Interface()->enableKillSwitch(m_config, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_config.value(amnezia::config_key::splitTunnelType).toInt() == 0) {
|
|
||||||
IpcClient::Interface()->routeAddList(m_vpnGateway, QStringList() << "0.0.0.0/1");
|
|
||||||
IpcClient::Interface()->routeAddList(m_vpnGateway, QStringList() << "128.0.0.0/1");
|
|
||||||
IpcClient::Interface()->routeAddList(m_routeGateway, QStringList() << m_config.value(amnezia::config_key::hostName).toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
setConnectionState(Vpn::ConnectionState::Connected);
|
setConnectionState(Vpn::ConnectionState::Connected);
|
||||||
}
|
}
|
||||||
else if (status == NEVPNStatusReasserting)
|
else if (status == NEVPNStatusReasserting)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue