Re: how to configure poxy cache server ?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 17 Jun 2009 13:23:03 +1200

On Mon, 15 Jun 2009 21:28:51 -0700 (PDT), aungmyotint <mmmtint_at_gmail.com>
wrote:
> i have these address ,gateway 172.24.0.3 and proxy ip address is
> ygncache.mptadsl.net.mm .my ISP gives DHCP ip address to us, so how can i
> confifure into the squid.conf . now i have configured like these
>
> http_port 192.168.11.1:9090
> cache_mem 512 MB
> cache_dir ufs /usr/local/squid/var/cache 10000 16 256
> acl mynetwork 192.168.1.0/24
> http_acces allow mynetwork
> cache_peer ygncache.mtpadsl.net.mm parent 8080 0 default-no query
> never_direct allow all
>
> but i cant access internet from my clients . so what configuration do i
> configure ? plz help me

I see two proxies involved:
  192.168.11.1:9090
and
 ygncache.mtpadsl.net.mm:8080

Which one is the DHCP assigned one?

On 192.168.11.1:9090, the _outgoing_ IP Squid uses is DHCP configured it
does not matter. Only the IP clients see to connect for proxy access. Which
is 192.168.11.1:9090.

On ygncache.mtpadsl.net.mm, the squid at 192.168.11.1:9090 will need to be
reconfigured. It looks up DNS address for the peer during configure. There
is currently no way to connect persistent peer links to a constantly
changing source.

Amos
Received on Wed Jun 17 2009 - 01:23:10 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 17 2009 - 12:00:05 MDT