Server Fault is a question and answer site for system and network administrators. 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

The Squid at my office is currently set up as a transparent proxy. I tried to block sites like and and was successful because just typing in those domains do not default to the https site. However if a user were to manually enter in, they would bypass my filter.

I have read some suggestions on the net that say to block all SSL (443) traffic but that would block gmail (which does default to https) which is not my intention. Looking for ways around this. Thanks.

share|improve this question
The above problem is just for a proof-of-concept test. However, in the future, this would be deployed on a plane where the passengers have internet access via wifi. Due to the low bandwidth of the satellite link, we have to limit their traffic (i.e. no youtube via https). New passengers will be coming and going everyday as well as having multiple devices. – Praveen Dec 6 '12 at 2:48
up vote 2 down vote accepted

Set up SSL Bump and dynamic SSL certificates, and be sure to add your new CA to your users' web browsers.

share|improve this answer
Hi Michael, very helpful. Just wrote a bit more information in my question above. Would the SSL Bump/Squid-in-the-middle be suitable for this kind of application (i.e. new clients every day) or is this more for predetermined number of clients (e.g. office staff which don't change very often)? – Praveen Dec 6 '12 at 2:51
This is really only suitable for an environment where you have complete control over all the computers, e.g. a business office. Don't even think of doing this to random people on an airplane. – Michael Hampton Dec 6 '12 at 2:55
Sorry just to clarify, when you say don't think of doing this, do you mean it can't be done or we shouldn't be doing this because of privacy and security concerns? Personally I wouldn't want to do it this way but that is not my decision to make in this regard. – Praveen Dec 6 '12 at 3:08
Yes, the concerns are privacy, security, and legal. Not only will users know that something suspicious is going on (since they will get certificate warnings for every site) this is illegal in some jurisdictions. – Michael Hampton Dec 6 '12 at 3:10

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.