Reverse Proxy For Server-A Through Server-B Using Squid

Jun 10, 2007

Is it possible to implement reverse proxy for Sever-A through Sever-B.

The issue is let's say, Server-A is located in Network-A, and the Sever-B is located in Network-B. And the users in Network-B are allowed to access only to Sever-B while the Sever-B itself can access to Server-A. So, when the users from Network-B access to Sever-B, the traffic will be proxied through Sever-B to Server-A transparently without letting the users notice about how's the traffics go. The Server-B will be linux, thus squid is the primary proxy application to deal with. Is it possible to do with squid or it needs some other application?

How about a comparison of mod_proxy for apache vs. squid as all Sever-B should do is forward the requests coming from Network-B to forward to Sever-A and acting as a middle box between the two network scopes transparently. All the users in Network-B should do is accessing the Sever-B and the requests will be transparently going to Server-A without any configuration is done at their browser or any kind of NAT/Firewall rules on either of the networks.

View 1 Replies


ADVERTISEMENT

Reverse Proxy Server

Oct 3, 2009

a simple reverse proxy server but with good re-write rules engine.

View 5 Replies View Related

Reverse Proxy - Protect A Web Server

May 31, 2008

Background (so you know what I am planning)

I will be storing personal customer information in mysql, so security is driving all my requirements. I was thinking the architecture will be :-a dedicated web server within a DMZ and placed behind a firewall and border router.

a dedicated database server inside the internal network behind another firewall,
All running Linux

building out and management of the servers to be done by hosting provider or third party
Please feel free to comment on this setup.

QuestionsIs a reverse proxy a benefit for security.

Am I right in saying that a reverse proxy hides the OS and server details from prying eyes and provides another layer of security

if a reverse proxy server is a benefit, is it normally the default architecture at most reputable hosts.

View 0 Replies View Related

Apache :: Reverse Proxy Modules - Error Reading Status Line From Remote Server

Oct 17, 2013

We have been using Apache 2.2.x with reverse proxy modules for our clients to access their OWA servers for over a year. I want to get us to Apache 2.4.x so I setup a test box with latest 2.4 on it. I fixed the config file issues since 2.4 has changes in it. OWA proxy is working on my test server with Apache 2.4. But with 2.4 I do have an issue I cannot figure out. Note that this does NOT occur with Apache 2.2. I get the following errors when using ActiveSync through reverse proxy:

[Thu Oct 17 12:19:11.670665 2013] [proxy_http:error] [pid 748:tid 8440] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client x.x.x.x:20311] AH01102: error reading status line from remote server mail.nameredacted.net:443
[Thu Oct 17 12:19:11.670665 2013] [proxy:error] [pid 748:tid 8440] [client x.x.x.x:20311] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync

So somehow with Apache 2.4 there is some sort of timeout that was not there with 2.2.

View 2 Replies View Related

Squid Proxy

Jul 27, 2007

I'm trying to set up a caching squid server to speed up website access. How can I selectively choose to cache certain PHP scripts while ignoring others? I can't seem to get it to work. I've commented out the following lines:

#acl QUERY urlpath_regex cgi-bin?
#no_cache deny QUERY

Yet in the squid/access.log file, I'm still seeing these:

Code:
1185561374.207 47 192.168.1.101 TCP_MISS/200 22267 GET http://www.mysite.com/? - DIRECT/192.168.1.108 text/html

View 1 Replies View Related

SQUID Proxy Config

May 21, 2009

i need help regarding my squid proxy when i go to this site. whatismyip.com i have this result

Your IP Address Is: 119.95.IP.IP
Other IPs Detected: 67.IP.IP.185
Possible Proxy Detected: 1.1 67.IP.IP.185ORT (squid/2.6.STABLE21)

how can i completly hide my ip via squid? this squid is running on my dedicated server,

View 2 Replies View Related

IP Address And Squid Proxy Configuration

May 5, 2009

i successfully installed Squid Proxy on my other Dedicated server however that dedicated server had 50 ip address, i am wondering if i can use those ip address for my Squid Proxy?

