Koozali.org: home of the SME Server

How to redirect HTTP traffic (reverse proxy)

Hugo

How to redirect HTTP traffic (reverse proxy)
« on: September 08, 2001, 03:58:26 AM »
Hello there,

Well, i've spent a lot of time on unsuccessful searches and searches (since i'm a linux newbie) on how to redirect HTTP traffic through my e-smith box.

The issue is:

- E-Smith (A) is now my default web server, gateway  and firewall, which i have my domain name assigned to a public address. (aaa.bbb.ccc.ddd)

- I have also an Internal web server, located on my LAN  (B) which i would like to be transparently referenced by my external web server (A). That is, any HTTP request to A should be served by B without the external user being aware of this
 

             (Internet)              |            ( My LAN  )

                           aaa.bbb.ccc.ddd                  192.168.1.1
client <------------------------->  A  <--------------------------- > B

                           (e-smith Web Server)           (Internal Web Server)


Is that possible? I've heard about the concept on reverse proxying that should do that, also a few lines on ipchains redirecting commands but have not been able to find any practical solution to solve this.

Any suggestion? Please answer...

Step by step please =)... thanx a lot

Des Dougan

Re: How to redirect HTTP traffic (reverse proxy)
« Reply #1 on: September 08, 2001, 06:30:30 AM »
If you search on the (I think) devinfo forum archive for "ProxyPass", there is a thread from several months ago on this subject. You should also look at http://www.linuxfocus.org/English/March2000/article147.shtml, which explains the concepts well.


Des Dougan

Hugo

Re: How to redirect HTTP traffic (reverse proxy)
« Reply #2 on: September 09, 2001, 01:32:32 PM »
Thanks a lot pal... That's exactly what is was looking for.

Regards,

Hugo