Squid reverse Proxy
-
Hi Guys,
I'm having trouble configuring Squid in Pfsense 2 as reverse proxy for HTTP and HTTPS.
My config:
peer definitions
publishing hostsSERVER03;192.168.1.5;80;HTTP
WSS;192.168.1.22;80;HTTP
WSS;192.168.1.22;443;HTTPSURI definitions
published URIsURI1;https://remote.xxxxx.com;WSS.xxxx.com
URI2;http://www.xxxx.nl;SERVER03.xxxxx.com
URI3;http://remote.xxxx;WSS.xxxx.comCL definitions
published URIsWSS;URI3
WSS2;URI1
SERVER03;URI2Neither 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
-
If you think It's package related, you can try haproxy instead of squid.
-
I don't think so to be honest.
I thinking of a configurion fault, but I dont know what. -
No one that could help me out here?
-
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;HTTPWEBAPP_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.netINTWEB_SSL;WEBAPP_SSL
INTWEB;WEBAPP