Feature #15374
openUse of cachemgr.cgi within secure lightsquid access
0%
Description
Hello fellow pfSense redline members,
Can we please add Squid's cachemgr.cgi to the lightsquid package.
Please see attached. I found this while researching http://www.squid-cache.org/Doc/config/mime_table/ and I noticed there is icons for a guy I have not seen yet.
http://www.squid-cache.org/Doc/config/mime_table/ (icons are still not seen in cache manager)
http://www.squid-cache.org/Doc/config/cachemgr_passwd/
It can't be accessed unless you log in, it has an easy ability to run reports.
https://forum.netgate.com/topic/187107/how-to-guide-for-accessing-squid-s-cachemgr-cgi-over-https
Squid Proxy comes pre packaged with its own cache manger.
Here is how you can access it over https.
After some research, thank you to @bnangle
One inside of pfSense go to command line and create a linker file and place it inside of
/usr/local/www/lightsquid/
command
ln -s /usr/local/libexec/squid/cachemgr.cgi /usr/local/www/lightsquid/cachemgr.cgi
Setup some default acls set a password or not
acl localhost src 127.0.0.1/255.255.255.255 to acl localhost src 10.0.0.1/255.255.255.255
cachemgr_passwd disable offline_toggle reconfigure shutdown
cachemgr_passwd none all
access the cachemgr from pfsense under light squid
https://192.168.1.1:7445/cachemgr.cgi
when inside of pfsense click the lightsiquid and adapt the url to access the cache manger.
Has anyone seen this before??
Files
Updated by Jonathan Lee 9 months ago
Of course you can't access it with a GUI login session to light squid, is this something anyone wants to research at all?
Main goal a button light squid to access this without url adaption.