I'd like to ensure that my VPN is started and running, before any TCP traffic from any of my background services send or receive data.  How can I guarantee that this is the case?  How do I handle the special case where I connect to a Wifi access point (in Starbucks) that requires me to press I Agree prior to continuing my session?
How do I ensure outbound TCP/IP traffic always uses a VPN, even when using Wifi?
security;scripting;tcp;wifi;vpn