Seems like it ought to work, but it doesn't. Maybe I should turn iptables logging on ... Any simple way of doing this? Bear with me, I'm real new to iptables, I haven't taken the time to learn it yet. 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. --> -----Original Message----- --> From: Alexis [mailto:alexis@attla.net.ar] --> Sent: Tuesday, February 17, 2004 2:10 PM --> To: Netfilter --> Cc: Martinez, Michael --> Subject: Re: Instructions on how to redirect port 80 to port 8080 --> --> --> 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 --> -->