I had a few bad attempts, like missing /dev/net/tun device, etc, that showed me, that the traffic through proxy will still be routed even if VPN is not up (using ordinary LAN connection). And that's quite a large security gap - browser connected through proxy have no way to show if VPN is actually up (unless you explicitly go & check your ip).
Is it possible to add an option to stop proxy if VPN is not up?
I had a few bad attempts, like missing /dev/net/tun device, etc, that showed me, that the traffic through proxy will still be routed even if VPN is not up (using ordinary LAN connection). And that's quite a large security gap - browser connected through proxy have no way to show if VPN is actually up (unless you explicitly go & check your ip).
Is it possible to add an option to stop proxy if VPN is not up?