All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nestor A. Diaz" <nestor@tiendalinux.com>
To: netfilter@vger.kernel.org
Subject: Machine in the middle
Date: Wed, 21 Aug 2013 12:11:06 -0500	[thread overview]
Message-ID: <5214F4AA.4010409@tiendalinux.com> (raw)

Hi,

According to your experience what would be the best strategy to
intercept traffic from one machine to another and process some (not all)
request in a transparent way.

I explain, i have two machines:

192.168.1.1/24 <-> 192.168.1.2/24

All I want to do is to intercept traffic from a specific port(s), i.e.
4000/tcp and process it in a 'machine in the middle'.

192.168.1.1/24 <-> machine-in-the-middle <-> 192.168.1.2/24

The idea is that when 192.168.1.1 connects to 192.168.1.2:4000 then the
machine in the middle will answer those requests, but the remaining
traffic from 192.168.1.1 to 192.168.1.2 keep forwarding as is, and the
same for the opposite direction.

Thanks.

-- 
Nestor.Diaz.


             reply	other threads:[~2013-08-21 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 17:11 Nestor A. Diaz [this message]
     [not found] ` <CAHUGJcG9=wBzy256c2Rk1NMi8TSWp_DCUrqLoA5Tvo+3QgHYMA@mail.gmail.com>
2013-08-21 19:24   ` Machine in the middle Nestor A. Diaz
2013-08-24  9:43 ` Pascal Hambourg

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=5214F4AA.4010409@tiendalinux.com \
    --to=nestor@tiendalinux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.