Networking Forums

Networking Forums > Computer Networking > Linux Networking > duplicate outgoing packet using iptables

Reply
Thread Tools Display Modes

duplicate outgoing packet using iptables

 
 
delsio@gmail.com
Guest
Posts: n/a

 
      07-13-2008, 11:34 AM
I need to duplicate outgoing dns packets to another gateway?


eth1

|

|
/
\
/
\
/
\
/
\
wan1
wan2
/
\
/
\
/
\

if dns reply goes to wan1 duplicate and route also to wan2
How do I do that using iptables v1.3.5 ?
 
Reply With Quote
 
 
 
 
krishkar99@gmail.com
Guest
Posts: n/a

 
      07-15-2008, 06:26 AM
On Jul 13, 4:34 pm, "del...@gmail.com" <del...@gmail.com> wrote:
> I need to duplicate outgoing dns packets to another gateway?
>
> eth1
>
> |
>
> |
> /
> \
> /
> \
> /
> \
> /
> \
> wan1
> wan2
> /
> \
> /
> \
> /
> \
>
> if dns reply goes to wan1 duplicate and route also to wan2
> How do I do that using iptables v1.3.5 ?


Can you give more description of what you want to do ? First of all
how many interfaces your device has and onto which(like wan1 or
wan2) ?
Also you want to redirect or you want to use --continue using
iptables so that packet mangling does not drop packet at wan1 itself?

--Krish
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables: redirecting an outgoing connection to another machine bl8n8r Linux Networking 1 06-12-2007 02:23 AM
block outgoing packets with iptables Peter Lowrie Linux Networking 2 05-05-2006 03:31 AM
IPTABLES: bloc outgoing traffic individually possible? john Linux Networking 1 02-23-2004 12:43 PM
Iptables - Redirecting packet to different IP Bartosz Wegrzyn Linux Networking 2 01-14-2004 02:07 AM
Duplicate a packet with iptables Florent Carli Linux Networking 0 08-06-2003 02:12 PM



1 2 3 4 5 6 7 8 9 10 11