View 5 Replies View Related

Count Network Traffic With Squid Proxy

Jun 25, 2009

I want to count the traffic for every IP passed through squid proxy server.

Is it possible to record the traffic numbers for every IP in external .txt file

It would be better if it can write outgoing and ingoing traffic.

View 7 Replies View Related

Reverse Proxy

May 26, 2009

if my main site hosted in usa and reverse proxy server located in UK or Canada. will my site load still quickly or be slow dramtically? both use linux and apache. or canada user will quickly load my site or still slow? how about usa customers?

View 5 Replies View Related

Vps Reverse Proxy

Jun 7, 2009

Is possible to config a reverse proxy to connect with the website(hosting at bluehost) in VPS?

View 3 Replies View Related

Reverse Proxy To What

Apr 30, 2007

I researched a few options and have come to this conclusion use Ultramonkey (LVS + HA Proxy) -> apache2 mod_php/ mod_python (serve php / python)
-> lighttpd (serve static files)
-> mongrel (ruby server)

View 1 Replies View Related

Reverse Proxy And SQL Injection

Jun 30, 2009

Does deploying a reverse proxy in front of the web/db server reduce the threat of SQL injection?

Emphasis on 'reduce' the threat - or does it provide no help at all?

View 3 Replies View Related

Apache2 Reverse Proxy

Apr 26, 2009

I have a mobile email application (for Zimbra) that is not compatible with HTTPS, only with HTTP.

Is it possible to configure a Reverse Proxy so I can bypass the SSL? Something like this:

[url]<-> REVERSE PROXY <-> [url]

I was able to configure a Reverse Proxy but when it comes to https, something does wrong! here is my vhost config:

Quote:

NameVirtualHost mail.domain.com:*

<VirtualHost *>
ServerName mail
ServerAlias mail.domain.com

ProxyPreserveHost On
ProxyVia full
SSLProxyEngine On
ProxyRequests On

<proxy *>
Order deny,allow
Allow from all
</proxy>

ProxyPass / https://mail.domain.com/
ProxyPassReverse / https://mail.domain.com/

</VirtualHost>

I have all mod_proxy modules (and its sub-mods) load. If this is possible to achieve, I think it's only a manner of configuration lamess.

Have someone configured anything like this before?

View 2 Replies View Related

Apache :: 2.4.6 - Reverse Proxy Cache

Nov 19, 2013

I have Apache 2.4.6 on a Windows Server 2008 (windows build from apachelounge). I want to use it as reverse proxy cache with mod_cache_disk.

My configuration is:

Code:

<IfModule cache_module>
<IfModule cache_disk_module>
CacheRoot C:/temp/cache
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 3

[Code] .....

Loading a page with ~150 files (most images and js files) i keep runing into "locked requests" that are not comeing back and block the whole page from finishing loading. The files differ every time.

I see this warnings in my error.log (looks like they are connected to the behauviour above).

Code:

[Tue Nov 19 20:38:10.890013 2013] [cache_disk:warn] [pid 216692:tid 15924] (OS 5)Access is denied. : [client x.x.x.x:58963] AH00699: rename tempfile to file failed: C:/temp/cache/aptmpcBQArf -> C:/temp/cache/H8Cta/9ha4U/Uhhhs/OlQfU/1Q.data,

[Code] .....

View 1 Replies View Related

Apache :: Reverse Proxy With Several Websites

Apr 22, 2014

