From: Mattia Martinello <liste@mattiamartinello.com>
To: Netfilter ML <netfilter@lists.netfilter.org>
Subject: Transparent gateway
Date: Thu, 18 Nov 2004 11:56:34 +0100 [thread overview]
Message-ID: <419C7FE2.8060002@mattiamartinello.com> (raw)
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.
next reply other threads:[~2004-11-18 10:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-18 10:56 Mattia Martinello [this message]
2004-11-18 13:41 ` Transparent gateway Jason Opperisano
2004-11-18 13:56 ` Mattia Martinello
2004-11-18 14:17 ` Jason Opperisano
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=419C7FE2.8060002@mattiamartinello.com \
--to=liste@mattiamartinello.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 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.