Allow traffic for excluded route on Windows kill switch

This commit is contained in:
Mykola Baibuz 2023-10-24 22:21:10 +03:00
parent 3e9dea6f07
commit a6b6e7850d
2 changed files with 67 additions and 2 deletions

View file

@ -52,6 +52,9 @@ class WindowsFirewall final : public QObject {
bool blockTrafficOnPort(uint port, uint8_t weight, const QString& title);
bool allowTrafficTo(const QHostAddress& targetIP, uint port, int weight,
const QString& title, const QString& peer = QString());
bool allowTrafficToRange(const IPAddress& addr, uint8_t weight,
const QString& title,
const QString& peer);
bool allowTrafficOfAdapter(int networkAdapter, uint8_t weight,
const QString& title);
bool allowDHCPTraffic(uint8_t weight, const QString& title);