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

Reverse Proxy whith SQUID3 (or whatever)

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 3 Posters 1.2k 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.
  • L Offline
    larrysys
    last edited by Oct 5, 2015, 11:53 PM

    Hello everyone, I hope you can help me with a lab that I am doing to implement a reverse proxy with squid3 (or whatever).

    I Set up two WAMP servers behind the pfSense and want to reach for different domain names to publish these various sites by the same IP. No NAT.

    I hope to explain myself better with pictures of my diagram tests, to publish it in Spanish. An apology for if something does not sound consistent, I use google translator.
    postscript: I Remove the restriction defaul firewall to allow ip addresses class A, B, C for the WAN interface. If only I put fordward port works, but I need de qualities of a reverse proxy.
    Thank you very much to all.  :)

    Network Diagram of my lab
    http://www.subeimagenes.com/img/diagrama-de-red-laboratorio-1465442.html

    Reverse Proxy, General
    http://www.subeimagenes.com/img/reverse-proxy-general-settings-1465448.html

    WEb Servers
    http://www.subeimagenes.com/img/web-servers-1465449.html

    Mappings
    http://www.subeimagenes.com/img/mappings-1465451.html

    Mapping 1 config
    http://www.subeimagenes.com/img/mapping-1-1465453.html

    Mapping 1 config
    http://www.subeimagenes.com/img/mapping-2-1465456.html

    Firewall Rule, NO NAT, only accept 80 port
    http://www.subeimagenes.com/img/regla-de-firewall-1465491.html

    1 Reply Last reply Reply Quote 0
    • C Offline
      chris4916
      last edited by Oct 6, 2015, 5:14 AM Oct 6, 2015, 4:57 AM

      Sorry, I didn't read yet links you provided but, to me, reverse proxy is better achieved relying on web server like mechanism rather than Squid mechanism.
      Reason, as far as I understand, is that Apache, Nginx or similar solution will offer more flexibility in term of URL rewriting and control and, furthermore, is will avoid to expose to internet your Squid proxy.

      This said, I'm going to look at your design details  ;D

      EDIT: now that I've looked at your design, could you please explain more in detail what doesn't work? This is not clear to me. What is the behaviour when you try to reach URL exposed by Squid?

      Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

      1 Reply Last reply Reply Quote 0
      • S Offline
        sisko212
        last edited by Oct 6, 2015, 3:37 PM

        Have you tried with haproxy ? You will find it on package manager.

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