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

    Squid reverse Proxy

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 3.8k 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.
    • M
      Modivion
      last edited by

      Hi Guys,

      I'm having trouble configuring Squid in Pfsense 2 as reverse proxy for HTTP and HTTPS.

      My config:

      peer definitions
      publishing hosts

      SERVER03;192.168.1.5;80;HTTP
      WSS;192.168.1.22;80;HTTP
      WSS;192.168.1.22;443;HTTPS

      URI definitions
      published URIs

      URI1;https://remote.xxxxx.com;WSS.xxxx.com
      URI2;http://www.xxxx.nl;SERVER03.xxxxx.com
      URI3;http://remote.xxxx;WSS.xxxx.com

      CL definitions
      published URIs

      WSS;URI3
      WSS2;URI1
      SERVER03;URI2

      Neither HTTP or HTTPS is working.

      The following error was encountered:
      • Unable to forward this request at this time.

      This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
      •The cache administrator does not allow this cache to make direct connections to origin servers, and
      •All configured parent caches are currently unreachable.

      Any tips are welcome.

      Modivion

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        If you think It's package related, you can try haproxy instead of squid.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • M
          Modivion
          last edited by

          I don't think so to be honest.
          I thinking of a configurion fault, but I dont know what.

          1 Reply Last reply Reply Quote 0
          • M
            Modivion
            last edited by

            No one that could help me out here?

            1 Reply Last reply Reply Quote 0
            • T
              trendchiller
              last edited by

              this one here's working…
              perhaps you can have a look...

              INTWEB_SSL;192.168.10.20;443;HTTPS
              INTWEB;192.168.10.20;80;HTTP

              WEBAPP_SSL;faq;https://ext.host.net
              WEBAPP_SSL;gallery;https://ext.host.net
              WEBAPP_SSL;kplaylist;https://ext.host.net
              WEBAPP_SSL;filez;https://ext.host.net
              WEBAPP_SSL;piwik;https://ext.host.net
              WEBAPP;faq;http://ext.host.net
              WEBAPP;gallery;http://ext.host.net
              WEBAPP;kplaylist;http://ext.host.net
              WEBAPP;piwik;http://ext.host.net

              INTWEB_SSL;WEBAPP_SSL
              INTWEB;WEBAPP

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.