I want to set up a transparent HTTP/HTTPS proxy to filter outbound requests based on destination hostname (domain). The proxy itself should be non-intrusive and just forward traffic, not decrypt/modify it. In case of HTTPS it should use the TLS SNI extension to extract the hostname without decryption.
Multiple clients will use the proxy to access multiple hosts, therefore the proxy should look up whether a given destination hostname is allowed for the client that made the request.
Is this possible with squid (preferably version 3.3.8)? If so, could you provide a simple example configuration on how to realize it? If not, can you recommend alternatives which are able to do so?
Additional information:
- server which should run the proxy is an Ubuntu 14.04
- traffic redirection is covered by another router to a fixed port of that server
- proxy should use DNS as usual to resolve the destination hostname when forwarding requests
Many thanks!