[squid-users] configuration issue

From: Armin Fuerst <armin@dont-contact.us>
Date: Thu, 20 Jun 2002 21:51:31 +0200 (W. Europe Daylight Time)

hi!

i have a configuration at a small company and i didn't get it running
perfectly. i think the solution would be to configure squid to use the
/etc/hosts file with higher priority than a dns process or to have a
configuration setting to assign specific ip-addresses to names (that are
different than the dns-entries). i've installed squid 2.4 STABLE 4
is there any way to do it?

since there might be a different solution, i'll explain the situation in
more detail:

the company has a very litte ip address space (/30) => there is one
ip-address for the router and another for the internet gateway - no more
addresses are available. the internet gateway is a zywall that does nat.
it is connected to a linux server with 2 network cards. one card is in a
reserved address space with the zywall (10.1.1.0/30), zywall has 10.1.1.1
and linux has 10.1.1.2 and the second nic goes into the lan. zywall
forwards basically 2 ports (25 and 80) to 10.1.1.2 (there is a more
detailed configuration for specific hosts). smtp and web-traffic are
working properly from outside. linux doesn't do any masquerading/nat and
the only way to the internet for the lan is through squid. accessing any
web-page outside works also properly. the problem starts when looking at
the local web-pages. the dns resolves to the official ip-addresses and
this doesn't work. as a workaround i created a dummy interface on linux
with the official ip-address/32 (that is also in use by zywall). this is
basically working - the only problem is, that one virtual host using
authentication and this page takes very long to load for the first time
from inside (not from outside). additionally, i see this only as a
workaround and not a final solution.

tnx, armin fuerst
Received on Thu Jun 20 2002 - 13:49:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:44 MST