I m trying to setup a reverse proxy with several site that will redirect the request into several internal server.I wanted to do that with several VirtualHost (like shown below). Unfortunatly whatever I type on my browser testsupport.xxxx.com or support2.xxxx.com I m redirected at the first of the config file (in the exemple http://10.253.12.41/.Is it the ServerName key that will redirect to the right proxypass ?

<VirtualHost *>
ServerName testsupport.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.12.41/
ProxyPassReverse / http://10.253.12.41/
</VirtualHost>

<VirtualHost *>
ServerName support2.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.11.31/
ProxyPassReverse / http://10.253.11.31/
</VirtualHost>

View 10 Replies View Related

Apache :: How To Force SSL On Reverse Proxy

Nov 23, 2014

We are struggling to configure our Apache reverse proxy (on WIN 2008) server to force https.

We have the cert installed on the proxy server, and it seems to be working but we are unable to force connections to https: and the site is still available via http:

How do you enforce https on the site?

reading read about the .htaccess file, virtual hosts but still having a hell of a time putting it all together

Internet -> SSL -> Apache 2.2 -> HTTP -> web app

View 2 Replies View Related

Apache :: 2 Kerberos SSO Through Reverse Proxy

Apr 24, 2014

I'm trying to do a setup of alfresco.It has two basic sites. [URL]. Both use kerberos authentication. Alfresco has SSO and share has not. Both sites are on the same server (its just one site but different subs)

I want to put this behind a reverse proxy to eliminate the servername:port combination.

When I put it in a normal config with ajp everything works fine for the share website. I can login without problems. Not so however for the alfresco website. I get a browser login request (not the alfresco one) when i enter my credentials he asks them again and again and then he ends on the regular login page of alfresco at which point everything works. The username I entered is displayed at this point. When I do not enter my credentials correct I do not reach the page.

If I remove the SSO from the alfresco website everything is normal (but i have to login)

View 3 Replies View Related

Apache :: Setting Up Reverse Proxy

Apr 6, 2015

I'm currently in the process of configuring a red hat linux server as a proxy server for a number of back end web servers. I set up reverse proxying to hide the web server url's, but I've run into a problem with the second web server, because some of the directory structures are identical on both servers.

View 2 Replies View Related

Apache :: Reverse Proxy Redirect

May 14, 2013

I am having a little trouble getting a reverse proxy redirect to work. I have a Linux server running Apache2. I have installed SABnzbd+, Sickbeard, Couchpotato & Headphones onto this device. I want to access SABnzbd+, Sickbeard, Couchpotato & Headphones from the outside world (via a DYNDNS name).

I know that I could just forward the ports through the router, but I don't want all the extra ports opened. I was told that I can have Apache to do a revers proxy, but I can't get it to work. I basically want to be able to do type myname.dyndns.org/sickbeard instead of typing in myname.dyndns.org:8081.

View 1 Replies View Related

Apache :: How To Use Reverse-proxy With Mod Rewrite

Nov 5, 2014

I am running a few different web servers on my home network and have found a way of binding each wb server (and any virtual hosts) to domain names and having a "central" web server rerouting a request to the appropriate server using reverse-proy. at the moment, this central web server is IIS (Windows Server 2008 R2) based and it works perfectly. I want to change the central server to an Apache based one.

As an example; I want the central server to see an incoming http request (e.g sub.domain.com) and reroute it using reverse-proxy to a different web server that wouldn't normaly be accessible from the Internet (e.g 192.168.1.122/index.html).

My question is how do you reverse-proxy to a different server on the LAN with mod_rewrite in Apache?

View 1 Replies View Related

Mod_security In A Reverse Proxy To A Secure Backend

Aug 3, 2007

Can mod_security perform a payload inspection in a secure reverse proxy?

The traffic to the reverse proxy is via https and is "reverse proxied" to a https backend portal.

View 2 Replies View Related

Apache :: Reverse Proxy - Some Parts Of App Not Working

Oct 12, 2012

I am trying to set up a reverse proxy to the application Surveillance Station on my Synology NAS. Altough the reverse proxy works ok for other apps like Webadmin, Download Station and such, parts of the Surveillance Station app do not work, particulary the Live View & Time Line.

From the logs, I suspect an authorisation problem (because of the 401), but I'm not sure. I have tried ProxyPreserveHost on, ProxyVia full, and some rewrite rules, but I'm not sure what I'm doing Direct access to the port of the app works (i.e. 83.xxx.x.xxx:9900), so i know it has something to do with the reverse proxy.

a snippet of my httpd-vhost.conf-user:

View 1 Replies View Related

Apache :: Reverse Proxy / Terminology Clarification?

Dec 13, 2013

I've been working with the Apache server (primary under CentOS, but some under Red Hat and on XAMPP stacks as well) and have been tasked with a project.

Periodically, we need to have our web sites down for maintenance - updates, backups, etc. What I've been told to do is find a way to have a 'front end' to our web sites so that, when they are down for maintenance, that then end-users will receive a message 'This site is down for maintenance till XX:XX AM/PM' or such.

Here are my questions:

- What would you call what I am trying to setup? The reading I've done implies that what I really want to setup is a reverse proxy server. Is that what I want to do?
- If it isn't a reverse proxy I want to set up, what do I want to setup?
- Of the different types of solutions available, What I could use for this? I've read about using Nginx in front of Apache, I've heard of Squid, I've heard about Tomcat.
- Is this a type of 'clustering/high availability' project I'm really looking at here? I've been hearing those terms thrown about as well.

In case it makes any kind of a difference, the Apache instances are pretty simple - PHP, MySQL and that's about it - not very involved (for now). I'm hoping that I can learn what/how to do this correctly and, when I'm ready to add more capabilities, that I'll be able to extrapolate out from there what I'd need to do.

View 2 Replies View Related

Apache :: Ubuntu Reverse Proxy To Jboss

Dec 4, 2013

Environment(home server/learning):

-1 Public IP
-Host Windows Server 2008 R2 AD/DNS/Hyper-V (server0)
+ VM Windows Server 2008 R2 Exchange 2010/IIS (server1)
+ VM Ubuntu server 13.11 Apache 2.4.6 with virtual hosts (server2)
+ VM Windows Server 2008 R2 Blackberry Enterprise Server running on a Jboss webserver (server3)
-All port 80,443 requests points Ubuntu server 13.11 (server2)

Within Apache 2.4.6 I have virtualhost where the setup are as followed

SomeWebsite:80
SomeOtherWebsite:80
Mail.server1.com:443 (internet <---> server2 reverse proxy:443 +CERT <---> 443+CERT server1)
Bes.dnsname.com:443 (internet <---> server2 reverse proxy:443 +CERT <---> 443+CERT server3)

The problem:

For learning purpose I am configuring a blackberry enterprise server(bes) on server3. It's a clean installation with only the needed applications to run a bes. Because I only have 1 public ip I am trying to reverse proxy this webservice two like server1. The bes webservice is configured to accept connections on port 443. So my first web.conf setup was similar to the setup I used for server1 but I noticed that the webpage was displayed but I couldn't interact with the page because it was a java application. So digging deeper into this i found that the webpage that bes provided me to use isn't the real application but more like a iframe setup.

Example:
BES Console address: https://server3.com/webconsole/login
Real address: https://server3.com/websconsole/app

Unfortunately after finding this and editing my web.conf to proxypass reverse to this real address I encountered a other problem. The bes webconsole works with session is and parameters

Example:
https://bes.server3.com/webconsole/app;jsessionid=2C10DDA521DB8408479AAD8F34255C7F? component=login.goToChangeLanguagePageLink&consoleSId=&page=Login&service=direct&session=T

Current httpd.conf for server3:

<VirtualHost *:80>
DocumentRoot /var/www/bes.server3.com
ServerName bes.server3.com
<Directory "/var/www/bes.server3.com">
allow from all
Options +Indexes
</Directory>

[code]....

View 1 Replies View Related

Apache :: Reverse Proxy With Memcached Backend?

Dec 21, 2012

Currently i am trying to install an Apache 2.4.3 as a caching reverse proxy. I would like to use memcached as my cache backend. I figured out there is a mod_socache_memcache, which from my understanding, should do exactly that(in combination with mod_cache_socache). So i compiled mod_cache_socache from trunk, loaded mod_cache, mod_cache_socache and mod_socache_memcache, but now i am stuck with the configuration. Here is what i tried:

LoadModule socache_memcache_module modules/mod_cache.so
LoadModule mod_cache_socache modules/mod_cache_socache.so
LoadModule socache_memcache_module modules/mod_socache_memcache.so

[code]....

where do i configure the path to my memcached instance? The reason for memcached as chaching backend, is that the machine is a windows machine, and from my understanding mod_cache_disk is not as efficient on a NTFS filesystem as it is on EXT3/4.

Another reason is, that later on there should be a possibility to put a second Reverse Proxy machine which shares the cache with the first one by using the same memcached instance (is that possible at all?).

View 2 Replies View Related

Apache :: Reverse Proxy Giving 404 Error

Mar 21, 2014

I need to get working an apache2 in suse 11 as reverse proxy with a vendor's web page and it is not working. This is what happens:

1. I load the page through the reverse proxy and i can see: http://192.168.1.10/cgi-bin/design/html_template/login.html

2. Then i write user and password

3. I press the login button and i should see:

http://192.168.1.10/cgi-bin/design/html_template/login.cgi
http://192.168.1.10/cgi-bin/design/html_template/webviewer.cgi

but instead of that i see:

404 Not Found
The requested URL /error/HTTP_BAD_GATEWAY.html.var was not found on this server.

View 5 Replies View Related

Apache :: Proxy Pass / Proxy Pass Reverse

Jun 10, 2013

I'm using the isapi rewrite module for iis 6 which uses the exact same syntax as mod_rewrite in apache. I'm not very well versed in apache and need getting this to work asap. Basically I have a directory in our website: URL....

I need to forward this to an IP address, for example to this address:100.12.33.45/folder.While keeping the original URL (www.xyz.edu/folder). I'm unsure of the apache syntax for this.

View 3 Replies View Related

Apache :: Rewriting URL From HTTP To HTTPS With Reverse Proxy

Mar 10, 2015

I am using an apache reverse proxy :

httpd -version
Server version: Apache/2.2.15 (Unix)
Server built: Oct 16 2014 14:48:21

In front of an internet liferay server, I m forcing https connexion and my reverse proxy is the SSL endpoint, and it is working fine.

But inside the liferay page there are "http" link to other webserver, and browser are refusing to load them because they are http and not https.

Is there a way in the reverse proxy to rewrite "on the fly" "http" link to "https" so that everything would be load on the browser ?

I was thinking mod_proxy_html but it doesn't seams to do what I want.

View 2 Replies View Related

Apache :: Remote User Reverse Proxy And Authentication

Dec 17, 2013

I have several applications that use authentication and expect REMOTE_USER to be set by Apache for authentication/authorization.

I am putting a reverse proxy, with shibboleth in front of these applications, on a separate server.

Currently, REMOTE_USER is not sent. I have tried a few things, and I am currently sending it inside another header, but I have some applications that are closed sources and this will not work.

Is this possible to do? I am running this with Apache 2.4.7, I believe, on the Windows platform.

View 2 Replies View Related

Apache :: Reverse Proxy - Multimedia File Not Displaying?

May 6, 2014

I am trying to do reverse proxy for several web servers in my network.I have successfully configure the reverse proxy.However , when website with multimedia webpages are requested , the multimedia content is not displaying. What is is that I am missing in my config file.

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
#DocumentRoot /www/docs/dummy-host.example.com
ServerName dummy-host.example.com

[Code].....

View 15 Replies View Related

Apache :: Reverse Proxy To IIS - Passing X509 Certificate

May 25, 2011

I have an Apache reverse proxy set up. I have an IIS server on the backend with a site which must be HTTPS and must require client certificates (x509). It seems like the proxy is working great, but the client certificate is not getting passed along the HTTPS request from proxy to IIS. We keep getting 403.7 (Client certificate required) errors. How I can bridge the client certificate from Apache reverse proxy to IIS?

Our Apache proxy is not set up to require client certs, the IIS website is. What I would expect is that when we make a web request that goes through the proxy to the IIS server, that we would get challenged for a client cert for the IIS website (its set to require client certs like it always has) and that client cert information would be passed along the HTTPS request. We have to be able to programatically access the x509 cert through code on the IIS website, thats why we need to have the cert passed along.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved