Yes, I did it ! my goal is: to make a killswitch from kaspersky firle, so when I am not connected to vpn, my other programs can not connect to internet. so: I defined my vpn connection in kaspersky networks as trusted then I made my application (for example firefox) in kaspersky application control to connect to internet only through trusted networks but then it does not connect at all! problem is mentioned here: https://forum.kaspersky.com/index.php?/topic/339484-close-application-if-vpn-fails/&tab=comments#comment-2512071