My set up:
Headless Ubuntu server 12.04 in a virtualbox, deluge and openVPN. The problem is that if the VPN goes down deluge will continue over my normal connection, this should not be possible.
I would like to create rules that deluge can only send send and receive traffic when the interface that openVPN uses is up. Have been looking for days for a solution and even took a small iptables course and I still don't get it :-)
very grateful for help!