New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to configure Squid with Web Based authentication?
debianLover
Member
Hi guys,
usually when you enable authentication in squid (in standard proxy and not transparent proxy) after they try to surf the net , a login box will pop up from the browser so that they can authenticate themselves.
So do you have any idea on how to configure squid so that users who try to browse , get redirected to a custom web page and after they logged in they only can surf the Internet?
Comments
Try this :
I like this
http://www.ex-parrot.com/pete/upside-down-ternet.html
Erawan that does not do what the OP wants.
He/she wants a custom webpage where to insert credentials.
M
Ah.. sorry. There is an option in ClearOS, Webproxy, it did just like what you want
@debianLover Research "Captive Portal" and redirect_program in the Squid configuration.
Use this to get started.. http://wiki.squid-cache.org/ConfigExamples#Captive_Portal_features
howtoforge.com/anonymous-proxy-using-squid-3-centos-5.x
Worked well for me, if on x64 you need to change /usr/lib to /usr/lib64
Pops up a prompt asking for uname/pass
I appreciate all your suggestions. I will try all of them to see which one is the best for my case. Then I let you know the result.
Guys still no luck
@Maounique yeah exactly that's what I need.
@ErawanArifNugroho I have to implement this on CentOS 6 32bits .
@connercg What I asked for was a custom web based login for squid and not the browser pop up authentication.
@AsadHaider That keyword was very helpful. Thanks. Still I am searching.