[95944] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: best way to redirect ports?

daemon@ATHENA.MIT.EDU (Chris J. Manders)
Thu Oct 22 11:54:19 1998

Date: Thu, 22 Oct 1998 08:44:43 -0700 (PDT)
From: "Chris J. Manders" <cmanders@mh1.lbl.gov>
Reply-To: "Chris J. Manders" <cmanders@mh1.lbl.gov>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com

Hi,

If you are using ipfwadm then look at the options as there are plenty to do forwarding. 
Then, of course, you need to modify your httpd.conf on the same machine as the firewall to 
act as a proxy (or actually do the redirection). This is covered fairly well at 
www.apache.org in their manual on this.

Cheers!


--Chris

> 
> I'm setting up a firewall on a linux box.  What we would like to do is
> forward all port 80 requests to a differe machine on the internal network. 
> What is the best way to do this?  I have loked at the 'redir' program, but
> I need for the real web server (which has a 192.168.x.x ip address) to be
> able to log the actual ip address of the connection, not the ip address of
> the firewall.  Is there anything that does this?  I have read that the
> 'redir' program does not do this properly. 
> 
> thanks for any sugestions.
> 
> --------------------------------------------------------------------
> Randy Carpenter - UNIX Systems Admin             First Network Group
> rcarpen@celt.network1.net                        Wapakoneta, OH
> --------------------------------------------------------------------
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.
> 


----------------------------------
Chris Manders
UNIX Systems Administration Group
CJManders@lbl.gov
----------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post