From: "Rob Sterenborg" Subject: RE: iptables: hide the real web server from users Date: Wed, 14 Feb 2007 15:40:36 +0100 Message-ID: <001401c75046$173e7350$0b0ffe0a@NS006819> References: <354862.54159.qm@web33304.mail.mud.yahoo.com> <9255886c0702140508m53568059k728056f9fe10c8b8@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9255886c0702140508m53568059k728056f9fe10c8b8@mail.gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org netfilter-bounces@lists.netfilter.org wrote: > I don't think iptables is your best option for that. > Try mod_security, mod_rewrite or apache proxy . Or Squid. Grts, Rob > On 2/14/07, Tim Perton wrote: >> Dear friends, >> I have a web server running on system B. I run my main >> services to System B but I do not want my users to >> talk to system B directly. >> So I have another server (System A) in a differrent >> ISP & a completely different C class IP address like below: >> >> ----------------------------- >> --- System A (IP=a.b.c.d) --- >> ----------------------------- >> >> ----------------------------- >> --- System B (IP=e.f.g.h) --- >> ----------------------------- >> >> System A runs iptables(redhat EL4). >> >> I want my users to do a request like >> http://a.b.c.d/1.php and then machine A to make the >> same request to System B, get the results and send >> them back to the user transparently. >> Practically System A to act as an intermediatery to the real machine >> (System B). >> >> Any idea on how to do this? >> >> Regards, >> Tim Perton