All of lore.kernel.org
 help / color / mirror / Atom feed
* Transparent gateway
@ 2004-11-18 10:56 Mattia Martinello
  2004-11-18 13:41 ` Jason Opperisano
  0 siblings, 1 reply; 4+ messages in thread
From: Mattia Martinello @ 2004-11-18 10:56 UTC (permalink / raw)
  To: Netfilter ML

Hi,

I'm using a netfilter gateway between my LAN and the server on the DMZ.
This gateway makes a DNAT from 192.168.1.* to the external IP of the 
server on the DMZ.
Then, if I call http://[my external IP], the gateway makes a DNAT to 
http://192.168.20.x (the internal DMZ IP of the server), through the 
192.168.20.254 interface.

The problem is that when I call Apache on the server, Apache thinks that 
I am 192.168.20.254, not 192.168.1.x.
So, in the access logs the connection is made from the DMZ interface of 
the gateway and not from the real IP address of the client.
This make me some real problems about client autentication.

How I can I get my gateway transparent and solve this problem to let 
Apache to write the correct IP address of the client in the logs?

Thank you very much
Bye
Mattia.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-18 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 10:56 Transparent gateway Mattia Martinello
2004-11-18 13:41 ` Jason Opperisano
2004-11-18 13:56   ` Mattia Martinello
2004-11-18 14:17     ` Jason Opperisano

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.