Mailing List Archive

DNS Proxy ?
Hello,

excuses my very bad English

I have the following problem.

I have two networks who connectet via a freeswan ipsec tunnel.
see my litle ascii picture



WebServer
| 192.168.2.x
|--+----------+------------------|
|
DNS Server/Router
192.168.1.0 |
|------------------------+---------+--------------------------|
|
IPSEC Server
|
|
Internet
|
|
IpSec Client PC
| 20.20.20.x
|----+---------+---------+---------+------------------+---------------------
---|
| | | |
client1 client2 client3 client4

The ipsec client pc has one nic in the client network with the physical ip
20.20.20.20.
If a client connects to the webserver on the other side, it will use the
IpSec Client as a gateway.
The Ipsec Client masquerades the client ip to 10.1.10.x. The networks
192.168.1 and 192.168.2 are also `nated` by the ipsec client. For a client
the network 192.168.1.x looks like 172.123.1.x. Now my problem. If the
client make a DNS lookup on the DNS Server it will become the "real ip" from
the Webserver (192.168.2.x) and not 172.123.2.x.
Is it possible to change this DNS querry ???

Please Help

Lars