Re: Instructions on how to redirect port 80 to port 8080

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <alexis@xxxxxxxxxxxx>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux