Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Marco Schuth" <marco@it-schuth.net>
To: netfilter@vger.kernel.org
Subject: transparent proxy
Date: Wed, 10 Mar 2010 00:44:14 +0100	[thread overview]
Message-ID: <21B7BA85E0A248919216BC6546842EFB@sence> (raw)


Hello,

Iam using iptables on my router, and have a dedicated proxy server with 
squid sarg and squidguard running.

all the clients send the request for a website to the default gw (router 
10.12.0.1) the router redirects (dnat)
the package to the proxy server ip:10.12.0.250
but in the logs i get the ip from the router.

so squid guard doesent work and the squid analytic didn´t work because it 
shows only the ip from the gw (router) with all requestet pages.

how can i change this, that i get in the logs the original ip of the clients 
?

-----------------------
maybe: snat with the original ip, but how? and make a second entry in the 
proxy to send all packets back to the proxy ?

no idea.

thanks 4 you help!!! 


             reply	other threads:[~2010-03-09 23:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-09 23:44 Marco Schuth [this message]
2010-03-10  0:23 ` transparent proxy Amos Jeffries
2010-03-13  8:21   ` Mart Frauenlob
2010-03-13 10:05     ` /dev/rob0
2010-03-13 12:08       ` Mart Frauenlob
2010-03-13 12:11         ` Mart Frauenlob
2010-03-13 16:41         ` /dev/rob0
2010-03-13 21:58           ` Mart Frauenlob
  -- strict thread matches above, loose matches on Subject: below --
2004-03-17 12:33 Fredrik Emil Jensen
2004-03-17 14:21 ` David Cannings
2004-03-15  9:19 Fredrik Emil Jensen
2004-03-16  1:57 ` Alexander Samad
2004-03-16  8:44 ` Antony Stone
2004-02-27 19:19 Guillermo Chui Lau
2004-02-27  8:48 Tomasz Macioszek
2004-02-27  9:18 ` Jeroen Vriesman
2004-02-27  9:27   ` Antony Stone
2004-02-27 10:25     ` Jeroen Vriesman
2004-02-27 11:50 ` John A. Sullivan III
2004-02-27 17:00 ` Daniel F. Chief Security Engineer -
2003-09-10 21:19 Transparent Proxy Kilson Arruda
2002-11-25 13:04 Cyril COUPEL

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=21B7BA85E0A248919216BC6546842EFB@sence \
    --to=marco@it-schuth.net \
    --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