Windows OpenVPN/OpenVPN+Cloak killswitch feature

This commit is contained in:
Mykola Baibuz 2023-11-29 22:50:36 +02:00
parent dd233f77fc
commit c3fdd977b1
5 changed files with 105 additions and 8 deletions

View file

@ -1,5 +1,7 @@
#include <QtCore>
#include <QString>
#include <QJsonObject>
#include "../client/daemon/interfaceconfig.h"
class IpcInterface
{
@ -22,5 +24,8 @@ class IpcInterface
SLOT( bool copyWireguardConfig(const QString &sourcePath) );
SLOT( bool isWireguardRunning() );
SLOT( bool isWireguardConfigExists(const QString &configPath) );
SLOT( bool enableKillSwitch(int vpnAdapterIndex) );
SLOT( bool disableKillSwitch() );
SLOT( bool enablePeerTraffic(const QJsonObject &configStr));
};