Re: [squid-users] Squid and local names

From: Fred Richards <Toril@dont-contact.us>
Date: Sat, 08 Jun 2002 17:21:50 -0400

Ok, I feel like a goof. I put in a firewall rule to forward all port 80
requests to 3128. I just put a new rule in (right before it) to tell it
to accept connections on port 80, that are destined for the local ip
address. So, if I put "NIN" in my adress bar, or any urls associated
with it, they stay local... everything else goes through the cache.
Perfect... sorry to bug you folks. I am really impressed with Squid.
Now, only if I can get some peer caches going ... hmmm...
                                        
                                                -- Fred

Fred Richards wrote:
> Hello,
>
> I recently setup squid for my local network. I have had netfilter
> running on the box previously, and I am using it to redirect port 80
> requests to 3128, for squid. This is working great... with only one
> drawback. I could usually refer to the machine (locally) as NIN, which
> is in the /etc/hosts file, and I put it in the squid.conf file...
>
> hostname_aliases NIN
>
> Yet when I go to a website (and call it locally) I get a "The requested
> URL could not be retrieved" error. So I guess my question is... how do
> I tell squid that NIN = 172.16.0.1 = a local host ???
>
> -- Fred
>
>
Received on Sat Jun 08 2002 - 15:21:41 MDT

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