LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-11-2006, 07:57 PM   #1
nadeemtilasma
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Squid with port manager


Can we use the squid for authorizing the ports based on user authentication.

By default squid only authorize http/ftp/https ports depending upon user login/passwd. Can you manange different ports based on user login authentication.

Thanks
Nadeem, San Jose
 
Old 09-12-2006, 07:58 AM   #2
bonowax
Member
 
Registered: Jul 2006
Location: Suburbs of Lisbon, Portugal
Distribution: Slackware, FreeBSD
Posts: 61

Rep: Reputation: 16
Hi there...

The answer is yes, you can... You'll have to define acl's for both the ports you want to authorize and users who will be allowed such ports and then combine them both on one 'http_access' line.

Cheers
 
Old 09-13-2006, 06:47 PM   #3
bonowax
Member
 
Registered: Jul 2006
Location: Suburbs of Lisbon, Portugal
Distribution: Slackware, FreeBSD
Posts: 61

Rep: Reputation: 16
Well...

What you want would require, at least, the creation of 3 ACL's. One would make it mandatory for a user to authenticate:

"acl password proxy_auth REQUIRED"

The other would define a group or class of users which will be allowed to access to some specific ports:

"acl good_guys proxy_auth username1 username2 etc"

The third will the set of ports you want to give access to:

"acl nice_port port 6666 7777 8888"

After that, you define an http_access line that will combine those 3 ACL's:

"http_access allow password good_guys nice_port"

This line means: "Allow access throught this proxy, to the ports specified in the nice_port ACL, to all the authenticated users who are part of the good_guys ACL".
Any other users, although authenticated, would not be allowed to connect to those example ports...

Hope that helps...

Cheers
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not connect to squid cache manager via webmin anymore lovswr Linux - Software 3 04-24-2012 02:44 AM
Squid - Cache Manager ScooterB Linux - Networking 23 06-03-2008 10:15 AM
debian iptables squid - redirect port 80 to port 8080 on another machine nickleus Linux - Networking 1 08-17-2006 01:59 AM
Squid Cache Manager Replacement Suggestions... kemplej Linux - Software 0 03-15-2004 12:30 PM
Can someone pls take a look at my Squid Cache Manager info and tell me whats wrong!!! debloxie Linux - Networking 1 02-05-2004 04:32 AM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration