Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic
C ccybersecurityhttp3httpproxylinuxlinux-proxymacosmacos-appmacos-proxyproxifierproxifier-alternativeproxyclienttcpthick-clientudpwindivertwindows
fixed rule keep old state in GUI
Sourav Kalal306ba9b3b8ba
diff --git a/gui/ViewModels/ProxyRulesViewModel.cs b/gui/ViewModels/ProxyRulesViewModel.csindex e2cf924..3785208 100644--- a/gui/ViewModels/ProxyRulesViewModel.cs+++ b/gui/ViewModels/ProxyRulesViewModel.cs@@ -93,6 +93,12 @@ public class ProxyRulesViewModel : ViewModelBaseAddRuleCommand = new RelayCommand(() =>{+ NewProcessName = "*";+ NewTargetHosts = "*";+ NewTargetPorts = "*";+ NewProtocol = "TCP";+ NewProxyAction = "PROXY";+ ProcessNameError = "";IsAddRuleViewOpen = true;});@@ -145,6 +151,8 @@ public class ProxyRulesViewModel : ViewModelBase_onAddRule?.Invoke(newRule);+ IsAddRuleViewOpen = false;+// Reset to defaultsNewProcessName = "*";NewTargetHosts = "*";@@ -152,7 +160,6 @@ public class ProxyRulesViewModel : ViewModelBaseNewProtocol = "TCP";NewProxyAction = "PROXY";ProcessNameError = "";- IsAddRuleViewOpen = false;}); CancelAddRuleCommand = new RelayCommand(() =>{NewProcessName = "*";