Hi Henrik,
Thank you for your reply. I acchieve it like :
ComputerA-----squid proxy 1---- squid proxy 2 ----- Internet
(use Ncsa_Auth) (user:test)
only modify the squid.conf with:
cache_peer proxy2.domain parent 3128 3130 login=test:passwd-of-test
The authentication is in one level. But it's not necessary to set
never_direct and always_direct.
> Hai Xu wrote:
>
> > Can I add another squid proxy server between squid proxy 1 and Internet?
> > Just like:
> >
> > computerA----squid proxy 1---- squid proxy 2----Internet
> > (use ncsa_auth) (use ncsa_auth)
>
> Yes, or almost.
>
> cache_peer proxy1.your.domain parent 3128 3130 no-query
> never_direct allow all
> always_direct allow local_servers
>
> Only problem is that Suqid currently can only do authentication in one
> level. To get around this you have two options:
> a) Don't run authentication on proxy 1.
> b) Use the login= cache_peer option to specify a hardwired login proxy1
> authenticates itself as to proxy2.
>
> --
> Henrik Nordstrom
> Squid hacker
>
--
Hai Xu, CCNA, HAM:BG6DJ
Network Center, Univ. of Sci. & Tech. of China
Hefei, Anhui 230026
P.R. China
Tel: +86-551-360-3400
Received on Sun Jan 16 2000 - 18:06:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:26 MST