LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-07-2004, 11:26 PM   #1
acompw
LQ Newbie
 
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Rep: Reputation: 0
Squid Access Control


I would like to restrict my squid server to only take requests from 1 ip. I want it to block all other addresses from using the server. Is this possible, and if so, how can I do this?

thanks,
Ben
 
Old 08-08-2004, 01:19 AM   #2
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
okay, in the section that has the acls add:

acl allowed_computer src 192.168.0.32/255.255.255.0 # use own ip here

Then find the area that says:

http_access deny all

make sure it is uncommented and change it to:

http_access deny all !allowed_computer.

That should work.
 
Old 09-02-2004, 07:42 PM   #3
acompw
LQ Newbie
 
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Original Poster
Rep: Reputation: 0
thanks -- I eventually figured it out though
 
  


Reply


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
Day Specific Access control for Squid Bobbychat Linux - Networking 2 04-04-2011 10:58 AM
Squid Access Control Lists Basics Palula Linux - Software 1 11-22-2005 05:29 PM
squid traffic control tarak4u Linux - Networking 0 03-17-2004 02:52 AM
squid control hquinlan Linux - Newbie 0 12-12-2002 07:29 AM
Squid Access Control aaronsols Linux - Networking 1 09-30-2002 05:36 PM


All times are GMT -5. The time now is 03:38 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