Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the recent rise in awareness of HTTP session hijacking, surfing the internet on a public wireless network has become quite perilous. At my university, the wireless network is totally open --- no encryption at all. Students are encouraged to use VPN, but VPN disconnects when I shut my laptop's lid, and requires a password to reconnect.

Sometimes I don't remember to connect to VPN, and even when I do, I fear that open Facebook/Twitter/other tabs might silently make requests in the background, giving away my sessions before I have a chance to connect.

On Snow Leopard, how can I block any traffic from being transmitted over my wireless card until I am connected to VPN?

My school uses Cisco VPN client, if it matters.

share|improve this question
up vote 1 down vote accepted

I hacked something together using locationchanger and ipfw that I am calling OnlyVPN. You would need to fiddle with the firewall rules as I use OpenVPN and not cisco but this might be a good start

share|improve this answer

I found this guy's tutorial the most helpful. He provides a set of rules for adding to Waterroof.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.