Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

The FBI issued a warning regarding hotel Wi-Fi access points, and any other public access point.

I'd like to make sure my apple device always uses a VPN when using Wi-Fi. That way even if an attacker were to see my data, they would only see an encrypted jumble of bits. Note that this hack can also be applied to HTTPS connections.

How do I ensure that OSX automatically uses a VPN when using Wi-Fi?

share|improve this question
Are you asking how to automatically start a VPN session when you connect to a wifi access point? You should clarify this. – zwerdlds Apr 26 at 15:21

1 Answer

You can not. VPN requires an open Wi-Fi connection to be build before it can reach out over that open Wi-Fi connection to secure itself.

In other words, you have asked how to only drive on a freeway from your garage without using the driveway or surface streets. Once you're on the freeway, you can stay on it and not get off, but you need the streets to get there in the first place.

On a practical level, you can set your Wi-Fi to never save a joined network or meticulously set then to never Auto-Join so you have control over each and every untrusted Wi-Fi connection and can ensure no apps are broadcasting before the VPN tunnel is established.

share|improve this answer
3  
I believe the OP is asking how to automatically connect to a VPN after joining a (public) wifi. – Gerry Oct 4 '12 at 15:28
@Gerry Let's see - you can always try editing the question into shape to sharpen it (or answer based on that assumption) - Part of this process is the community shaping things. I thought it was a "i know what I want and it's X" but I could easily be wrong or mistaken. – bmike Oct 4 '12 at 15:31

Your Answer

 
discard

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.