• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Squid Reverse Proxy without SSL Offloading

Scheduled Pinned Locked Moved Cache/Proxy
2 Posts 1 Posters 2.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    ajnozari
    last edited by Jun 19, 2016, 2:00 AM

    HI first post so I apologize if it's in the wrong spot.  Also new keyboard so sorry for typo's.

    I currently have a pfSense firewall setup for a small organization that uses exchange.  I successfully setup squid reverse proxy for exchange and their website, but I noticed that if we tell apache to redirect from http->https it creates a redirect loop.  After much searching I realized that this is due to the SSL Termination/offloading/acceleration/any name you want.  Since we are using a wildcard cert and since everyything is running on the same domain how can I go about disabling the ssl offloading so that the web/exchange server deals with it instead.

    Basically the current way is https->WAN->Squid->HTTP->web/exchange.  How can I configure this to be the following https->WAN->Squid->HTTPS->web/exchange?

    I am not against changing the proxy that I use to get this done (squid3, haproxy, apache, nginx) I just want it done right so that SSL isn't intercepted by the reverse proxy.  I understand that the idea is to offload the ssl so that the cpu isn't hit that hard but me (and the people who pay me) are ok with having to buy more servers (and more powerful ones if necessary in the future) to make sure this portion works.

    I know from this site: https://blog.cortanadesign.com.au/2014/01/31/outlook-rpchttp-impossible-with-apache-reverse-proxy/ that you can use squid for exchange and something like apache for everything else, but how do I go about doing this in pfSense?  I know that I can set advanced ACL options, but IDK which box to use or if this is even possible with the pfSense package version.

    Thank you in advanced for your help,

    Andre

    p.s. any additional information will gladly be given upon request.

    1 Reply Last reply Reply Quote 0
    • A
      ajnozari
      last edited by Jun 23, 2016, 9:21 PM

      As a reply to this in case people in the future are looking, I ended up going with HAProxy.  Not only was the setup 10x easier than squid, but it works with SNI so there's end to end encryption.  The ONLY downside is that clients who don't support SNI will need to be dealt with somehow, but I'm not sure what HAProxy does for them.  At some point in the future I will be testing this so if mods could leave this open for a bit longer so I can report that bit of information (or a solution for those users).

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received