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

    [SOLVED] Squid 3 Package - Reverse proxy

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 3.0k 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
      MarkHowells
      last edited by

      I have installed the Squid3 package (3.1.20 pkg 2.0.6) onto pfsense 2.1-RELEASE (amd64) in order to make some internally hosted services available.  As this is a test setup, it's not connected to a WAN yet - so I have a LAN port that I'm (trying) to bind squid to, so that I can test totally within my LAN.

      I only need the ReverseProxy functionality (I think).

      Firstly, how do I tell the reverse proxy to bind to port 80? or does it use the same port as the regular proxy (default:3129)?

      I'm also confused aboout what I need to do to set the thing up.  What I'm trying to implement is the equivalent of an apache2 ProxyPass directive

      ProxyPass /some/url http://10.0.0.118/otherurl
      

      Do I need to define Webservers, Mappings and Redirects? And does Redirect mean browser redirect or ProxyPass (browser transparent) redirect?

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

        You need first to disable web gui redirect option on system-> advanced. Then try to follow reverse proxy menu options.

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

        Help a community developer! ;D

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

          @marcelloc:

          You need first to disable web gui redirect option on system-> advanced. Then try to follow reverse proxy menu options.

          Disabling the gui redirect helped - thanks. I now have the reverse proxy working, bit I didn't realize that to get the reverse proxy working I had to enable Reverse HTTP mode and bind onto port 80. I thought Reverse HTTP was for creating connections (reversing HTTP roles) not reverse proxying…

          Marked as solved. Thx

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