I'm running Linux Mint 18. I use ufw and openvpn. I want to know if it is at all possible to create a VPN killswitch that doesn't require me to shut off my firewall if I want to stream movies from sites like Netflix. I know how to set up a basic killswitch that kills my connection if tun0 is disconnected.
I really only need my VPN for traffic on Firefox and Transmission. I use Chrome purely for streaming services and don't go to any strange websites on it. Is there any way to configure my firewall or openVPN to allow traffic on Chrome when my VPN is disconnected? Or, better yet, is there any way to route specific applications around my VPN connection?
Can UFW route your traffic via different ports depending wether you wanted it VPNd or not?