squidclient -p 3128 -h squid_ip_address mgr:[email protected]

get the squid manager infomation from it.

we should enable the client access cache manager

edit /etc/squid/{squid.conf, cachemgr.conf}

add your ip address to access. default manager can only access by localhost.

use a different port for cache manager

http_port 80 defaultsite=want_to_access_ip_address/hostname :80

http_port 8001 # this is for cache manager