LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   redirecting traffic (https://www.linuxquestions.org/questions/linux-networking-3/redirecting-traffic-645419/)

Tareq85 05-28-2008 03:44 PM

redirecting traffic
 
i want to redirect my http traffic to another interface, i need to know the iptables rule that allows me to do that,

#iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT ??

wut is the remaining info i should type there ?

Tareq85 05-28-2008 03:47 PM

just to be accurate i dont want to mention an ip out there just an interface name only !


All times are GMT -5. The time now is 09:54 PM.