Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Aaron Lewis <the.warl0ck.1989@gmail.com>
To: netfilter mailing list <netfilter@vger.kernel.org>
Subject: Mirroring traffic with iptables TEE target
Date: Sun, 30 Dec 2012 17:10:48 +0800	[thread overview]
Message-ID: <20121230091048.GA4575@devnull.qunarservers.com> (raw)

Hi,

I tried to mirror TCP traffic with mangle chain, 

that all packets sent to 192.168.56.2 would be copied to 192.168.56.1,

# On 192.168.56.2 I executed,
iptables -A PREROUTING -p tcp --dport 80 -j TEE --gateway 192.168.56.1

But on 192.168.56.1 no traffic to port 80 was seen

Anything wrong?

-- 
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E

             reply	other threads:[~2012-12-30  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30  9:10 Aaron Lewis [this message]
2012-12-30 11:25 ` Mirroring traffic with iptables TEE target Jan Engelhardt
     [not found]   ` <CAJZVxRnvbPQfXJRQOLx8tjjP8ee8D6F8Mt=4U8GFBdN_iKCbjA@mail.gmail.com>
2012-12-30 12:19     ` Jan Engelhardt
2012-12-30 12:54       ` Aaron Lewis
2012-12-30 13:18         ` Jan Engelhardt
2012-12-30 23:28 ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121230091048.GA4575@devnull.qunarservers.com \
    --to=the.warl0ck.1989@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox