From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexis Subject: Re: Instructions on how to redirect port 80 to port 8080 Date: Tue, 17 Feb 2004 16:10:02 -0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1077045002.2397.54.camel@pepelui.baicom> References: <9908FCB837A50642B74E2BEC198843095CC64A@csrees-exchsrvb.csrees.usda.gov> <1077044692.2402.51.camel@pepelui.baicom> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1077044692.2402.51.camel@pepelui.baicom> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Netfilter Cc: MMARTINEZ@CSREES.USDA.GOV sorry, my mistake this line is wrong change mangle for nat iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to x.x.x.x:8080 On Tue, 2004-02-17 at 16:04, Alexis wrote: > iptables -t mangle -A PREROUTING -p tcp --dport 80 -j DNAT --to > x.x.x.x:8080 > > could be a start :) > > > > On Tue, 2004-02-17 at 15:55, Martinez, Michael wrote: > > Guys - > > > > I'm finding a lack of documentation describing how to do this. It ought > > to be simple. I know how to do it with ipchains. > > > > On a redhat linux system using /etc/sysconfig/iptables, what line(s) do > > I add to /etc/sysconfig/iptables to configure to redirect all inbound > > port 80 traffic to port 8080 on the same host? > > > > Thank you - > > > > Regards, > > > > Michael Martinez > > ISTM/CSREES > > United States Department of Agriculture > > --- > > This email is signed with my digital signature so that you may verify > > the authenticity of the sender. -- Alexis