Solved

Blocking Access to the Net through Squid

Posted on 2004-10-09
9
199 Views
Last Modified: 2013-12-15
I have installed squid and dhcpd in my linux box 8.0 its working fine, now I am interested to block some user to block internet access, I know there is some authintication tool for squid proxy, pls help.
0
Comment
Question by:ranadastidar
  • 3
  • 2
  • 2
9 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 12266871
I wouldn't bother - I'd just set up an ACL on the router to the Internet and not let any port 80 traffic out except from the Squid server. That way people HAVE to go thru Squid to gte to the Internet.
0
 
LVL 5

Author Comment

by:ranadastidar
ID: 12305972
But I don't have any router, anyone idea about ncsa configuration?
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12311538
How do you reach the Internet if you don't have a router?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 5

Author Comment

by:ranadastidar
ID: 12316802
Actually I am using DSL connection and use my isp's DNS server as well as router.
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 100 total points
ID: 12319599
Your DSL connection is a router. Just because it doesn't say "router" on the case doesn't mean its not a router.

Unfortunately, its not a router you probably have control over. And that's what you're trying to get here, isn't it? Control over the connection and how its used.

If your DSL provider cannot give the level of control you want to you, then you needs to:

a) Find a new DSL provider who CAN give you the level of control you want

OR

b) Add the necessary network infrastructure needed to give you the control you want.
0
 
LVL 7

Expert Comment

by:wesbird
ID: 12629974
Possible way of doing PsiCop's b is to add a second NIC to the linux box and only connecter the router to the Linux box, so that everybody has to use the Linux box as a proxy server.

Then you will probably want to also investigate something like squidGuard which allows you to implement blacklisting of millions of sites: http://www.squidguard.org/

It's not so important to authenticate if you can simply stop people going to the sites you don't want them at.




0
 
LVL 7

Expert Comment

by:wesbird
ID: 12630258
PS, what type of DSL router do you have?

Sometimes you can achieve some level of configuration by pointing your web browser at the default gateway address.  You'll almost certainly have to use the command line interface to do anything sophisticated though.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question