Transparent Proxying and src ip adress ?

From: Christoph Adomeit <ado@dont-contact.us>
Date: Tue, 8 Jun 1999 18:21:08 +0200 (CEST)

Hi there,

I configured my Linux 2.2.x Gateway with ipchains to do
a)masquerading (intended for protocols different from http) and
b)transparent proxying on port 80

This works good, any request to port 80 in the outside
world is redirected to the local squid.

Unfortunately squid now only sees the src-ip adress of the
linux-router itself as user-ip after transparent redirection.
So I cannot use acl's based on the src-ip anymore.
This can either be a problem that masquerading takes place
before port-redirection in the kernel. The other possibility
is, that maybe with port redirection the src-ip is always
changed. Any ideas ?

Is there a solution for this problem ?

Thanks
  Christoph
Received on Tue Jun 08 1999 - 10:15:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:48 MST