Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Philippe <netfilter@rootsucks.com>
To: netfilter@lists.netfilter.org
Subject: Transparent proxying to all hosts/all ports
Date: Tue, 24 Jul 2007 23:40:44 +0200	[thread overview]
Message-ID: <46A671DC.9030004@rootsucks.com> (raw)

Hi ! (Please be kind with my poor English...)


Main goal: having ALL connections using Linux TCP/IP stack.


Is there a way to run a fully transparent UDP/TCP proxy on a Linux
gateway instead of "just" forwarding packets with Netfilter ?

What I would like to achieve is to intercept all outgoing connections
from hosts in the LAN and force Linux to act as a transparent proxy,
being the only one "talking" on Internet.

TPROXY (maybe REDIRECT ?) seems to be the right Target for the
interception part because SRC/DST host:port are not altered but, correct
me if I am wrong, it does only allow to forward packets to one host.

Is there a tool that could inspect incoming packets and, using the
Dst addr/Dst port, connect to the right remote host and tranfer only
application data ? (HTTP, SMTP, DNS, NTP, etc.)

Thanks !

Philippe













                 reply	other threads:[~2007-07-24 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46A671DC.9030004@rootsucks.com \
    --to=netfilter@rootsucks.com \
    --cc=netfilter@lists.netfilter.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