Reverse Proxy whith SQUID3 (or whatever)
-
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.htmlReverse Proxy, General
http://www.subeimagenes.com/img/reverse-proxy-general-settings-1465448.htmlWEb Servers
http://www.subeimagenes.com/img/web-servers-1465449.htmlMappings
http://www.subeimagenes.com/img/mappings-1465451.htmlMapping 1 config
http://www.subeimagenes.com/img/mapping-1-1465453.htmlMapping 1 config
http://www.subeimagenes.com/img/mapping-2-1465456.htmlFirewall Rule, NO NAT, only accept 80 port
http://www.subeimagenes.com/img/regla-de-firewall-1465491.html -
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?
-
Have you tried with haproxy ? You will find it on package manager.