I'm new here, hello everyone
I've got a question relating to VPN. There seem to be many threads asking how to setup iptables to allow traffic through VPN but I could not find one asking my question.
I often connect to open wireless access points at airports etc. I have an iptables firewall setup on my netbook and connect using OpenVPN. I also have a VPN connection on my Android phone for similar reasons.
What I would like, particularly on the phone is to prevent applications from connecting to the internet other than via the VPN server. In this way, if I become disconnected from the VPN (or I become disconnected from wireless and then reconnected without VPN) my private data will not be sent over an unsecured wireless network.
So is this possible with an iptables rule or similar?