RE: redirect port 80 to another port > 1024 on same machine

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

 



iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
-----Original Message-----
From: netfilter-admin@xxxxxxxxxxxxxxxxxxx [mailto:netfilter-admin@xxxxxxxxxxxxxxxxxxx]On Behalf Of david brant
Sent: Tuesday, 19 August 2003 8:08 AM
To: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: redirect port 80 to another port > 1024 on same machine

I need to forward tcp port 80 to tcp port 8080 on the same box.  The machine does not function as a NAT box and has only a single interface.  Has anyone come across a rule that might help me out? 


[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