LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IPTABLES port Forward (https://www.linuxquestions.org/questions/linux-networking-3/iptables-port-forward-388535/)

abhijeetudas 12-02-2005 02:57 AM

IPTABLES port Forward
 
All,


Im using FC3.
I want to forward port 80 on eth0 { 10.0.0.2 }

to 8080 on LoopBack interface { 127.0.0.1 }

so web traffic can be redirected.

How can i do this ..

I tried the foll but doenst work
This doesnt work ..
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 127.0.0.1:8009

any clue ?

imitheos 12-02-2005 04:00 AM

Read this.
http://iptables-tutorial.frozentux.n...tml/x4508.html

Actually, read all the guide cause it has very useful information.


All times are GMT -5. The time now is 06:28 PM.