LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2008, 03:44 PM   #1
Tareq85
LQ Newbie
 
Registered: Mar 2008
Posts: 20

Rep: Reputation: 0
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 ?
 
Old 05-28-2008, 03:47 PM   #2
Tareq85
LQ Newbie
 
Registered: Mar 2008
Posts: 20

Original Poster
Rep: Reputation: 0
just to be accurate i dont want to mention an ip out there just an interface name only !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting all port 80 traffic to SSL s0n|k Linux - Software 1 10-29-2007 11:44 AM
dout in iptable redirecting http traffic? Santoshkb Linux - Networking 7 09-17-2007 01:28 PM
Redirecting traffic to eth0/eth1 kar_the_terrible Linux - Networking 2 11-08-2006 08:26 AM
Iptables - Redirecting Outgoing Traffic Frankablu Linux - Networking 1 06-12-2005 01:18 PM
redirecting vpn traffic brb5548 Linux - Networking 1 07-01-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration