Re: [squid-users] Squid with DMz/Dnat

From: Noc Phibee <noc@dont-contact.us>
Date: Fri, 17 Jun 2005 10:23:32 +0200

kdv a écrit :

> Noc Phibee wrote:
>
>> Hi
>>
>> i have a small problems with my config :
>>
>> i have on my Squidbox 3 Ethernet :
>> Eth0 => Internet with a public address (213.41.42.131)
>> Eth1 => My DMZ in 192.168.1.0/24
>> Eth2 => My Lan in 192.168.2.0/24
>>
>> i use shorewall for said a DNAT :
>> 213.41.42.132 => 192.168.1.10
>> and on my squidbox, i have now eth0(213.41.42.131) and eth0:1
>> (213.41.42.132)
>>
>> on 192.168.1.10, i have a webmail and a DNS entry webmail.phibee.fr
>> for the ip 213.41.42.132 ..
>> On Internet when i put http://webmail.phibee.fr, It's Ok that's work
>> On the Lan with proxy, when i put http://192.168.1.10, it's Ok
>> that's Work
>> but
>> On the lan with proxy, when i put http://webmail.phibee.fr that's
>> don't work
>> because i thinks that the local iptable don't forward to
>> 192.168.1.10 ...
>>
>> Can i put into my squid.conf a instruction for said webmail.phibee.fr
>> = 192.168.1.10
>> and not 213.41.42.132 ?
>>
>> Thanks for your help
>>
> Put the line
> 192.168.1.10 webmail.phibee.fr
> to your "hosts" file on the machine running squid.

No change ;=) i am not sure that my linuxbox use the hosts file in etc ;=)
Received on Fri Jun 17 2005 - 02:26:03 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT